annotate trinityrnaseq.xml @ 0:177bb1b443db draft default tip

Uploaded
author bhaas
date Mon, 16 Jul 2012 09:18:23 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
177bb1b443db Uploaded
bhaas
parents:
diff changeset
1 <tool id="trinityrnaseq" name="Trinity" version="0.0.1">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
2
177bb1b443db Uploaded
bhaas
parents:
diff changeset
3 <!-- Written by Jeremy Goecks, now maintained here by bhaas -->
177bb1b443db Uploaded
bhaas
parents:
diff changeset
4 <description>De novo assembly of RNA-Seq data Using Trinity</description>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
5 <requirements>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
6 <requirement type="package">trinity</requirement>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
7 </requirements>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
8 <command>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
9 Trinity.pl --JM $JM --CPU $CPU
177bb1b443db Uploaded
bhaas
parents:
diff changeset
10
177bb1b443db Uploaded
bhaas
parents:
diff changeset
11 ## Inputs.
177bb1b443db Uploaded
bhaas
parents:
diff changeset
12 #if str($inputs.paired_or_single) == "paired":
177bb1b443db Uploaded
bhaas
parents:
diff changeset
13 --left $inputs.left_input --right $inputs.right_input
177bb1b443db Uploaded
bhaas
parents:
diff changeset
14 #if $inputs.left_input.ext == 'fa':
177bb1b443db Uploaded
bhaas
parents:
diff changeset
15 --seqType fa
177bb1b443db Uploaded
bhaas
parents:
diff changeset
16 #else:
177bb1b443db Uploaded
bhaas
parents:
diff changeset
17 --seqType fq
177bb1b443db Uploaded
bhaas
parents:
diff changeset
18 #end if
177bb1b443db Uploaded
bhaas
parents:
diff changeset
19 #if str($inputs.library_type) != "None":
177bb1b443db Uploaded
bhaas
parents:
diff changeset
20 --SS_lib_type $inputs.library_type
177bb1b443db Uploaded
bhaas
parents:
diff changeset
21 #end if
177bb1b443db Uploaded
bhaas
parents:
diff changeset
22 --group_pairs_distance $inputs.group_pairs_distance
177bb1b443db Uploaded
bhaas
parents:
diff changeset
23 #else:
177bb1b443db Uploaded
bhaas
parents:
diff changeset
24 --single $inputs.input
177bb1b443db Uploaded
bhaas
parents:
diff changeset
25 #if str($inputs.input.ext) == 'fa':
177bb1b443db Uploaded
bhaas
parents:
diff changeset
26 --seqType fa
177bb1b443db Uploaded
bhaas
parents:
diff changeset
27 #else:
177bb1b443db Uploaded
bhaas
parents:
diff changeset
28 --seqType fq
177bb1b443db Uploaded
bhaas
parents:
diff changeset
29 #end if
177bb1b443db Uploaded
bhaas
parents:
diff changeset
30 #if str($inputs.library_type) != "None":
177bb1b443db Uploaded
bhaas
parents:
diff changeset
31 --SS_lib_type $inputs.library_type
177bb1b443db Uploaded
bhaas
parents:
diff changeset
32 #end if
177bb1b443db Uploaded
bhaas
parents:
diff changeset
33 #end if
177bb1b443db Uploaded
bhaas
parents:
diff changeset
34
177bb1b443db Uploaded
bhaas
parents:
diff changeset
35 ## Additional parameters.
177bb1b443db Uploaded
bhaas
parents:
diff changeset
36 #if str($additional_params.use_additional) == "yes":
177bb1b443db Uploaded
bhaas
parents:
diff changeset
37 --min_kmer_cov $inputs.min_kmer_cov --max_reads_per_graph $inputs.max_reads_per_graph --bflyHeapSpaceMax $input.bflyHeapSpaceMax
177bb1b443db Uploaded
bhaas
parents:
diff changeset
38 #if $inputs.bfly_opts != 'None':
177bb1b443db Uploaded
bhaas
parents:
diff changeset
39 --bfly_opts " $inputs.bfly_opts "
177bb1b443db Uploaded
bhaas
parents:
diff changeset
40 #end if
177bb1b443db Uploaded
bhaas
parents:
diff changeset
41 #end if
177bb1b443db Uploaded
bhaas
parents:
diff changeset
42
177bb1b443db Uploaded
bhaas
parents:
diff changeset
43
177bb1b443db Uploaded
bhaas
parents:
diff changeset
44 ## direct to output
177bb1b443db Uploaded
bhaas
parents:
diff changeset
45 > $trinity_log 2>&amp;1
177bb1b443db Uploaded
bhaas
parents:
diff changeset
46
177bb1b443db Uploaded
bhaas
parents:
diff changeset
47 </command>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
48 <inputs>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
49 <param name="JM" type="select" label="JM" help="Amount of memory to allocate to Jellyfish for Kmer catalog construction">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
50 <option value="1G">1G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
51 <option value="10G">10G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
52 <option value="50G">50G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
53 <option value="100G">100G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
54 <option value="200G">200G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
55 <option value="500G">500G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
56 </param>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
57
177bb1b443db Uploaded
bhaas
parents:
diff changeset
58 <param name="CPU" type="integer" value="2" min="1" label="CPU" help="Number of CPUs to use by Trinity" />
177bb1b443db Uploaded
bhaas
parents:
diff changeset
59
177bb1b443db Uploaded
bhaas
parents:
diff changeset
60
177bb1b443db Uploaded
bhaas
parents:
diff changeset
61 <conditional name="inputs">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
62 <param name="paired_or_single" type="select" label="Paired or Single-end data?">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
63 <option value="paired">Paired</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
64 <option value="single">Single</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
65 </param>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
66 <when value="paired">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
67 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
68 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
69 <param name="library_type" type="select" label="Strand-specific Library Type">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
70 <option value="None">None</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
71 <option value="FR">FR</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
72 <option value="RF">RF</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
73 </param>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
74 <param name="group_pairs_distance" type="integer" value="500" min="1" label="Group pairs distance" help="Maximum length expected between fragment pairs"/>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
75 <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" />
177bb1b443db Uploaded
bhaas
parents:
diff changeset
76
177bb1b443db Uploaded
bhaas
parents:
diff changeset
77 </when>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
78 <when value="single">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
79 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
80 <param name="library_type" type="select" label="Strand-specific Library Type">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
81 <option value="None">None</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
82 <option value="F">F</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
83 <option value="R">R</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
84 </param>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
85 <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" />
177bb1b443db Uploaded
bhaas
parents:
diff changeset
86 </when>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
87 </conditional>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
88
177bb1b443db Uploaded
bhaas
parents:
diff changeset
89 <conditional name="additional_params">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
90 <param name="use_additional" type="select" label="Use Additional Params?">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
91 <option value="no">No</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
92 <option value="yes">Yes</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
93 </param>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
94 <when value="no">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
95 </when>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
96 <when value="yes">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
97 <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" />
177bb1b443db Uploaded
bhaas
parents:
diff changeset
98 <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" />
177bb1b443db Uploaded
bhaas
parents:
diff changeset
99
177bb1b443db Uploaded
bhaas
parents:
diff changeset
100
177bb1b443db Uploaded
bhaas
parents:
diff changeset
101 <param name="bfly_opts" type="text" value="None" label="bfly_opts" help="Options to pass on to Butterfly" />
177bb1b443db Uploaded
bhaas
parents:
diff changeset
102 <param name="bflyHeapSpaceMax" type="select" label="bflyHeapSpaceMax" help="Java heap space maximum value for Butterfly">
177bb1b443db Uploaded
bhaas
parents:
diff changeset
103 <option value="1G">1G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
104 <option value="2G">2G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
105 <option value="4G" selected="true">4G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
106 <option value="10G">10G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
107 <option value="20G">20G</option>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
108 </param>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
109
177bb1b443db Uploaded
bhaas
parents:
diff changeset
110 <param name="min_contig_length" type="integer" value="200" min="1" label="Minimum Contig Length" help=""/>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
111 </when>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
112 </conditional>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
113
177bb1b443db Uploaded
bhaas
parents:
diff changeset
114
177bb1b443db Uploaded
bhaas
parents:
diff changeset
115 </inputs>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
116 <outputs>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
117 <data format="txt" name="trinity_log" label="${tool.name} on ${on_string}: log" />
177bb1b443db Uploaded
bhaas
parents:
diff changeset
118 <data format="fasta" name="assembled_transcripts" label="${tool.name} on ${on_string}: Assembled Transcripts" from_work_dir="trinity_out_dir/Trinity.fasta"/>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
119 </outputs>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
120 <tests>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
121 </tests>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
122 <help>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
123 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.
177bb1b443db Uploaded
bhaas
parents:
diff changeset
124
177bb1b443db Uploaded
bhaas
parents:
diff changeset
125 .. _Trinity: http://trinityrnaseq.sourceforge.net
177bb1b443db Uploaded
bhaas
parents:
diff changeset
126 </help>
177bb1b443db Uploaded
bhaas
parents:
diff changeset
127 </tool>