annotate velvetoptimiser.xml @ 0:d81360ea69d8 draft

Initial upload
author simon-gladman
date Tue, 28 Jun 2016 17:30:32 -0400
parents
children 7db5615f4621
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
1 <tool id="velvetoptimiser" name="VelvetOptimiser" version="1.1.0">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
2 <requirements>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
3 <requirement type="package" version="1.2.10">velvet</requirement>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
4 <requirement type="package" version="2.2.5">velvetoptimiser</requirement>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
5 </requirements>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
6 <stdio>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
7 <exit_code range="1:" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
8 </stdio>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
9
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
10 <command><![CDATA[
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
11 export OMP_NUM_THREADS=2 &&
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
12 VelvetOptimiser.pl
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
13 -t \${GALAXY_SLOTS:-2}
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
14 -s $start_kmer
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
15 -e $end_kmer
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
16 -d out
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
17 -f "
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
18 #for $i in $files:
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
19 -${i.filetype}
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
20
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
21 #if str($i.paired_type.paired_type_selector) == "paired":
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
22
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
23 #if $i.__index__ > 1:
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
24 -shortPaired$i.__index__
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
25 #else
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
26 -shortPaired
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
27 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
28
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
29 -separate $i.paired_type.input1 $i.paired_type.input2
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
30 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
31
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
32 #if str($i.paired_type.paired_type_selector) == "single"
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
33
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
34 #if $i.__index__ > 1
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
35 -short$i.__index__
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
36 #else
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
37 -short
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
38 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
39
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
40 $i.paired_type.input1
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
41 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
42
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
43 #if str($i.paired_type.paired_type_selector) == "paired_collection"
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
44 #if $i.__index__ > 1
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
45 -shortPaired$i.__index__
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
46 #else
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
47 -shortPaired
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
48 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
49 -separate $i.paired_type.input1.forward $i.paired_type.input1.reverse
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
50 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
51 #if str($i.paired_type.paired_type_selector) == "paired_iv"
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
52 #if $i.__index__ > 1
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
53 -shortPaired$i.__index__
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
54 #else
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
55 -shortPaired
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
56 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
57 $i.paired_type.input1
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
58 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
59 #end for
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
60 "
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
61
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
62 #if str($advanced.advanced_select) == "advanced"
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
63 $advanced.verbose
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
64 -k $advanced.optFuncKmer
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
65 -c $advanced.optFuncCov
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
66 #if str($advanced.velvetg_opts) != ""
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
67 -o "$advanced.velvetg_opts"
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
68 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
69 -m $advanced.minCovCutoff
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
70 -z $advanced.maxCovCutoff
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
71 #end if
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
72 ##&> $stderr
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
73
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
74 ]]></command>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
75 <inputs>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
76 <param name="start_kmer" type="integer" value="31" label="Start k-mer size" help="Odd integer, Lower limit of k-mer size range to search for optimum value" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
77 <param name="end_kmer" type="integer" value="191" label="End k-mer size" help="Odd integer, Upper limit of k-mer size range to search for optimum value" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
78 <param name="kmer_step" type="integer" value="2" label="K-mer search step size" help="Even integer, the k-mer value step size when searching the range" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
79
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
80 <repeat name="files" title="Input files" min="1">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
81 <param name="filetype" label="Input file type" type="select" help="Input file type">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
82 <option value="fastq">Fastq</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
83 <option value="fasta">Fasta</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
84 <option value="bam">Bam</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
85 </param>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
86 <conditional name="paired_type">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
87 <param name="paired_type_selector" type="select" label="Single or paired end reads" help="Select between paired and single end data">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
88 <option value="paired">Paired</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
89 <option value="single">Single</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
90 <option value="paired_collection">Paired Collection</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
91 <option value="paired_iv">Paired Interleaved</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
92 </param>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
93 <when value="paired">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
94 <param name="input1" type="data" format="fastqsanger,fasta,bam" label="Select first set of reads" help="Specify dataset with forward reads"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
95 <param name="input2" type="data" format="fastqsanger,fasta,bam" label="Select second set of reads" help="Specify dataset with reverse reads"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
96 </when>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
97 <when value="single">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
98 <param name="input1" type="data" format="fastqsanger,fasta,bam" label="Select the reads" help="Specify dataset with the reads"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
99 </when>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
100 <when value="paired_collection">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
101 <param name="input1" format="fastqsanger,fasta" type="data_collection" collection_type="paired" label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
102 </when>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
103 <when value="paired_iv">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
104 <param name="input1" type="data" format="fastqsanger,fasta,bam" label="Select set of interleaved reads" help="Specify dataset with interleaved paired reads"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
105 </when>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
106 </conditional>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
107 </repeat>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
108
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
109 <conditional name="advanced">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
110 <param name="advanced_select" type="select" label="Set advanced parameters?" help="Set more advanced Velvet Optimiser parameters - see help for details">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
111 <option value="basic">Basic</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
112 <option value="advanced">Advanced</option>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
113 </param>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
114 <when value="basic"></when>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
115 <when value="advanced">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
116 <param name="verbose" type="boolean" checked="false" truevalue="-v" falsevalue="" label="Verbose" help="Include verbose velvet output in log file" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
117 <param name="optFuncKmer" type="text" value="n50" label="K-mer optimisation function" help="See help below for possibilities!"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
118 <param name="optFuncCov" type="text" value="Lbp" label="Coverage cutoff optimisation function" help="See help below for possibilities!"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
119 <param name="velvetg_opts" type="text" value="" label="Other velvetg options" help="Add any other required velvetg options from the advanced set"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
120 <param name="minCovCutoff" type="integer" value="0" label="Minimum coverage cutoff" help="The minimum coverage cutoff to consider in the optimisation"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
121 <param name="maxCovCutoff" type="float" value="0.8" label="Maximum coverage cutoff" help="The maximum coverage cutoff to consider expressed as a fraction of the calculated expected coverage."/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
122 </when>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
123 </conditional>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
124 </inputs>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
125
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
126 <outputs>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
127 <data format="fasta" name="contigs" label="${tool.name} on ${on_string}: Contigs" from_work_dir="out/contigs.fa"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
128 <data format="tabular" name="stats" label="${tool.name} on ${on_string}: Contig Stats" from_work_dir="out/stats.txt"/>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
129 <data format="tabular" name="logfile" label="${tool.name} on ${on_string}: Log file" hidden="True">
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
130 <discover_datasets pattern=".+Logfile.+" dir="out" visible="True" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
131 </data>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
132 <!-- <data format="tabular" name="stderr" label="${tool.name} on ${on_string}: STDERR" hidden="True" /> -->
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
133 </outputs>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
134
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
135 <tests>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
136 <test>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
137 <param name="start_kmer" value="21" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
138 <param name="end_kmer" value="31" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
139 <param name="files_0|filetype" value="fasta" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
140 <param name="files_0|paired_type|paired_type_selector" value="single" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
141 <param name="files_0|paired_type|input1" value="test_reads.fa" ftype="fasta" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
142 <output name="contigs" ftype="fasta" file="test-contigs.fa" />
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
143 </test>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
144 </tests>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
145
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
146 <help><![CDATA[
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
147 **Velvet Optimiser Overview**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
148
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
149 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.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
150
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
151 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.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
152
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
153 Read the Velvet `documentation`__ for details on using the Vevlet Assembler.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
154
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
155 .. _Velvet: http://www.ebi.ac.uk/~zerbino/velvet/
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
156
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
157 .. __: http://www.ebi.ac.uk/~zerbino/velvet/Manual.pdf
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
158
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
159 **VelvetOptimiser**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
160
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
161 VelvetOptimiser_ was written by Simon Gladman of CSIRO/Melbourne University.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
162
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
163 VelvetOptimiser performs a number of velveth and velvetg steps to try and optimise an assembly based on the metrics provided below.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
164
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
165 .. _VelvetOptimiser: http://bioinformatics.net.au/software.shtml
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
166
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
167 **Velvet Optimiser**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
168
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
169 Galaxy tool wrapper for newer versions (2.5.5) of Velvet Optimiser. Written by Simon Gladman of VBC/VLSCI.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
170
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
171 Written for use on the Genomics Virtual Laboratory.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
172
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
173 **Outputs**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
174
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
175
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
176 **Contigs**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
177
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
178 The *contigs.fa* file.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
179 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 lgth threshold, then the contigs shorter than that value are omitted.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
180 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.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
181 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.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
182
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
183 **Stats**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
184
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
185 The *stats.txt* file.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
186 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.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
187 The in and out columns correspond to the number of arcs on the 5' and 3' ends of the contig respectively.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
188 The coverages in columns short1 cov, short1 Ocov, short2 cov, and short2 Ocov are provided in k-mer coverage (5.1).
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
189 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.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
190
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
191 **LastGraph**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
192
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
193 The *LastGraph* file.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
194 This file describes in its entirety the graph produced by Velvet. This file is hidden by default.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
195
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
196 **Logfile**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
197
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
198 The Velvet Optimiser's logfile. This file is hidden by default
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
199
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
200 **STDERR**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
201
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
202 The Standard Error output of the Optimiser for error messages etc. This file is hidden by default.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
203
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
204 **Advanced options**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
205
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
206 Verbose : Include verbose velvet output in log file. Good for debugging when things don't work.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
207
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
208 Other Velvetg Options : Extra velvetg options to pass through. eg. -long_mult_cutoff -max_coverage etc (default '') See below for details.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
209
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
210 Minimum coverage cutoff : The minimum cov_cutoff to be used. (default '0').
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
211
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
212 Maximum coverage cutoff : The maximum coverage cutoff to consider as a multiplier of the expected coverage. (default '0.8').
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
213
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
214 K-mer optimisation function : The optimisation function used for k-mer choice. (default 'n50').
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
215
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
216 Coverage cutoff optimisation function : The optimisation function used for cov_cutoff optimisation. (default 'Lbp').
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
217
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
218 Velvet optimiser assembly optimisation function can be built from the following variables.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
219
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
220 LNbp = The total number of Ns in large contigs
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
221
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
222 Lbp = The total number of base pairs in large contigs
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
223
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
224 Lcon = The number of large contigs
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
225
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
226 max = The length of the longest contig
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
227
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
228 n50 = The n50
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
229
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
230 ncon = The total number of contigs
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
231
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
232 tbp = The total number of basepairs in contigs
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
233
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
234 Examples are:
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
235
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
236 'Lbp' = Just the total basepairs in contigs longer than 1kb
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
237
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
238 'n50*Lcon' = The n50 times the number of long contigs.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
239
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
240 'n50*Lcon/tbp+log(Lbp)' = The n50 times the number of long contigs divided by the total bases in all contigs plus the log of the number of bases in long contigs (as an example only.)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
241
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
242 **Hash Length**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
243
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
244 The hash length, also known as k-mer length, corresponds to the length, in base pairs, of the words being hashed.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
245
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
246 The hash length is the length of the k-mers being entered in the hash table. Firstly, you must observe three technical constraints::
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
247
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
248 # it must be an odd number, to avoid palindromes. If you put in an even number, Velvet will just decrement it and proceed.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
249 # it must be below or equal to MAXKMERHASH length (cf. 2.3.3, by default 31bp), because it is stored on 64 bits
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
250 # it must be strictly inferior to read length, otherwise you simply will not observe any overlaps between reads, for obvious reasons.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
251
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
252 Now you still have quite a lot of possibilities. As is often the case, it's a trade- off between specificity and sensitivity. Longer kmers bring you more specificity (i.e. less spurious overlaps) but lowers coverage (cf. below). . . so there's a sweet spot to be found with time and experience.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
253 We like to think in terms of "k-mer coverage", i.e. how many times has a k-mer been seen among the reads. The relation between k-mer coverage Ck and standard (nucleotide-wise) coverage C is Ck = C # (L - k + 1)/L where k is your hash length, and L you read length.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
254 Experience shows that this kmer coverage should be above 10 to start getting decent results. If Ck is above 20, you might be "wasting" coverage. Experience also shows that empirical tests with different values for k are not that costly to run! VelvetOptimiser automates these tests for you.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
255
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
256
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
257 **Velvetg options**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
258
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
259 -scaffolding yes|no : scaffolding of contigs used paired end information (default: on)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
260
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
261 -max_branch_length integer : maximum length in base pair of bubble (default: 100)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
262
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
263 max_divergence floating-point : maximum divergence rate between two branches in a bubble (default: 0.2)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
264
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
265 -max_gap_count integer : maximum number of gaps allowed in the alignment of the two branches of a bubble (default: 3)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
266
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
267 -min_pair_count integer : minimum number of paired end connections to justify the scaffolding of two long contigs (default: 5)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
268
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
269 -max_coverage floating point : removal of high coverage nodes AFTER tour bus (default: no removal)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
270
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
271 -coverage_mask integer : minimum coverage required for confident regions of contigs (default: 1)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
272
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
273 -long_mult_cutoff integer : minimum number of long reads required to merge contigs (default: 2)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
274
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
275 -paired_exp_fraction double : remove all the paired end connections which less than the specified fraction of the expected count (default: 0.1)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
276
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
277 -conserveLong yes|no : preserve sequences with long reads in them (default no)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
278
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
279
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
280 **Input Files**
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
281
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
282 Velvet works mainly with fasta and fastq formats. For paired-end reads, the assumption is that each read is next to its mate
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
283 read. In other words, if the reads are indexed from 0, then reads 0 and 1 are paired, 2 and 3, 4 and 5, etc.
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
284
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
285 Supported file formats are::
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
286
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
287 fasta
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
288 fastq
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
289 bam
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
290
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
291 Read categories are::
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
292
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
293 short (default)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
294 shortPaired
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
295 long (for Sanger, 454 or even reference sequences)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
296 longPaired
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
297 reference (for pre-mapped sam or bam files - see Velvet manual for details on how to use this option)
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
298
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
299
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
300 ]]></help>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
301 <citations>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
302 <citation type="bibtex">@UNPUBLISHED{GLADMAN2012,
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
303 author = "Gladman Simon",
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
304 title = "VelvetOptimiser",
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
305 year = "2012",
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
306 note = "https://github.com/slugger70/VelvetOptimiser"}
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
307 </citation>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
308 <citation type="doi">10.1101/gr.074492.107</citation>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
309 <citation type="doi">10.1371/journal.pone.0008407</citation>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
310 </citations>
d81360ea69d8 Initial upload
simon-gladman
parents:
diff changeset
311 </tool>