Mercurial > repos > jjohnson > trinityrnaseq
annotate trinityrnaseq.xml @ 1:a34ce2b18877
Update tool_dependencies to trinityrnaseq_2013_08_14 and add samtools and bowtie
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Fri, 30 Aug 2013 10:56:26 -0500 |
parents | d4ce07eb63bd |
children | 5eb99d21ef0d |
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 | 2 <!-- Written by Jeremy Goecks, now maintained here by bhaas --> |
3 <description>De novo assembly of RNA-Seq data Using Trinity</description> | |
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 | 8 </requirements> |
9 <command> | |
10 Trinity.pl --JM $JM --CPU $CPU | |
11 | |
12 ## Inputs. | |
13 #if str($inputs.paired_or_single) == "paired": | |
14 --left $inputs.left_input --right $inputs.right_input | |
15 #if $inputs.left_input.ext == 'fa': | |
16 --seqType fa | |
17 #else: | |
18 --seqType fq | |
19 #end if | |
20 #if str($inputs.library_type) != "None": | |
21 --SS_lib_type $inputs.library_type | |
22 #end if | |
23 --group_pairs_distance $inputs.group_pairs_distance | |
24 #else: | |
25 --single $inputs.input | |
26 #if str($inputs.input.ext) == 'fa': | |
27 --seqType fa | |
28 #else: | |
29 --seqType fq | |
30 #end if | |
31 #if str($inputs.library_type) != "None": | |
32 --SS_lib_type $inputs.library_type | |
33 #end if | |
34 #end if | |
35 | |
36 ## Additional parameters. | |
37 #if str($additional_params.use_additional) == "yes": | |
38 --min_kmer_cov $additional_params.min_kmer_cov --max_reads_per_graph $additional_params.max_reads_per_graph --bflyHeapSpaceMax $additional_params.bflyHeapSpaceMax | |
39 #if $additional_params.bfly_opts != 'None': | |
40 --bfly_opts " $additional_params.bfly_opts " | |
41 #end if | |
42 #end if | |
43 | |
44 | |
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 | 47 |
48 </command> | |
49 <inputs> | |
50 <param name="JM" type="select" label="JM" help="Amount of memory to allocate to Jellyfish for Kmer catalog construction"> | |
51 <option value="1G">1G</option> | |
52 <option value="10G">10G</option> | |
53 <option value="50G">50G</option> | |
54 <option value="100G">100G</option> | |
55 <option value="200G">200G</option> | |
56 <option value="500G">500G</option> | |
57 </param> | |
58 | |
59 <param name="CPU" type="integer" value="2" min="1" label="CPU" help="Number of CPUs to use by Trinity" /> | |
60 | |
61 | |
62 <conditional name="inputs"> | |
63 <param name="paired_or_single" type="select" label="Paired or Single-end data?"> | |
64 <option value="paired">Paired</option> | |
65 <option value="single">Single</option> | |
66 </param> | |
67 <when value="paired"> | |
68 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/> | |
69 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/> | |
70 <param name="library_type" type="select" label="Strand-specific Library Type"> | |
71 <option value="None">None</option> | |
72 <option value="FR">FR</option> | |
73 <option value="RF">RF</option> | |
74 </param> | |
75 <param name="group_pairs_distance" type="integer" value="500" min="1" label="Group pairs distance" help="Maximum length expected between fragment pairs"/> | |
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" /> | |
77 | |
78 </when> | |
79 <when value="single"> | |
80 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/> | |
81 <param name="library_type" type="select" label="Strand-specific Library Type"> | |
82 <option value="None">None</option> | |
83 <option value="F">F</option> | |
84 <option value="R">R</option> | |
85 </param> | |
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" /> | |
87 </when> | |
88 </conditional> | |
89 | |
90 <conditional name="additional_params"> | |
91 <param name="use_additional" type="select" label="Use Additional Params?"> | |
92 <option value="no">No</option> | |
93 <option value="yes">Yes</option> | |
94 </param> | |
95 <when value="no"> | |
96 </when> | |
97 <when value="yes"> | |
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" /> | |
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" /> | |
100 <param name="bfly_opts" type="text" value="None" label="bfly_opts" help="Options to pass on to Butterfly" /> | |
101 <param name="bflyHeapSpaceMax" type="select" label="bflyHeapSpaceMax" help="Java heap space maximum value for Butterfly"> | |
102 <option value="1G">1G</option> | |
103 <option value="2G">2G</option> | |
104 <option value="4G" selected="true">4G</option> | |
105 <option value="10G">10G</option> | |
106 <option value="20G">20G</option> | |
107 </param> | |
108 <param name="min_contig_length" type="integer" value="200" min="1" label="Minimum Contig Length" help=""/> | |
109 </when> | |
110 </conditional> | |
111 </inputs> | |
112 <stdio> | |
113 <exit_code range="1:" level="fatal" description="Faiiled" /> | |
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 | 122 </stdio> |
123 <outputs> | |
124 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" /> | |
125 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/> | |
126 </outputs> | |
127 <tests> | |
128 | |
129 <test> | |
130 <param name="JM" value="1G"/> | |
131 <param name="CPU" value="1"/> | |
132 <param name="paired_or_single" value="single"/> | |
133 <param name="input" ftype="fastq" value="reads.left.fq"/> | |
134 <param name="library_type" value="None"/> | |
135 <param name="path_reinforcement_distance" value="40"/> | |
136 <param name="use_additional" value="no"/> | |
137 <output name="trinity_log"> | |
138 <assert_contents> | |
139 <!-- sequence merged from multiple reads --> | |
140 <has_text text="Butterfly assemblies are written to" /> | |
141 </assert_contents> | |
142 </output> | |
143 <output name="assembled_transcripts"> | |
144 <assert_contents> | |
145 <!-- sequence merged from multiple reads --> | |
146 <has_text text="CCATGAGGGGGGGGGGCAATGG" /> | |
147 </assert_contents> | |
148 </output> | |
149 </test> | |
150 | |
151 <test> | |
152 <param name="JM" value="1G"/> | |
153 <param name="CPU" value="1"/> | |
154 <param name="paired_or_single" value="paired"/> | |
155 <param name="left_input" ftype="fastq" value="reads.left.fq"/> | |
156 <param name="right_input" ftype="fastq" value="reads.right.fq"/> | |
157 <param name="library_type" value="None"/> | |
158 <param name="group_pairs_distance" value="500"/> | |
159 <param name="path_reinforcement_distance" value="75"/> | |
160 <param name="use_additional" value="no"/> | |
161 <output name="trinity_log"> | |
162 <assert_contents> | |
163 <!-- sequence merged from multiple reads --> | |
164 <has_text text="Butterfly assemblies are written to" /> | |
165 </assert_contents> | |
166 </output> | |
167 <output name="assembled_transcripts"> | |
168 <assert_contents> | |
169 <!-- sequence merged from multiple reads --> | |
170 <has_text text="AAGCTGGCCTCAAATTCCTGATCC" /> | |
171 </assert_contents> | |
172 </output> | |
173 </test> | |
174 </tests> | |
175 <help> | |
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. | |
177 | |
178 .. _Trinity: http://trinityrnaseq.sourceforge.net | |
179 </help> | |
180 </tool> |