annotate ceas.xml @ 2:45e094f8858f

Add SitePro tool
author Jim Johnson <jj@umn.edu>
date Mon, 15 Dec 2014 15:31:58 -0600
parents 4e52505adaa6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
1 <tool name="CEAS: Enrichment on chromosome and annotation" id="ceas_ceas" version="0.1.0">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
2 <description>Annotate the given intervals and scores with genome features such as gene body</description>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
3 <macros>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
4 <import>ceas_macros.xml</import>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
5 </macros>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
6 <expand macro="requirements_bx" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
7 <command>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
8 #import os.path
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
9 #if $genegroup.enable == "yes"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
10 #set $gngroups = str($genegroup.genelist)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
11 #set $gnlabels = str($genegroup.label)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
12 #for $m in $genegroup.more
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
13 #set $gngroups = $gngroups+","+str($m.genelist)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
14 #set $gnlabels = $gnlabels+","+str($m.label)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
15 #end for
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
16 #set $gngroupspara = "--gn-groups="+$gngroups
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
17 #set $gnlabelspara = "--gn-group-names='"+$gnlabels+"'"+str($genegroup.idtype.value)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
18 #else
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
19 #set $gngroupspara = ""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
20 #set $gnlabelspara = ""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
21 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
22 #set $sizes = str($lowersize) + "," + str($middlesize) + "," + str($uppersize)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
23 #set $bisizes = str($lowerbisize) + "," + str($upperbisize)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
24 #if $wfile:
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
25 #if $wfile.extension == "bigwig"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
26 ceasBW -w $wfile
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
27 #set dbkey = $wfile.metadata.dbkey
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
28 #set $length_file = os.path.join( os.path.abspath($__app__.config.len_file_path), $dbkey+".len" )
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
29 -l $length_file
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
30 #else
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
31 ceas -w $wfile
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
32 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
33 #else
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
34 ceas
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
35 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
36 #if $bfile:
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
37 -b $bfile
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
38 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
39 #include source=$gtpath_ceasdb_ref#
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
40 --span=$span --pf-res=$pfres --sizes=$sizes --bisizes=$bisizes
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
41 --rel-dist=$reldist $gngroupspara $gnlabelspara --name=$name &amp;> $log &amp;&amp;
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
42 Rscript ceas_out.R &amp;&amp;
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
43 #if $imagetype.__str__ == "PNG":
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
44 convert ceas_out.pdf ceas_out.png &amp;&amp; convert ceas_out-*.png -append ceas_out_joint.png &amp;&amp;
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
45 cp ceas_out_joint.png $output
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
46 #else
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
47 cp ceas_out.pdf $output
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
48 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
49 </command>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
50 <inputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
51 <expand macro="ceasdb_ref" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
52 <param name="name" type="hidden" value="ceas_out"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
53 <param format="wig,bigwig" name="wfile" type="data" label="wig / bigwig file" optional="true">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
54 <validator type="unspecified_build" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
55 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
56 <param format="bed" name="bfile" type="data" label="BED file(maximum 100000 lines)" optional="true">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
57 <validator type="unspecified_build" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
58 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
59 <param name="span" type="integer" label="Span" value="3000">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
60 <validator type="in_range" max="1000000" min="100" message="The Span is out of range, the parameter has to be between 100 to 1000000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
61 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
62 <param name="pfres" type="integer" label="Profiling resolution" value="50">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
63 <validator type="in_range" max="1000" min="10" message="The Profiling Resolution is out of range, the parameter has to be between 10 to 1000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
64 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
65 <param name="lowersize" type="text" label="Promoter/downstream lower-interval" value="1000" >
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
66 <validator type="in_range" max="10000" min="100" message="The lower-interval is out of range, the parameter has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
67 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
68 <param name="middlesize" type="text" label="Promoter/downstream middle-interval" value="2000" >
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
69 <validator type="in_range" max="10000" min="100" message="The middle-interval is out of range, the parameter has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
70 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
71 <param name="uppersize" type="text" label="Promoter/downstream upper-interval" value="3000">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
72 <validator type="in_range" max="10000" min="100" message="The upper-interval is out of range, the parameter has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
73 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
74 <param name="lowerbisize" type="text" label="Bi-Promoter lower range" value="2500">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
75 <validator type="in_range" max="10000" min="100" message="The lower-range is out of range, the parameter has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
76 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
77 <param name="upperbisize" type="text" label="Bi-Promoter upper range" value="5000">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
78 <validator type="in_range" max="10000" min="100" message="The upper-range is out of range, the parameter has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
79 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
80 <param name="reldist" type="integer" label="Relative distance" value="3000">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
81 <validator type="in_range" max="10000" min="100" message="The Relative distance is out of range, the parameter has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
82 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
83 <param type="select" name="imagetype" display="radio" label="Image Type">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
84 <option value="PNG">PNG format</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
85 <option value="PDF">PDF format</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
86 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
87
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
88 <conditional name="genegroup">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
89 <param name="enable" type="select" label="Specify gene list in the signal profiling" force_select="true">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
90 <option value="no">No</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
91 <option value="yes">Yes</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
92 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
93
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
94 <when value="no">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
95 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
96
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
97 <when value="yes">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
98 <param format="text" name="genelist" type="data" label="Gene List" optional="false"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
99 <param name="label" type="text" label="Gene List Label" optional="false" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
100 <repeat name="more" title="Gene Lists">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
101 <param format="text" name="genelist" type="data" label="Gene List" optional="false"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
102 <param name="label" type="text" label="Gene List Label" optional="false" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
103 </repeat>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
104 <param name="idtype" type="select" label="Are they ...">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
105 <option value="">refseq</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
106 <option value=" --gname2">genesymbol</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
107 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
108 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
109 </conditional>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
110
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
111 </inputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
112
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
113 <outputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
114 <data format="png" name="output">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
115 <change_format>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
116 <when input="imagetype" value="PDF" format="pdf" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
117 </change_format>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
118 </data>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
119 <data format="txt" name="log" label="ceas job log" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
120 </outputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
121 <expand macro="stdio" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
122 <tests>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
123 <test>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
124 <param name="wfile" value="treatment.wig" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
125 <param name="bfile" value="peaks.bed" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
126 <param name="span" value="3000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
127 <param name="pfres" value="50" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
128 <param name="lowersize" value="1000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
129 <param name="middlesize" value="2000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
130 <param name="uppersize" value="3000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
131 <param name="lowerbisize" value="2500" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
132 <param name="upperbisize" value="5000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
133 <param name="reldist" value="3000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
134 <param name="refsrc" value="history"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
135 <param name="gdb" ftype="ceasdb" value="mm9.refGene.ceasdb"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
136 <param name="imagetype" value="PDF" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
137 <param name="enable" value="no" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
138 <output name="log">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
139 <assert_contents>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
140 <has_text_matching expression="See ceas_out.pdf for the graphical results of CEAS" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
141 </assert_contents>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
142 </output>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
143 </test>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
144 <test>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
145 <param name="wfile" value="treatment.bigwig" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
146 <param name="bfile" value="peaks.bed" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
147 <param name="span" value="3000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
148 <param name="pfres" value="50" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
149 <param name="lowersize" value="1000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
150 <param name="middlesize" value="2000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
151 <param name="uppersize" value="3000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
152 <param name="lowerbisize" value="2500" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
153 <param name="upperbisize" value="5000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
154 <param name="reldist" value="3000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
155 <param name="refsrc" value="history"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
156 <param name="gdb" ftype="ceasdb" value="mm9.refGene.ceasdb"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
157 <param name="imagetype" value="PDF" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
158 <param name="enable" value="no" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
159 <output name="log">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
160 <assert_contents>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
161 <has_text_matching expression="See ceas_out.pdf for the graphical results of CEAS" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
162 </assert_contents>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
163 </output>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
164 </test>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
165 </tests>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
166 <help>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
167 ** CEAS **
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
168 This tool annotates the given intervals and scores with genome
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
169 features such as gene body. It's the major module in CEAS package
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
170 which is written by Hyunjin Gene Shin, published in Bioinformatics
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
171 (pubmed id:19689956).
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
172
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
173 @EXTERNAL_DOCUMENTATION@
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
174
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
175 @CITATION_SECTION@
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
176
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
177
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
178 .. class:: warningmark
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
179
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
180 **NEED IMPROVEMENT**
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
181
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
182 -----
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
183
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
184 **Parameters**
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
185
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
186 - **WIGGLE file** contains the scores for the experiment in a wiggle
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
187 format file. Normally, it's produced by the peak calling tool. It's
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
188 optional.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
189 - **BED file** contains the peak locations for the experiment in a BED
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
190 format file.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
191 - **Span** from TSS and TTS in the gene-centered annotation. ChIP
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
192 regions within this range from TSS and TTS are considered when
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
193 calculating the coverage rates in promoter and downstream.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
194 - **Profiling resolution** is the WIGGLE profiling resolution.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
195 - **Promoter/downstream intervals** for ChIP region annotation are
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
196 comma-separated three values or a single value can be given. If a
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
197 single value is given, it will be segmented into three equal
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
198 fractions (ie, 3000 is equivalent to 1000,2000,3000)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
199 - **BiPromoter ranges** is for ChIP region annotation. It's
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
200 comma-separated two values or a single value can be given. If a
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
201 single value is given, it will be segmented into two equal fractions
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
202 (ie, 5000 is equivalent to 2500,5000)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
203 - **Relative distance** is the relative distance to TSS/TTS in WIGGLE file
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
204 profiling
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
205 - **Genome Annotation Version** to specify the annotations according to
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
206 the data set. The annotations are downloaded from UCSC genome site.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
207 - **Image type** specify the output image format, either in PNG or in
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
208 PDF format.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
209 - If **Specify gene list in the signal profiling** is set, you can specify
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
210 different gene groups for CEAS to put them together in the profile
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
211 figure. You need to select several **Gene List** files from history which
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
212 contains the RefSeq ids or Gene Symbols for each row, and
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
213 **Gene List Label** for each gene list file.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
214
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
215 -----
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
216
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
217 **Outputs**
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
218
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
219 - **PNG/PDF file** is the result for CEAS analysis, containing 5 pages.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
220 - **LOG file** for job log. If you see errors, please attached this in
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
221 the bug report
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
222
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
223 -----
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
224
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
225 **script parameter list of CEAS 0.9.8**
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
226
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
227 Options:
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
228 --version show program's version number and exit
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
229 -h, --help Show this help message and exit.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
230 -b BED, --bed=BED BED file of ChIP regions.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
231 -w WIG, --wig=WIG WIG file for either wig profiling or genome background
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
232 annotation. WARNING: --bg flag must be set for genome
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
233 background re-annotation.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
234 -e EBED, --ebed=EBED BED file of extra regions of interest (eg, non-coding
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
235 regions)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
236 -g GDB, --gt=GDB Gene annotation table (eg, a refGene table in sqlite3
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
237 db format provided through the CEAS web,
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
238 http://liulab.dfci.harvard.edu/CEAS/download.html).
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
239 --name=NAME Experiment name. This will be used to name the output
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
240 files. If an experiment name is not given, the stem of
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
241 the input BED file name will be used instead (eg, if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
242 'peaks.bed', 'peaks' will be used as a name.)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
243 --sizes=SIZES Promoter (also dowsntream) sizes for ChIP region
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
244 annotation. Comma-separated three values or a single
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
245 value can be given. If a single value is given, it
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
246 will be segmented into three equal fractions (ie, 3000
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
247 is equivalent to 1000,2000,3000), DEFAULT:
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
248 1000,2000,3000. WARNING: Values > 10000bp are
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
249 automatically set to 10000bp.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
250 --bisizes=BISIZES Bidirectional-promoter sizes for ChIP region
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
251 annotation Comma-separated two values or a single
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
252 value can be given. If a single value is given, it
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
253 will be segmented into two equal fractions (ie, 5000
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
254 is equivalent to 2500,5000) DEFAULT: 2500,5000bp.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
255 WARNING: Values > 20000bp are automatically set to
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
256 20000bp.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
257 --bg Run genome BG annotation again. WARNING: This flag is
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
258 effective only if a WIG file is given through -w
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
259 (--wig). Otherwise, ignored.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
260 --span=SPAN Span from TSS and TTS in the gene-centered annotation.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
261 ChIP regions within this range from TSS and TTS are
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
262 considered when calculating the coverage rates in
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
263 promoter and downstream, DEFAULT=3000bp
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
264 --pf-res=PF_RES Wig profiling resolution, DEFAULT: 50bp. WARNING:
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
265 Value smaller than the wig interval (resolution) may
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
266 cause aliasing error.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
267 --rel-dist=REL_DIST Relative distance to TSS/TTS in wig profiling,
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
268 DEFAULT: 3000bp
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
269 --gn-groups=GN_GROUPS
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
270 Gene-groups of particular interest in wig profiling.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
271 Each gene group file must have gene names in the 1st
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
272 column. The file names are separated by commas w/ no
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
273 space (eg, --gn-groups=top10.txt,bottom10.txt)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
274 --gn-group-names=GN_NAMES
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
275 The names of the gene groups in --gn-groups. The gene
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
276 group names are separated by commas. (eg, --gn-group-
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
277 names='top 10%,bottom 10%'). These group names appear
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
278 in the legends of the wig profiling plots. If no group
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
279 names given, the groups are represented as 'Group 1,
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
280 Group2,...Group n'.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
281 --gname2 Whether or not use the 'name2' column of the gene
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
282 annotation table when reading the gene IDs in the
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
283 files given through --gn-groups. This flag is
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
284 meaningful only with --gn-groups.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
285
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
286 </help>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
287
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
288 </tool>