Mercurial > repos > pjbriggs > ceas
annotate ceas_wrapper.xml @ 4:cd6a48ffd093 draft default tip
Uploaded version 1.0.2-4.
author | pjbriggs |
---|---|
date | Wed, 26 Sep 2018 08:03:10 -0400 |
parents | df54f8fcc7a7 |
children |
rev | line source |
---|---|
4 | 1 <tool id="ceas" name="CEAS" version="1.0.2-4"> |
0 | 2 <description>Annotate intervals and scores with genome features</description> |
3 <requirements> | |
3
df54f8fcc7a7
Version 1.0.2-3: move to conda-based dependency resolution.
pjbriggs
parents:
2
diff
changeset
|
4 <requirement type="package" version="1.0.2b1">cistrome-ceas</requirement> |
df54f8fcc7a7
Version 1.0.2-3: move to conda-based dependency resolution.
pjbriggs
parents:
2
diff
changeset
|
5 <requirement type="package" version="357">ucsc-fetchchromsizes</requirement> |
4 | 6 <requirement type="package" version="3.5.0">R</requirement> |
0 | 7 </requirements> |
8 <version_command>ceas --version 2>&1 | tail -1</version_command> | |
3
df54f8fcc7a7
Version 1.0.2-3: move to conda-based dependency resolution.
pjbriggs
parents:
2
diff
changeset
|
9 <command><![CDATA[ |
df54f8fcc7a7
Version 1.0.2-3: move to conda-based dependency resolution.
pjbriggs
parents:
2
diff
changeset
|
10 bash $__tool_directory__/ceas_wrapper.sh |
0 | 11 $bed_file ${gdb_file.fields.path} |
12 $log_output $pdf_report $xls_output | |
13 #if (str($wig_file) != 'None') | |
14 #if (str($wig_file.ext) == 'bigwig') | |
15 --bigwig $wig_file | |
16 --length $GALAXY_DATA_INDEX_DIR/shared/ucsc/chrom/${bed_file.dbkey}.len | |
17 #else | |
18 --wig $wig_file | |
19 #end if | |
20 #end if | |
21 #if (str($extra_bed_file) != 'None') | |
22 --ebed $extra_bed_file | |
23 #end if | |
24 #if (str($span) and int(str($span)) > 0) | |
25 --span $span | |
26 #end if | |
27 --sizes $sizes_lower,$sizes_middle,$sizes_upper | |
28 --bisizes $bisizes_lower,$bisizes_upper | |
29 --pf-res $profiling_resolution | |
3
df54f8fcc7a7
Version 1.0.2-3: move to conda-based dependency resolution.
pjbriggs
parents:
2
diff
changeset
|
30 --rel-dist $relative_distance |
df54f8fcc7a7
Version 1.0.2-3: move to conda-based dependency resolution.
pjbriggs
parents:
2
diff
changeset
|
31 ]]></command> |
0 | 32 <inputs> |
33 <param name="bed_file" type="data" format="bed" label="BED file with ChIP regions" /> | |
34 <param name="wig_file" type="data" format="wig,bigwig" label="WIG or BIGWIG file for wig profiling or genome background annotation" optional="true" | |
35 help="If not supplied then only perform ChIP region annotation and gene-centered annotation" /> | |
36 <param name="extra_bed_file" type="data" format="bed" label="BED file with extra regions of interest (e.g. non-coding regions)" optional="true" /> | |
37 <param name="gdb_file" type="select" label="Gene annotation table"> | |
38 <options from_data_table="ceas_annotations"> | |
39 </options> | |
40 <filter name="dbkey" type="data_meta" ref="bed_file" key="dbkey" column="1" /> | |
41 <validator type="no_options" message="No tables are available for the selected input"/> | |
42 </param> | |
43 <param name="span" type="integer" | |
44 label="Span from TSS and TTS in the gene-centered annotation (bp)" | |
45 help="ChIP regions within this range from TSS and TTS are considered when calculating the coverage rates of promoter and downstream by ChIP regions (--span)" value="3000" /> | |
46 <param name="sizes_lower" type="integer" | |
47 label="Lower interval for promoter/downstream sizes for ChIP region annotation (bp)" | |
48 value="1000" help=" (--sizes)" /> | |
49 <param name="sizes_middle" type="integer" | |
50 label="Middle interval for promoter/downstream sizes (bp)" value="2000" | |
51 help="Values > 10000bp are automatically fixed to 10000bp (--sizes)" /> | |
52 <param name="sizes_upper" type="integer" | |
53 label="Upper interval for promoter/downstream sizes (bp)" value="3000" | |
54 help="Values > 10000bp are automatically fixed to 10000bp (--sizes)" /> | |
55 <param name="bisizes_lower" type="integer" | |
56 label="Lower interval for bidirectional-promoter sizes for ChIP region annotation (bp)" value="2500" | |
57 help="(--bisizes)" /> | |
58 <param name="bisizes_upper" type="integer" | |
59 label="Upper interval for bidirectional-promoter sizes (bp)" value="5000" | |
60 help="Values > 20000bp are automatically fixed to 20000bp (--bisizes)" /> | |
61 <param name="profiling_resolution" type="integer" | |
62 label="Wig profiling resolution (bp)" value="50" | |
63 help="Warning: a number smaller than the wig interval (resolution) may cause aliasing error (--pf-res)" /> | |
64 <param name="relative_distance" type="integer" | |
65 label="Relative distance to TSS/TTS in wig profiling (bp)" value="3000" | |
66 help="(--rel-dist)" /> | |
67 </inputs> | |
68 <outputs> | |
69 <data name="log_output" format="txt" label="CEAS on ${on_string} (log output)" /> | |
70 <data name="pdf_report" format="pdf" label="CEAS on ${on_string} (PDF report)" /> | |
71 <data name="xls_output" format="interval" label="CEAS on ${on_string} (XLS output)" /> | |
72 </outputs> | |
73 <tests> | |
74 <test> | |
75 <!-- Test with bed input only --> | |
76 <param name="bed_file" value="ceas_in.bed" ftype="bed" dbkey="galGal3" /> | |
77 <param name="gdb_file" value="galGal3_test" /> | |
78 <output name="log_output" file="ceas_out1.log.re_match" compare="re_match"/> | |
79 <output name="pdf_report" file="ceas_out1.pdf" /> | |
80 <output name="xls_output" file="ceas_out1.xls" /> | |
81 </test> | |
82 <test> | |
83 <!-- Test with bed & very small wig input --> | |
84 <param name="bed_file" value="ceas_in.bed" ftype="bed" dbkey="galGal3" /> | |
85 <param name="wig_file" value="ceas_in.wig" ftype="wig" /> | |
86 <param name="gdb_file" value="galGal3_test" /> | |
87 <output name="log_output" file="ceas_out2.log.re_match" compare="re_match"/> | |
88 <output name="pdf_report" file="ceas_out2.pdf" /> | |
89 <output name="xls_output" file="ceas_out2.xls" /> | |
90 </test> | |
91 <test> | |
92 <!-- Test with bed & bigwig input --> | |
93 <param name="bed_file" value="ceas_in.bed" ftype="bed" dbkey="galGal3" /> | |
94 <param name="wig_file" value="ceas_in.bigwig" ftype="bigwig" /> | |
95 <param name="gdb_file" value="galGal3_test" /> | |
96 <output name="log_output" file="ceas_out3.log.re_match" compare="re_match"/> | |
97 <output name="pdf_report" file="ceas_out3.pdf" /> | |
98 <output name="xls_output" file="ceas_out3.xls" /> | |
99 </test> | |
100 </tests> | |
101 <help> | |
102 **What it does** | |
103 | |
104 CEAS (Cis-regulatory Element Annotation System) is a tool for characterizing genome-wide | |
105 protein-DNA interaction patterns from ChIP-chip and ChIP-Seq of both sharp and broad | |
106 binding factors. It provides statistics on ChIP enrichment at important genome features | |
107 such as specific chromosome, promoters, gene bodies, or exons, and infers genes most | |
108 likely to be regulated by a binding factor. | |
109 | |
110 CEAS also enables biologists to visualize the average ChIP enrichment signals over | |
111 specific genomic features, allowing continuous and broad ChIP enrichment to be perceived | |
112 which might be too subtle to detect from ChIP peaks alone. | |
113 | |
114 **Usage** | |
115 | |
116 CEAS takes the following inputs: | |
117 | |
118 * BED file with discrete ChIP regions (for example, the 'summits' output from the MACS | |
119 peak caller) | |
120 * WIG or bigWIG file with a continuous ChIP enrichment signal | |
121 * Gene annotation table (provided as reference data) | |
122 | |
123 Optionally it can also take a BED file describing extra regions of interest (for example | |
124 non-coding regions). | |
125 | |
126 The analysis modules are: | |
127 | |
128 * **ChIP region annotation:** estimates the relative enrichment level of ChIP regions in | |
129 each gene feature with respect to the whole genome. | |
130 * **Gene-centered annotation:** identifies genes associated with ChIP regions to infer | |
131 the direct regulatory gene targets of the binding factor of interest. | |
132 * **Average signal profiling within/near important genomic features:** displays continuous | |
133 ChIP enrichment signal within/around important gene features to help visualize the | |
134 average binding patterns. | |
135 | |
136 **Background** | |
137 | |
138 This tool is compatible with the ceasBW version of CEAS from the Cistrome package | |
139 obtained from | |
140 | |
141 https://bitbucket.org/cistrome/cistrome-applications-harvard/overview | |
142 | |
143 (commit id d8c0751, datestamp 20140929). The CEAS code is under the | |
144 published-packages/CEAS/ subdirectory. | |
145 | |
146 Cistrome data files and documentation can be found at | |
147 | |
148 http://liulab.dfci.harvard.edu/CEAS/index.html | |
149 | |
150 The CEAS user manual is available at http://liulab.dfci.harvard.edu/CEAS/usermanual.html | |
151 </help> | |
152 <citations> | |
153 <!-- | |
154 See https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set | |
155 Can be either DOI or Bibtex | |
156 Use http://www.bioinformatics.org/texmed/ to convert PubMed to Bibtex | |
157 --> | |
158 <citation type="doi">10.1093/bioinformatics/btp479</citation> | |
159 </citations> | |
160 </tool> |