annotate trinityrnaseq.xml @ 8:233f2f5169f8

Change hmmer tool_dependency to iuc
author Jim Johnson <jj@umn.edu>
date Thu, 06 Feb 2014 09:33:47 -0600
parents d5580071d910
children 09c1e388c20c
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
4
d5580071d910 Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
43
d5580071d910 Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
44 ## direct output to the log file
d5580071d910 Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
45 | tee $trinity_log
d5580071d910 Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
46 ## Check output for success message (direct grep output to dev null, -q option quits early leaving tee error messages)
d5580071d910 Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
47 | grep 'All commands completed successfully.' > /dev/null
d5580071d910 Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
48 ## Print the stats to output to provide info on galaxy history item
d5580071d910 Update commandline to detect successful completion
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
49 &amp;&amp; \$TRINITY_HOME/util/TrinityStats.pl trinity_out_dir/Trinity.fasta
0
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
50 </command>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
51 <inputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
52 <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
53 <option value="1G">1G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
54 <option value="10G">10G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
55 <option value="50G">50G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
56 <option value="100G">100G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
57 <option value="200G">200G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
58 <option value="500G">500G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
59 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
60
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
61 <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
62
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
63
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
64 <conditional name="inputs">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
65 <param name="paired_or_single" type="select" label="Paired or Single-end data?">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
66 <option value="paired">Paired</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
67 <option value="single">Single</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
68 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
69 <when value="paired">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
70 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
71 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
72 <param name="library_type" type="select" label="Strand-specific Library Type">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
73 <option value="None">None</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
74 <option value="FR">FR</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
75 <option value="RF">RF</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
76 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
77 <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
78 <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
79
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
80 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
81 <when value="single">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
82 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
83 <param name="library_type" type="select" label="Strand-specific Library Type">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
84 <option value="None">None</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
85 <option value="F">F</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
86 <option value="R">R</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
87 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
88 <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
89 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
90 </conditional>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
91
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
92 <conditional name="additional_params">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
93 <param name="use_additional" type="select" label="Use Additional Params?">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
94 <option value="no">No</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
95 <option value="yes">Yes</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
96 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
97 <when value="no">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
98 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
99 <when value="yes">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
100 <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
101 <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
102 <param name="bfly_opts" type="text" value="None" label="bfly_opts" help="Options to pass on to Butterfly" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
103 <param name="bflyHeapSpaceMax" type="select" label="bflyHeapSpaceMax" help="Java heap space maximum value for Butterfly">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
104 <option value="1G">1G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
105 <option value="2G">2G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
106 <option value="4G" selected="true">4G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
107 <option value="10G">10G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
108 <option value="20G">20G</option>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
109 </param>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
110 <param name="min_contig_length" type="integer" value="200" min="1" label="Minimum Contig Length" help=""/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
111 </when>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
112 </conditional>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
113 </inputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
114 <stdio>
2
5eb99d21ef0d Add trinityrnaseq_norm and transcriptsToOrfs tools
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
115 <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
116 <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
117 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
118 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
119 description="Trinity.pl not found" />
0
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
120 </stdio>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
121 <outputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
122 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
123 <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
124 </outputs>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
125 <tests>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
126
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
127 <test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
128 <param name="JM" value="1G"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
129 <param name="CPU" value="1"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
130 <param name="paired_or_single" value="single"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
131 <param name="input" ftype="fastq" value="reads.left.fq"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
132 <param name="library_type" value="None"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
133 <param name="path_reinforcement_distance" value="40"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
134 <param name="use_additional" value="no"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
135 <output name="trinity_log">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
136 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
137 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
138 <has_text text="Butterfly assemblies are written to" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
139 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
140 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
141 <output name="assembled_transcripts">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
142 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
143 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
144 <has_text text="CCATGAGGGGGGGGGGCAATGG" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
145 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
146 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
147 </test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
148
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
149 <test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
150 <param name="JM" value="1G"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
151 <param name="CPU" value="1"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
152 <param name="paired_or_single" value="paired"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
153 <param name="left_input" ftype="fastq" value="reads.left.fq"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
154 <param name="right_input" ftype="fastq" value="reads.right.fq"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
155 <param name="library_type" value="None"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
156 <param name="group_pairs_distance" value="500"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
157 <param name="path_reinforcement_distance" value="75"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
158 <param name="use_additional" value="no"/>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
159 <output name="trinity_log">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
160 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
161 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
162 <has_text text="Butterfly assemblies are written to" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
163 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
164 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
165 <output name="assembled_transcripts">
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
166 <assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
167 <!-- sequence merged from multiple reads -->
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
168 <has_text text="AAGCTGGCCTCAAATTCCTGATCC" />
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
169 </assert_contents>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
170 </output>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
171 </test>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
172 </tests>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
173 <help>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
174 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
175
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
176 .. _Trinity: http://trinityrnaseq.sourceforge.net
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
177 </help>
d4ce07eb63bd Uploaded
jjohnson
parents:
diff changeset
178 </tool>