annotate trinity.xml @ 10:0a576a57a9eb draft default tip

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