annotate cuffmerge_wrapper.xml @ 17:04adc9db1581 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit 52b81aad3194e02a04ec09eea1aa0c1e9301e942
author iuc
date Wed, 23 Oct 2024 22:12:19 +0000
parents 22cf48ad7b16
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
04adc9db1581 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit 52b81aad3194e02a04ec09eea1aa0c1e9301e942
iuc
parents: 16
diff changeset
1 <tool id="cuffmerge" name="Cuffmerge" version="@TOOL_VERSION@.5" profile="@PROFILE@">
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
2 <description>merge together several Cufflinks assemblies</description>
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
3 <macros>
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
4 <import>cuff_macros.xml</import>
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
5 </macros>
12
1707a530e598 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/cuffmerge commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 10
diff changeset
6 <expand macro="requirements" />
14
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
7 <version_command>cuffmerge -v</version_command>
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
8 <command detect_errors="aggressive"><![CDATA[
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
9 @CUFFLINKS_LINK_GTF_INPUTS@
17
04adc9db1581 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit 52b81aad3194e02a04ec09eea1aa0c1e9301e942
iuc
parents: 16
diff changeset
10 echo @CUFFLINKS_GTF_INPUTS@ | sed 's/\s\+/\n/g' > assembly_GTF_list.txt &&
14
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
11 cuffmerge
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
12 -o output
8
5543c3d33e26 Convert tool to use $GALAXY_SLOTS if available.
Nate Coraor <nate@bx.psu.edu>
parents: 6
diff changeset
13 --num-threads="\${GALAXY_SLOTS:-4}"
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
14 ## Use annotation reference?
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
15 #if $annotation.use_ref_annotation == "Yes":
12
1707a530e598 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/cuffmerge commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 10
diff changeset
16 -g '${annotation.reference_annotation}'
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
17 #end if
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
18
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
19 ## Use sequence data?
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
20 #if $seq_data.use_seq_data == "Yes":
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
21 -s
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
22 #if $seq_data.seq_source.index_source == "history":
15
86285ddd4512 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit 92be38a0f40ef6d6ccb55999f3eb8bf960e376c8"
iuc
parents: 14
diff changeset
23 '${seq_data.seq_source.ref_file}'
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
24 #else:
15
86285ddd4512 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit 92be38a0f40ef6d6ccb55999f3eb8bf960e376c8"
iuc
parents: 14
diff changeset
25 '${seq_data.seq_source.index.fields.path}'
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
26 #end if
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
27 #end if
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
28
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
29 --min-isoform-fraction="${min_isoform_fraction}"
14
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
30 assembly_GTF_list.txt
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
31 ]]></command>
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
32 <inputs>
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
33 <expand macro="cufflinks_gtf_inputs" />
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
34 <conditional name="annotation">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
35 <param name="use_ref_annotation" type="select" label="Use Reference Annotation">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
36 <option value="No">No</option>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
37 <option value="Yes">Yes</option>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
38 </param>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
39 <when value="Yes">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
40 <param format="gff3,gtf" name="reference_annotation" type="data" label="Reference Annotation" help="Requires an annotation file in GFF3 or GTF format."/>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
41 </when>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
42 <when value="No">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
43 </when>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
44 </conditional>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
45 <conditional name="seq_data">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
46 <param name="use_seq_data" type="select" label="Use Sequence Data" help="Use sequence data for some optional classification functions, including the addition of the p_id attribute required by Cuffdiff.">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
47 <option value="No">No</option>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
48 <option value="Yes">Yes</option>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
49 </param>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
50 <when value="No"></when>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
51 <when value="Yes">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
52 <conditional name="seq_source">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
53 <param name="index_source" type="select" label="Choose the source for the reference list">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
54 <option value="cached">Locally cached</option>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
55 <option value="history">History</option>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
56 </param>
2
5b285b6e4ee3 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
57 <when value="cached">
5b285b6e4ee3 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
58 <param name="index" type="select" label="Using reference genome">
5b285b6e4ee3 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
59 <options from_data_table="fasta_indexes">
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
60 <filter type="data_meta" ref="inputs" key="dbkey" column="1" />
2
5b285b6e4ee3 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
61 <validator type="no_options" message="No reference genome is available for the build associated with the selected input dataset" />
5b285b6e4ee3 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
62 </options>
5b285b6e4ee3 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
63 </param>
5b285b6e4ee3 Update to the new data table specification.
Dave Bouvier <dave@bx.psu.edu>
parents: 0
diff changeset
64 </when>
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
65 <when value="history">
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
66 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
67 </when>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
68 </conditional>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
69 </when>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
70 </conditional>
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
71 <param name="min_isoform_fraction" type="float" min="0" max="1" value="0.05" label="Minimum isoform fraction" help="Discard isoforms with abundance below this value" />
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
72 </inputs>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
73
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
74 <outputs>
14
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
75 <data format="gtf" name="merged_transcripts" label="${tool.name} on ${on_string}: merged transcripts" from_work_dir="output/merged.gtf"/>
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
76 </outputs>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
77
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
78 <tests>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
79 <!--
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
80 cuffmerge -g cuffcompare_in3.gtf cuffcompare_in1.gtf cuffcompare_in2.gtf
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
81 -->
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
82 <test>
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
83 <param name="inputs" value="cuffcompare_in1.gtf,cuffcompare_in2.gtf" ftype="gtf"/>
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
84 <param name="use_ref_annotation" value="Yes"/>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
85 <param name="reference_annotation" value="cuffcompare_in3.gtf" ftype="gtf"/>
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
86 <param name="min_isoform_fraction" value="0.08" />
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
87 <param name="use_seq_data" value="No"/>
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
88 <!-- oId assignment differ/are non-deterministic -->
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
89 <output name="merged_transcripts" file="cuffmerge_out1.gtf" lines_diff="50"/>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
90 </test>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
91 </tests>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
92
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
93 <help>
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
94 **Cuffmerge Overview**
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
95
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
96 Cuffmerge is part of Cufflinks_. 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
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
97
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
98 .. _Cufflinks: http://cole-trapnell-lab.github.io/cufflinks/
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
99
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
100 ------
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
101
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
102 **Know what you are doing**
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
103
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
104 .. class:: warningmark
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
105
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
106 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.
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
107
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
108 .. __: http://cole-trapnell-lab.github.io/cufflinks/cuffmerge/
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
109
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
110 ------
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
111
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
112 **Input format**
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
113
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
114 Cuffmerge takes Cufflinks' GTF output as input, and optionally can take a "reference" annotation (such as from Ensembl_)
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
115
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
116 .. _Ensembl: http://www.ensembl.org
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
117
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
118 ------
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
119
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
120 **Outputs**
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
121
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
122 Cuffmerge produces the following output files:
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
123
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
124 Merged transcripts file:
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
125
10
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
126 Cuffmerge produces a GTF file that contains an assembly that merges together the input assemblies.
b6e3849293b1 Uploaded
devteam
parents: 9
diff changeset
127 </help>
14
6a6717a5f421 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/cufflinks/cuffmerge commit a0b0845a9d1b3e7ecdeacd1e606133617e3918bd"
iuc
parents: 13
diff changeset
128 <expand macro="citations"/>
0
dbbd37e013aa Uploaded tool tarball.
devteam
parents:
diff changeset
129 </tool>