comparison cuffdiff_wrapper.xml @ 1:9ba750f285e3 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/cuffdiff commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author devteam
date Tue, 13 Oct 2015 12:37:38 -0400
parents 9a9e3e83889b
children c139f0dd4ee6
comparison
equal deleted inserted replaced
0:9a9e3e83889b 1:9ba750f285e3
1 <tool id="cuffdiff" name="Cuffdiff" version="@VERSION@.0"> 1 <tool id="cuffdiff" name="Cuffdiff" version="@VERSION@.3">
2 <description>find significant changes in transcript expression, splicing, and promoter use</description> 2 <description>find significant changes in transcript expression, splicing, and promoter use</description>
3 <expand macro="requirements" /> 3 <requirements>
4 <requirement type="set_environment">CUFFDIFF_SCRIPT_PATH</requirement>
5 <requirement type="package" version="2.2.1">cufflinks</requirement>
6 <requirement type="package" version="2.8.2">cummeRbund</requirement>
7 </requirements>
4 <expand macro="stdio" /> 8 <expand macro="stdio" />
5 <macros> 9 <macros>
6 <import>cuff_macros.xml</import> 10 <import>cuff_macros.xml</import>
7 </macros> 11 </macros>
8 <version_command>cuffdiff 2>&amp;1 | head -n 1</version_command> 12 <version_command>cuffdiff 2>&amp;1 | head -n 1</version_command>
9 <command> 13 <command><![CDATA[
10 cuffdiff 14 cuffdiff
11 --no-update-check 15 --no-update-check
12 --FDR=$fdr 16 --FDR=$fdr
13 --num-threads="\${GALAXY_SLOTS:-4}" 17 --num-threads="\${GALAXY_SLOTS:-4}"
14 --min-alignment-count=$min_alignment_count 18 --min-alignment-count=$min_alignment_count
62 #end if 66 #end if
63 ## Inputs. 67 ## Inputs.
64 $gtf_input 68 $gtf_input
65 69
66 @CONDITION_SAMPLES@ 70 @CONDITION_SAMPLES@
71 #if $generate_sqlite:
72 &&
73 R --vanilla --no-save -f \$CUFFDIFF_SCRIPT_PATH/cummeRbund.R && mv cummeRbund.sqlite "${output_cummerbund}"
74 #end if
75 ]]>
67 </command> 76 </command>
68 <inputs> 77 <inputs>
69 <param format="gtf,gff3" name="gtf_input" type="data" label="Transcripts" help="A transcript GFF3 or GTF file produced by cufflinks, cuffcompare, or other source."/> 78 <param format="gtf,gff3" name="gtf_input" type="data" label="Transcripts" help="A transcript GFF3 or GTF file produced by cufflinks, cuffcompare, or other source."/>
79 <param name="omit_tabular_output" type="boolean" truevalue="yes" falsevalue="no" label="Omit Tabular Datasets" help="Discard the tabular output." />
80 <param name="generate_sqlite" type="boolean" truevalue="yes" falsevalue="no" label="Generate SQLite" help="Generate a SQLite database for use with cummeRbund." />
70 <expand macro="condition_inputs" /> 81 <expand macro="condition_inputs" />
71 <param name="library_norm_method" type="select" label="Library normalization method"> 82 <param name="library_norm_method" type="select" label="Library normalization method">
72 <option value="geometric" selected="True">geometric</option> 83 <option value="geometric" selected="True">geometric</option>
73 <option value="classic-fpkm">classic-fpkm</option> 84 <option value="classic-fpkm">classic-fpkm</option>
74 <option value="quartile">quartile</option> 85 <option value="quartile">quartile</option>
179 </conditional> 190 </conditional>
180 </inputs> 191 </inputs>
181 <outputs> 192 <outputs>
182 <!-- Optional read group datasets. --> 193 <!-- Optional read group datasets. -->
183 <data format="tabular" name="isoforms_read_group" label="${tool.name} on ${on_string}: isoforms read group tracking" from_work_dir="isoforms.read_group_tracking" > 194 <data format="tabular" name="isoforms_read_group" label="${tool.name} on ${on_string}: isoforms read group tracking" from_work_dir="isoforms.read_group_tracking" >
184 <filter>(include_read_group_files == 'Yes')</filter> 195 <filter>(include_read_group_files == 'Yes') and not omit_tabular_output</filter>
185 </data> 196 </data>
186 <data format="tabular" name="genes_read_group" label="${tool.name} on ${on_string}: genes read group tracking" from_work_dir="genes.read_group_tracking" > 197 <data format="tabular" name="genes_read_group" label="${tool.name} on ${on_string}: genes read group tracking" from_work_dir="genes.read_group_tracking" >
187 <filter>(include_read_group_files == 'Yes')</filter> 198 <filter>(include_read_group_files == 'Yes') and not omit_tabular_output</filter>
188 </data> 199 </data>
189 <data format="tabular" name="cds_read_group" label="${tool.name} on ${on_string}: CDs read group tracking" from_work_dir="cds.read_group_tracking" > 200 <data format="tabular" name="cds_read_group" label="${tool.name} on ${on_string}: CDs read group tracking" from_work_dir="cds.read_group_tracking" >
190 <filter>(include_read_group_files == 'Yes')</filter> 201 <filter>(include_read_group_files == 'Yes') and not omit_tabular_output</filter>
191 </data> 202 </data>
192 <data format="tabular" name="tss_groups_read_group" label="${tool.name} on ${on_string}: TSS groups read group tracking" from_work_dir="tss_groups.read_group_tracking" > 203 <data format="tabular" name="tss_groups_read_group" label="${tool.name} on ${on_string}: TSS groups read group tracking" from_work_dir="tss_groups.read_group_tracking" >
193 <filter>(include_read_group_files == 'Yes')</filter> 204 <filter>(include_read_group_files == 'Yes') and not omit_tabular_output</filter>
194 </data> 205 </data>
195 <data format="text" name="read_group_info" label="${tool.name} on ${on_string}: read group info" from_work_dir="read_groups.info" > 206 <data format="txt" name="read_group_info" label="${tool.name} on ${on_string}: read group info" from_work_dir="read_groups.info" >
196 <filter>(include_read_group_files == 'Yes')</filter> 207 <filter>(include_read_group_files == 'Yes') and not omit_tabular_output</filter>
197 </data> 208 </data>
198 <data format="text" name="run_info" label="${tool.name} on ${on_string}: run info" from_work_dir="run.info" > 209 <data format="txt" name="run_info" label="${tool.name} on ${on_string}: run info" from_work_dir="run.info" >
199 <filter>(include_read_group_files == 'Yes')</filter> 210 <filter>(include_read_group_files == 'Yes') and not omit_tabular_output</filter>
200 </data> 211 </data>
201 <!-- Standard datasets. --> 212 <!-- Standard datasets. -->
202 <data format="tabular" name="splicing_diff" label="${tool.name} on ${on_string}: splicing differential expression testing" from_work_dir="splicing.diff" /> 213 <data format="tabular" name="splicing_diff" label="${tool.name} on ${on_string}: splicing differential expression testing" from_work_dir="splicing.diff">
203 <data format="tabular" name="promoters_diff" label="${tool.name} on ${on_string}: promoters differential expression testing" from_work_dir="promoters.diff" /> 214 <filter>not omit_tabular_output</filter>
204 <data format="tabular" name="cds_diff" label="${tool.name} on ${on_string}: CDS overloading diffential expression testing" from_work_dir="cds.diff" /> 215 </data>
205 <data format="tabular" name="cds_exp_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM differential expression testing" from_work_dir="cds_exp.diff" /> 216 <data format="tabular" name="promoters_diff" label="${tool.name} on ${on_string}: promoters differential expression testing" from_work_dir="promoters.diff">
206 <data format="tabular" name="cds_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM tracking" from_work_dir="cds.fpkm_tracking" /> 217 <filter>not omit_tabular_output</filter>
218 </data>
219 <data format="tabular" name="cds_diff" label="${tool.name} on ${on_string}: CDS overloading diffential expression testing" from_work_dir="cds.diff">
220 <filter>not omit_tabular_output</filter>
221 </data>
222 <data format="tabular" name="cds_exp_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM differential expression testing" from_work_dir="cds_exp.diff">
223 <filter>not omit_tabular_output</filter>
224 </data>
225 <data format="tabular" name="cds_fpkm_tracking" label="${tool.name} on ${on_string}: CDS FPKM tracking" from_work_dir="cds.fpkm_tracking">
226 <filter>not omit_tabular_output</filter>
227 </data>
207 <data format="tabular" name="cds_count_tracking" label="${tool.name} on ${on_string}: CDS count tracking" from_work_dir="cds.count_tracking" > 228 <data format="tabular" name="cds_count_tracking" label="${tool.name} on ${on_string}: CDS count tracking" from_work_dir="cds.count_tracking" >
208 <filter>(include_count_files == 'Yes')</filter> 229 <filter>(include_count_files == 'Yes') and not omit_tabular_output</filter>
209 </data> 230 </data>
210 231
211 <data format="tabular" name="tss_groups_exp" label="${tool.name} on ${on_string}: TSS groups differential expression testing" from_work_dir="tss_group_exp.diff" /> 232 <data format="tabular" name="tss_groups_exp" label="${tool.name} on ${on_string}: TSS groups differential expression testing" from_work_dir="tss_group_exp.diff">
212 <data format="tabular" name="tss_groups_fpkm_tracking" label="${tool.name} on ${on_string}: TSS groups FPKM tracking" from_work_dir="tss_groups.fpkm_tracking" /> 233 <filter>not omit_tabular_output</filter>
234 </data>
235 <data format="tabular" name="tss_groups_fpkm_tracking" label="${tool.name} on ${on_string}: TSS groups FPKM tracking" from_work_dir="tss_groups.fpkm_tracking">
236 <filter>not omit_tabular_output</filter>
237 </data>
213 <data format="tabular" name="tss_groups_count_tracking" label="${tool.name} on ${on_string}: TSS count FPKM tracking" from_work_dir="tss_groups.count_tracking" > 238 <data format="tabular" name="tss_groups_count_tracking" label="${tool.name} on ${on_string}: TSS count FPKM tracking" from_work_dir="tss_groups.count_tracking" >
214 <filter>(include_count_files == 'Yes')</filter> 239 <filter>(include_count_files == 'Yes') and not omit_tabular_output</filter>
215 </data> 240 </data>
216 241
217 <data format="tabular" name="genes_exp" label="${tool.name} on ${on_string}: gene differential expression testing" from_work_dir="gene_exp.diff" /> 242 <data format="tabular" name="genes_exp" label="${tool.name} on ${on_string}: gene differential expression testing" from_work_dir="gene_exp.diff">
218 <data format="tabular" name="genes_fpkm_tracking" label="${tool.name} on ${on_string}: gene FPKM tracking" from_work_dir="genes.fpkm_tracking" /> 243 <filter>not omit_tabular_output</filter>
244 </data>
245 <data format="tabular" name="genes_fpkm_tracking" label="${tool.name} on ${on_string}: gene FPKM tracking" from_work_dir="genes.fpkm_tracking">
246 <filter>not omit_tabular_output</filter>
247 </data>
219 <data format="tabular" name="genes_count_tracking" label="${tool.name} on ${on_string}: gene count tracking" from_work_dir="genes.count_tracking" > 248 <data format="tabular" name="genes_count_tracking" label="${tool.name} on ${on_string}: gene count tracking" from_work_dir="genes.count_tracking" >
220 <filter>(include_count_files == 'Yes')</filter> 249 <filter>(include_count_files == 'Yes') and not omit_tabular_output</filter>
221 </data> 250 </data>
222 251
223 <data format="tabular" name="isoforms_exp" label="${tool.name} on ${on_string}: transcript differential expression testing" from_work_dir="isoform_exp.diff" /> 252 <data format="tabular" name="isoforms_exp" label="${tool.name} on ${on_string}: transcript differential expression testing" from_work_dir="isoform_exp.diff">
224 <data format="tabular" name="isoforms_fpkm_tracking" label="${tool.name} on ${on_string}: transcript FPKM tracking" from_work_dir="isoforms.fpkm_tracking" /> 253 <filter>not omit_tabular_output</filter>
225 <data format="tabular" name="isoforms_count_tracking" label="${tool.name} on ${on_string}: transcript count tracking" from_work_dir="isoforms.count_tracking" > 254 </data>
226 <filter>(include_count_files == 'Yes')</filter> 255 <data format="tabular" name="isoforms_fpkm_tracking" label="${tool.name} on ${on_string}: transcript FPKM tracking" from_work_dir="isoforms.fpkm_tracking">
256 <filter>not omit_tabular_output</filter>
257 </data>
258 <data format="tabular" name="isoforms_count_tracking" label="${tool.name} on ${on_string}: transcript count tracking" from_work_dir="isoforms.count_tracking">
259 <filter>(include_count_files == 'Yes') and not omit_tabular_output</filter>
260 </data>
261 <data format="sqlite" name="output_cummerbund" label="${tool.name} on ${on_string}: cummeRbund SQLite database">
262 <filter>generate_sqlite</filter>
227 </data> 263 </data>
228 </outputs> 264 </outputs>
229 265
230 <tests> 266 <tests>
231 <test> 267 <test>
232 <!-- 268 <!--
233 cuffdiff cuffcompare_out5.gtf cuffdiff_in1.sam cuffdiff_in2.sam 269 cuffdiff cuffcompare_out5.gtf cuffdiff_in1.sam cuffdiff_in2.sam
234 --> 270 -->
235 <param name="gtf_input" value="cuffcompare_out5.gtf" ftype="gtf" /> 271 <param name="gtf_input" value="cuffdiff_in1.gtf" ftype="gtf" />
272 <param name="generate_sqlite" value="yes" />
273 <param name="omit_tabular_output" value="yes" />
236 <conditional name="in_type"> 274 <conditional name="in_type">
237 <param name="set_in_type" value="BAM" /> 275 <param name="set_in_type" value="BAM" />
238 <repeat name="conditions"> 276 <repeat name="conditions">
239 <param name="name" value="q1" /> 277 <param name="name" value="q1" />
240 <repeat name="samples"> 278 <repeat name="samples">
252 <param name="min_alignment_count" value="0" /> 290 <param name="min_alignment_count" value="0" />
253 <param name="do_bias_correction" value="No" /> 291 <param name="do_bias_correction" value="No" />
254 <param name="do_normalization" value="No" /> 292 <param name="do_normalization" value="No" />
255 <param name="multiread_correct" value="No"/> 293 <param name="multiread_correct" value="No"/>
256 <param name="sAdditional" value="No"/> 294 <param name="sAdditional" value="No"/>
257 <output name="splicing_diff" file="cuffdiff_out9.txt"/> 295 <output name="output_cummerbund" ftype="sqlite" file="cuffdiff_out.sqlite"/>
258 <output name="promoters_diff" file="cuffdiff_out10.txt"/> 296 </test>
259 <output name="cds_diff" file="cuffdiff_out11.txt"/> 297 <test>
260 <output name="cds_exp_fpkm_tracking" file="cuffdiff_out4.txt"/> 298 <!--
261 <output name="cds_fpkm_tracking" file="cuffdiff_out8.txt"/> 299 cuffdiff cuffcompare_out5.gtf cuffdiff_in1.sam cuffdiff_in2.sam
262 <output name="tss_groups_exp" file="cuffdiff_out3.txt" lines_diff="200"/> 300 -->
263 <output name="tss_groups_fpkm_tracking" file="cuffdiff_out7.txt"/> 301 <param name="gtf_input" value="cuffdiff_in1.gtf" ftype="gtf" />
264 <output name="genes_exp" file="cuffdiff_out2.txt" lines_diff="200"/> 302 <param name="omit_tabular_output" value="no" />
265 <output name="genes_fpkm_tracking" file="cuffdiff_out6.txt" lines_diff="200"/> 303 <conditional name="in_type">
266 <output name="isoforms_exp" file="cuffdiff_out1.txt" lines_diff="200"/> 304 <param name="set_in_type" value="BAM" />
267 <output name="isoforms_fpkm_tracking" file="cuffdiff_out5.txt" lines_diff="200"/> 305 <repeat name="conditions">
306 <param name="name" value="q1" />
307 <repeat name="samples">
308 <param name="sample" value="cuffdiff_in1.sam" ftype="sam" />
309 </repeat>
310 </repeat>
311 <repeat name="conditions">
312 <param name="name" value="q2" />
313 <repeat name="samples">
314 <param name="sample" value="cuffdiff_in2.sam" ftype="sam" />
315 </repeat>
316 </repeat>
317 </conditional>
318 <param name="fdr" value="0.05" />
319 <param name="min_alignment_count" value="0" />
320 <param name="do_bias_correction" value="No" />
321 <param name="do_normalization" value="No" />
322 <param name="multiread_correct" value="No"/>
323 <param name="sAdditional" value="No"/>
324 <output name="splicing_diff" file="splicing.diff"/>
325 <output name="promoters_diff" file="promoters.diff"/>
326 <output name="cds_diff" file="cds.diff"/>
327 <output name="cds_exp_fpkm_tracking" file="cds.exp_fpkm_tracking"/>
328 <output name="cds_fpkm_tracking" file="cds.fpkm_tracking"/>
329 <output name="tss_groups_exp" file="tss.groups_exp" lines_diff="200"/>
330 <output name="tss_groups_fpkm_tracking" file="tss.groups_fpkm_tracking"/>
331 <output name="genes_exp" file="genes.exp" lines_diff="200"/>
332 <output name="genes_fpkm_tracking" file="genes.fpkm_tracking" lines_diff="200"/>
333 <output name="isoforms_exp" file="isoforms.exp" lines_diff="200"/>
334 <output name="isoforms_fpkm_tracking" file="isoforms.fpkm_tracking" lines_diff="200"/>
268 </test> 335 </test>
269 </tests> 336 </tests>
270 <help> 337 <help>
271 **Cuffdiff Overview** 338 **Cuffdiff Overview**
272 339
273 Cuffdiff is part of Cufflinks_. Cuffdiff find significant changes in transcript expression, splicing, and promoter use. Please cite: Trapnell C, Williams BA, Pertea G, Mortazavi AM, Kwan G, van Baren MJ, Salzberg SL, Wold B, Pachter L. Transcript assembly and abundance estimation from RNA-Seq reveals thousands of new transcripts and switching among isoforms. Nature Biotechnology doi:10.1038/nbt.1621 340 Cuffdiff is part of Cufflinks_. Cuffdiff find significant changes in transcript expression, splicing, and promoter use. Please cite: Trapnell C, Williams BA, Pertea G, Mortazavi AM, Kwan G, van Baren MJ, Salzberg SL, Wold B, Pachter L. Transcript assembly and abundance estimation from RNA-Seq reveals thousands of new transcripts and switching among isoforms. Nature Biotechnology doi:10.1038/nbt.1621
274 341
275 .. _Cufflinks: http://cufflinks.cbcb.umd.edu/ 342 .. _Cufflinks: http://cole-trapnell-lab.github.io/cufflinks/
276 343
277 ------ 344 ------
278 345
279 **Know what you are doing** 346 **Know what you are doing**
280 347
281 .. class:: warningmark 348 .. class:: warningmark
282 349
283 There is no such thing (yet) as an automated gearshift in expression analysis. It is all like stick-shift driving in San Francisco. In other words, running this tool with default parameters will probably not give you meaningful results. A way to deal with this is to **understand** the parameters by carefully reading the `documentation`__ and experimenting. Fortunately, Galaxy makes experimenting easy. 350 There is no such thing (yet) as an automated gearshift in expression analysis. It is all like stick-shift driving in San Francisco. In other words, running this tool with default parameters will probably not give you meaningful results. A way to deal with this is to **understand** the parameters by carefully reading the `documentation`__ and experimenting. Fortunately, Galaxy makes experimenting easy.
284 351
285 .. __: http://cufflinks.cbcb.umd.edu/manual.html#cuffdiff 352 .. __: http://cole-trapnell-lab.github.io/cufflinks/cuffdiff/
286 353
287 ------ 354 ------
288 355
289 **Input format** 356 **Input format**
290 357