annotate tools/sr_assembly/velvetg.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="velvetg" name="velvetg" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>Velvet sequence assembler for very short reads</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 velvetg_wrapper.py
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 '$input.extra_files_path'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 '$contigs' '$stats' '$LastGraph' '$velvet_asm' '$unused_reads_fasta'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 #if $generate_amos.afg == "yes":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 -amos_file $generate_amos.afg
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 #if $unused_reads.generate_unused == "yes":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 -unused_reads $unused_reads.generate_unused
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 $read_trkg
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 #if $coverage.cutoff == "auto":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 -cov_cutoff auto
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 #elif $coverage.cutoff == "value":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 -cov_cutoff $coverage.cov_cutoff
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 #if $expected.coverage == "auto":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 -exp_cov auto
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 #elif $expected.coverage == "value":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 -exp_cov $expected.cov_cutoff
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 #if $contig_lgth.use_contig_lgth == "yes":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 -min_contig_lgth $contig_lgth.min_contig_lgth
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 #if $reads.paired == "yes":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 #if int($reads.ins_length) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 -ins_length $reads.ins_length
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 #if $reads.options.advanced == "yes":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 #if int($reads.options.ins_length_sd) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 -ins_length_sd $reads.options.ins_length_sd
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 #if int($reads.options.ins_length2) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 -ins_length2 $reads.options.ins_length2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 #if int($reads.options.ins_length2_sd) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 -ins_length2_sd $reads.options.ins_length2_sd
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 #if int($reads.options.ins_length_long) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 -ins_length_long $reads.options.ins_length_long
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 #if int($reads.options.ins_length_long_sd) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 -ins_length_long_sd $reads.options.ins_length_long_sd
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 #if int($reads.options.max_branch_length) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 -max_branch_length $reads.options.max_branch_length
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 #if int($reads.options.max_divergence) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 -max_divergence $reads.options.max_divergence
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 #if int($reads.options.max_gap_count) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 -max_gap_count $reads.options.max_gap_count
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 #if int($reads.options.min_pair_count) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 -min_pair_count $reads.options.min_pair_count
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 #if int($reads.options.max_coverage) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 -max_coverage $reads.options.max_coverage
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 #if int($reads.options.long_mult_cutoff) > 0:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 -long_mult_cutoff $reads.options.long_mult_cutoff
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 $reads.options.scaffolding
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 <param name="input" type="data" format="velvet" label="Velvet Dataset" help="Prepared by velveth."/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 <conditional name="generate_amos">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 <param name="afg" type="select" label="Generate a AMOS.afg file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 <option value="no">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 <option value="yes">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 <when value="no"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 <when value="yes"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 <conditional name="unused_reads">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 <param name="generate_unused" type="select" label="Generate a UnusedReads fasta file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 <option value="no">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 <option value="yes">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 <when value="no"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 <when value="yes"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 <conditional name="last_graph">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 <param name="generate_graph" type="select" label="Generate velvet LastGraph file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 <option value="no">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 <option value="yes">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 <when value="no"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95 <when value="yes"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98 <param name="read_trkg" type="boolean" checked="false" truevalue="-read_trkg yes" falsevalue="-read_trkg no" label="track short read positions" help=" tracking of short read positions in assembly"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 <conditional name="coverage">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 <param name="cutoff" type="select" label="Coverage cutoff" help="">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102 <option value="none">None</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 <option value="auto">Automatically Determined</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104 <option value="value">Specify Cutoff Value</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
106 <when value="none"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
107 <when value="auto"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
108 <when value="value">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
109 <param name="cov_cutoff" value = "10.0" label="Remove nodes with coverage below" type="float" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
110 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
111 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
112
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
113 <conditional name="expected">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
114 <param name="coverage" type="select" label="Expected Coverage of Unique Regions" help="">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
115 <option value="none">None</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
116 <option value="auto">Automatically Determined</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
117 <option value="value">Specify Expected Value</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
118 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
119 <when value="none"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
120 <when value="auto"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
121 <when value="value">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
122 <param name="exp_cov" value = "10.0" label="Remove nodes with coverage below" type="float" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
123 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
124 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
125
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
126 <conditional name="contig_lgth">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
127 <param name="use_contig_lgth" type="select" label=" Set minimum contig length" help="minimum contig length exported to contigs.fa file (default: hash length * 2).">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
128 <option value="no">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
129 <option value="yes">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
130 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
131 <when value="no"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
132 <when value="yes">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
133 <param name="min_contig_lgth" value = "42" label="minimum contig length" type="integer" help="minimum contig length exported to contigs.fa file (default: hash length * 2)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
134 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
135 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
136
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
137 <conditional name="reads">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
138 <param name="paired" type="select" label="Using Paired Reads">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
139 <option value="no">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
140 <option value="yes" selected="${input.metadata.paired_end_reads}">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
141 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
142 <when value="no"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
143 <when value="yes">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
144 <param name="ins_length" value = "-1" label="Insert Length in Paired-End Read dataset (ignored when -1)" type="integer" help="Expected distance between two paired end reads"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
145 <conditional name="options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
146 <param name="advanced" type="select" label="Velvet Advanced Options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
147 <option value="no">Use Defaults</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
148 <option value="yes">Set Advanced Option Values</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
149 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
150 <when value="no"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
151 <when value="yes">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
152 <param name="ins_length_sd" value = "-1" label="Estimate of Standard Deviation of Paired-End Read dataset(ignored when -1)" type="integer" help="Estimate of standard deviation of Paired-End Read dataset (default: 10% of corresponding length)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
153 <param name="ins_length2" value = "-1" label="Insert Length in 2nd Paired-End Short Read dataset (ignored when -1)" type="integer" help="Expected distance between two paired end reads in the second short-read dataset"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
154 <param name="ins_length2_sd" value = "-1" label="Estimate of Standard Deviation of 2nd Paired-End Read dataset (ignored when -1)" type="integer" help="Estimate of standard deviation of 2nd Paired-End Read dataset (default: 10% of corresponding length)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
155 <param name="ins_length_long" value = "-1" label="Insert Length in Long Paired-End Read dataset (ignored when -1)" type="integer" help="Expected distance between two long paired-end reads"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
156 <param name="ins_length_long_sd" value = "-1" label="Estimate of Standard Deviation of 2nd Paired-End Read dataset (ignored when -1)" type="integer" help="Estimate of standard deviation of Long Paired-End Read dataset (default: 10% of corresponding length)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
157 <param name="max_branch_length" value = "-1" label="Maximum branch length (ignored when -1)" type="integer" help="maximum length in base pair of bubble (default: 100)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
158 <param name="max_divergence" value = "-1." label="Maximum max_divergence (between .0 and 1., ignored when -1.)" type="float" help="maximum divergence rate between two branches in a bubble (default: .2)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
159 <param name="max_gap_count" value = "-1" label="Maximum gap count (ignored when -1)" type="integer" help="maximum number of gaps allowed in the alignment of the two branches of a bubble (default: 3)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
160 <param name="min_pair_count" value = "-1" label="Minimum read-pair count (ignored when -1)" type="integer" help="minimum number of paired end connections to justify the scaffolding of two long contigs (default: 10)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
161 <param name="max_coverage" value = "-1." label="Maximum coverage exclusion(ignored when -1.)" type="float" help="Exclude data that has coverage more than this maximum coverage value"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
162 <param name="long_mult_cutoff" value = "-1" label="Minimum number of long reads required to merge contigs (ignored when -1)" type="integer" help="minimum number of long reads required to merge contigs (default: 2)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
163 <param name="scaffolding" type="boolean" checked="true" truevalue="-scaffolding yes" falsevalue="-scaffolding no" label="Use Scaffolding" help="Scaffold contigs that it cannot quite be connected (This results in sequences of Ns in the contigs)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
164
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
165 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
166 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
167 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
168 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
169 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
170 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
171 <!--
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
172 <data format="velvet_graph" name="LastGraph" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
173 -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
174 <data format="txt" name="LastGraph" label="${tool.name} on ${on_string}: LastGraph">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
175 <filter>last_graph['generate_graph'] == "yes"</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
176 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
177 <data format="afg" name="velvet_asm" label="${tool.name} on ${on_string}: AMOS.afg">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
178 <filter>generate_amos['afg'] == "yes"</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
179 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
180 <data format="fasta" name="unused_reads_fasta" label="${tool.name} on ${on_string}: Unused Reads">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
181 <filter>unused_reads['generate_unused'] == "yes"</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
182 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
183 <data format="tabular" name="stats" label="${tool.name} on ${on_string}: Stats"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
184 <data format="fasta" name="contigs" label="${tool.name} on ${on_string}: Contigs"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
185 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
186 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
187 <requirement type="package">velvet</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
188 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
189 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
190 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
191 <param name="input" value="velveth_test1/output.html" ftype="velvet" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
192 <composite_data value='velveth_test1/Sequences' ftype="Sequences"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
193 <composite_data value='velveth_test1/Roadmaps' ftype="Roadmaps"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
194 <composite_data value='velveth_test1/Log'/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
195 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
196 <param name="afg" value="yes" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
197 <param name="generate_unused" value="yes" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
198 <param name="generate_graph" value="no" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
199 <param name="read_trkg" value="-read_trkg no" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
200 <param name="cutoff" value="auto" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
201 <param name="coverage" value="auto" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
202 <param name="use_contig_lgth" value="no" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
203 <param name="paired" value="no" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
204 <!--
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
205 <output name="LastGraph" file="velvetg_test1/lastgraph.txt" compare="diff"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
206 -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
207 <output name="velvet_asm" file="velvetg_test1/amos.afg" compare="diff"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
208 <output name="unused_reads_fasta" file="velvetg_test1/unusedreads.fa" compare="diff"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
209 <output name="stats" file="velvetg_test1/stats.csv" compare="diff"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
210 <output name="contigs" file="velvetg_test1/contigs.fa" compare="diff"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
211 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
212 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
213 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
214 **Velvet Overview**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
215
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
216 Velvet_ is a de novo genomic assembler specially designed for short read sequencing technologies, such as Solexa or 454, developed by Daniel Zerbino and Ewan Birney at the European Bioinformatics Institute (EMBL-EBI), near Cambridge, in the United Kingdom.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
217
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
218 Velvet currently takes in short read sequences, removes errors then produces high quality unique contigs. It then uses paired-end read and long read information, when available, to retrieve the repeated areas between contigs.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
219
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
220 Read the Velvet `documentation`__ for details on using the Velvet Assembler.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
221
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
222 .. _Velvet: http://www.ebi.ac.uk/~zerbino/velvet/
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
223
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
224 .. __: http://www.ebi.ac.uk/~zerbino/velvet/Manual.pdf
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
225
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
226 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
227
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
228 **Input formats**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
229
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
230 Velvet can input sequence files in the following formats: fasta fastq fasta.gz fastq.gz eland gerald
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
231
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
232 The input files are prepared for the velvet assembler using **velveth**.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
233
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
234 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
235
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
236 **Outputs**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
237
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
238 **Contigs**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
239
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
240 The *contigs.fa* file.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
241 This fasta file contains the sequences of the contigs longer than 2k, where k is the word-length used in velveth. If you have specified a min contig length threshold, then the contigs shorter than that value are omitted.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
242 Note that the length and coverage information provided in the header of each contig should therefore be understood in k-mers and in k-mer coverage (cf. 5.1) respectively.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
243 The N's in the sequence correspond to gaps between scaffolded contigs. The number of N's corresponds to the estimated length of the gap. For reasons of compatibility with the archives, any gap shorter than 10bp is represented by a sequence of 10 N's.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
244
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
245 **Stats**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
246
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
247 The *stats.txt* file.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
248 This file is a simple tabbed-delimited description of the nodes. The column names are pretty much self-explanatory. Note however that node lengths are given in k-mers. To obtain the length in nucleotides of each node you simply need to add k - 1, where k is the word-length used in velveth.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
249 The in and out columns correspond to the number of arcs on the 5' and 3' ends of the contig respectively.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
250 The coverages in columns short1 cov, short1 Ocov, short2 cov, and short2 Ocov are provided in k-mer coverage (5.1).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
251 Also, the difference between # cov and # Ocov is the way these values are computed. In the first count, slightly divergent sequences are added to the coverage tally. However, in the second, stricter count, only the sequences which map perfectly onto the consensus sequence are taken into account.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
252
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
253 **LastGraph**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
254
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
255 The *LastGraph* file.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
256 This file describes in its entirety the graph produced by Velvet.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
257
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
258 **AMOS.afg**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
259
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
260 The *velvet_asm.afg* file.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
261 This file is mainly designed to be read by the open-source AMOS genome assembly package. Nonetheless, a number of programs are available to transform this kind of file into other assembly file formats (namely ACE, TIGR, Arachne and Celera). See http://amos.sourceforge.net/ for more information.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
262 The file describes all the contigs contained in the contigs.fa file (cf 4.2.1).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
263
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
264 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
265
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
266 **Velvet parameter list**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
267
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
268 This is a list of implemented Velvetg options::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
269
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
270 Standard options:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
271 -cov_cutoff floating-point|auto : removal of low coverage nodes AFTER tour bus or allow the system to infer it
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
272 (default: no removal)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
273 -ins_length integer : expected distance between two paired end reads (default: no read pairing)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
274 -read_trkg yes|no : tracking of short read positions in assembly (default: no tracking)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
275 -min_contig_lgth integer : minimum contig length exported to contigs.fa file (default: hash length * 2)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
276 -amos_file yes|no : export assembly to AMOS file (default: no export)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
277 -exp_cov floating point|auto : expected coverage of unique regions or allow the system to infer it
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
278 (default: no long or paired-end read resolution)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
279
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
280 Advanced options:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
281 -ins_length2 integer : expected distance between two paired-end reads in the second short-read dataset (default: no read pairing)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
282 -ins_length_long integer : expected distance between two long paired-end reads (default: no read pairing)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
283 -ins_length*_sd integer : est. standard deviation of respective dataset (default: 10% of corresponding length)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
284 [replace '*' by nothing, '2' or '_long' as necessary]
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
285 -scaffolding yes|no : scaffolding of contigs used paired end information (default: on)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
286 -max_branch_length integer : maximum length in base pair of bubble (default: 100)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
287 -max_divergence floating-point : maximum divergence rate between two branches in a bubble (default: 0.2)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
288 -max_gap_count integer : maximum number of gaps allowed in the alignment of the two branches of a bubble (default: 3)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
289 -min_pair_count integer : minimum number of paired end connections to justify the scaffolding of two long contigs (default: 10)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
290 -max_coverage floating point : removal of high coverage nodes AFTER tour bus (default: no removal)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
291 -long_mult_cutoff int : minimum number of long reads required to merge contigs (default: 2)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
292 -unused_reads yes|no : export unused reads in UnusedReads.fa file (default: no)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
293
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
294 Output:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
295 directory/contigs.fa : fasta file of contigs longer than twice hash length
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
296 directory/stats.txt : stats file (tab-spaced) useful for determining appropriate coverage cutoff
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
297 directory/LastGraph : special formatted file with all the information on the final graph
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
298 directory/velvet_asm.afg : (if requested) AMOS compatible assembly file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
299
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
300 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
301 </tool>