annotate trinityrnaseq.xml @ 2:5eb99d21ef0d

Add trinityrnaseq_norm and transcriptsToOrfs tools
author Jim Johnson <jj@umn.edu>
date Thu, 05 Sep 2013 08:08:21 -0500
parents a34ce2b18877
children a9d882069cd4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
1 <tool id="trinityrnaseq" name="Trinity" version="0.0.2">
0
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
2 <!-- Written by Jeremy Goecks, now maintained here by bhaas -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
3 <description>De novo assembly of RNA-Seq data Using Trinity</description>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
4 <requirements>
1
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
5 <requirement type="package" version="2013_08_14">trinityrnaseq</requirement>
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
6 <requirement type="package" version="0.1.18">samtools</requirement>
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
7 <requirement type="package" version="1.0.0">bowtie</requirement>
0
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
8 </requirements>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
9 <command>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
10 Trinity.pl --JM $JM --CPU $CPU
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
11
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
12 ## Inputs.
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
13 #if str($inputs.paired_or_single) == "paired":
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
14 --left $inputs.left_input --right $inputs.right_input
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
15 #if $inputs.left_input.ext == 'fa':
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
16 --seqType fa
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
17 #else:
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
18 --seqType fq
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
19 #end if
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
20 #if str($inputs.library_type) != "None":
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
21 --SS_lib_type $inputs.library_type
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
22 #end if
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
23 --group_pairs_distance $inputs.group_pairs_distance
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
24 #else:
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
25 --single $inputs.input
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
26 #if str($inputs.input.ext) == 'fa':
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
27 --seqType fa
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
28 #else:
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
29 --seqType fq
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
30 #end if
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
31 #if str($inputs.library_type) != "None":
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
32 --SS_lib_type $inputs.library_type
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
33 #end if
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
34 #end if
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
35
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
36 ## Additional parameters.
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
37 #if str($additional_params.use_additional) == "yes":
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
38 --min_kmer_cov $additional_params.min_kmer_cov --max_reads_per_graph $additional_params.max_reads_per_graph --bflyHeapSpaceMax $additional_params.bflyHeapSpaceMax
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
39 #if $additional_params.bfly_opts != 'None':
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
40 --bfly_opts " $additional_params.bfly_opts "
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
41 #end if
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
42 #end if
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
43
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
44
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
45 ## direct to output
1
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
46 | tee $trinity_log | grep 'Error'
0
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
47
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
48 </command>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
49 <inputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
50 <param name="JM" type="select" label="JM" help="Amount of memory to allocate to Jellyfish for Kmer catalog construction">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
51 <option value="1G">1G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
52 <option value="10G">10G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
53 <option value="50G">50G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
54 <option value="100G">100G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
55 <option value="200G">200G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
56 <option value="500G">500G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
57 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
58
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
59 <param name="CPU" type="integer" value="2" min="1" label="CPU" help="Number of CPUs to use by Trinity" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
60
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
61
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
62 <conditional name="inputs">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
63 <param name="paired_or_single" type="select" label="Paired or Single-end data?">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
64 <option value="paired">Paired</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
65 <option value="single">Single</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
66 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
67 <when value="paired">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
68 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
69 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
70 <param name="library_type" type="select" label="Strand-specific Library Type">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
71 <option value="None">None</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
72 <option value="FR">FR</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
73 <option value="RF">RF</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
74 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
75 <param name="group_pairs_distance" type="integer" value="500" min="1" label="Group pairs distance" help="Maximum length expected between fragment pairs"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
76 <param name="path_reinforcement_distance" type="integer" value="75" min="1" label="Path reinforcement distance" help="Minimum read overlap required for path extension in the graph" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
77
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
78 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
79 <when value="single">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
80 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
81 <param name="library_type" type="select" label="Strand-specific Library Type">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
82 <option value="None">None</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
83 <option value="F">F</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
84 <option value="R">R</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
85 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
86 <param name="path_reinforcement_distance" type="integer" value="40" min="1" label="Path reinforcement distance" help="Minimum read overlap required for path extension in the graph" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
87 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
88 </conditional>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
89
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
90 <conditional name="additional_params">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
91 <param name="use_additional" type="select" label="Use Additional Params?">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
92 <option value="no">No</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
93 <option value="yes">Yes</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
94 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
95 <when value="no">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
96 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
97 <when value="yes">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
98 <param name="min_kmer_cov" type="integer" value="1" min="1" label="inchworm_min_kmer_cov" help="Minimum kmer coverage required by Inchworm for initial contig construction" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
99 <param name="max_reads_per_graph" type="integer" value="20000000" min="10000" label="chrysalis_max_reads_per_graph" help="Maximum number of reads to be anchored within each transcript graph by Chrysalis" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
100 <param name="bfly_opts" type="text" value="None" label="bfly_opts" help="Options to pass on to Butterfly" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
101 <param name="bflyHeapSpaceMax" type="select" label="bflyHeapSpaceMax" help="Java heap space maximum value for Butterfly">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
102 <option value="1G">1G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
103 <option value="2G">2G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
104 <option value="4G" selected="true">4G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
105 <option value="10G">10G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
106 <option value="20G">20G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
107 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
108 <param name="min_contig_length" type="integer" value="200" min="1" label="Minimum Contig Length" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
109 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
110 </conditional>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
111 </inputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
112 <stdio>
2
5eb99d21ef0d Add trinityrnaseq_norm and transcriptsToOrfs tools
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
113 <exit_code range="1:" level="fatal" description="Failed" />
1
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
114 <regex match="command not found"
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
115 source="both"
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
116 level="fatal"
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
117 description="Trinity.pl not found" />
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
118 <regex match="Error"
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
119 source="both"
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
120 level="fatal"
a34ce2b18877 Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
121 description="A trinity process failed" />
0
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
122 </stdio>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
123 <outputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
124 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
125 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
126 </outputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
127 <tests>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
128
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
129 <test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
130 <param name="JM" value="1G"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
131 <param name="CPU" value="1"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
132 <param name="paired_or_single" value="single"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
133 <param name="input" ftype="fastq" value="reads.left.fq"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
134 <param name="library_type" value="None"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
135 <param name="path_reinforcement_distance" value="40"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
136 <param name="use_additional" value="no"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
137 <output name="trinity_log">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
138 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
139 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
140 <has_text text="Butterfly assemblies are written to" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
141 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
142 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
143 <output name="assembled_transcripts">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
144 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
145 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
146 <has_text text="CCATGAGGGGGGGGGGCAATGG" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
147 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
148 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
149 </test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
150
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
151 <test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
152 <param name="JM" value="1G"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
153 <param name="CPU" value="1"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
154 <param name="paired_or_single" value="paired"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
155 <param name="left_input" ftype="fastq" value="reads.left.fq"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
156 <param name="right_input" ftype="fastq" value="reads.right.fq"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
157 <param name="library_type" value="None"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
158 <param name="group_pairs_distance" value="500"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
159 <param name="path_reinforcement_distance" value="75"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
160 <param name="use_additional" value="no"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
161 <output name="trinity_log">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
162 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
163 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
164 <has_text text="Butterfly assemblies are written to" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
165 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
166 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
167 <output name="assembled_transcripts">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
168 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
169 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
170 <has_text text="AAGCTGGCCTCAAATTCCTGATCC" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
171 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
172 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
173 </test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
174 </tests>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
175 <help>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
176 Trinity is a de novo transcript assembler that uses RNA-seq data as input. This tool runs all Trinity_ commands--Inchworm, Chrysalis, and Butterfly--in a single pass.
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
177
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
178 .. _Trinity: http://trinityrnaseq.sourceforge.net
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
179 </help>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
180 </tool>