annotate FLASH.xml @ 2:6889442b27dc draft default tip

Uploaded
author aaronpetkau
date Sat, 04 Jul 2015 08:58:21 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
1 <tool id="FLASH" name="FLASH" version="1.3.0">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
2 <description>merge paired-end reads from fragments that are shorter than twice the length of reads</description>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
3 <command interpreter="bash">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
4 FLASH.sh $extendedFrags $notCombined1 $notCombined2 $interNotCombined $readsAndPairs $log_file -o out -t 4
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
5 #if $min_overlap
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
6 -m $min_overlap
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
7 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
8 #if $max_overlap
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
9 -M $max_overlap
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
10 #else
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
11 -M 250
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
12 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
13 #if $outputs.output_type == "Interleaved_fastq"
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
14 --interleaved-output
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
15 #else if $outputs.output_type == "tab"
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
16 -To
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
17 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
18 #if $options.options_select == "advanced"
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
19 #if $options.max_mismatch_density
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
20 -x $options.max_mismatch_density
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
21 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
22 #if $options.phred_offset
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
23 -p $options.phred_offset
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
24 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
25 #if $options.read_length
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
26 -r $options.read_length
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
27 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
28 #if $options.fragment_length
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
29 -f $options.fragment_length
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
30 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
31 #if $options.fragment_stdev
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
32 -s $options.fragment_stdev
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
33 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
34 #if $options.cap_mismatch_quals
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
35 $options.cap_mismatch_quals
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
36 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
37 #if $options.quiet
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
38 $options.quiet
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
39 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
40 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
41
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
42 #if $input_type.sPaired == "paired":
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
43 $input_type.pInput1 $input_type.pInput2
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
44 #elif $input_type.sPaired == "collections":
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
45 $input_type.fastq_collection.forward $input_type.fastq_collection.reverse
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
46 #end if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
47
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
48 </command>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
49 <inputs>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
50 <conditional name="input_type">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
51 <param name="sPaired" type="select" label="Single Pair or Collection">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
52 <option value="collections">Paired-end Collections</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
53 <option value="paired">Paired-end</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
54 </param>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
55 <when value="paired">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
56 <param name="pInput1" type="data" format="fastq,fastqsanger,fastqillumina,fastqsolexa" label="Forward FASTQ file" help="Must have ASCII encoded quality scores"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
57 <param name="pInput2" type="data" format="fastq,fastqsanger,fastqillumina,fastqsolexa" label="Reverse FASTQ file" help="File format must match the Forward FASTQ file"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
58 </when>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
59 <when value="collections">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
60 <param name="fastq_collection" type="data_collection" label="Paired-end Fastq collection" help="" optional="false" format="txt" collection_type="paired" />
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
61 </when>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
62 </conditional>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
63
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
64 <param name="min_overlap" type="integer" label="Minimum overlap" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
65 <param name="max_overlap" type="integer" label="Maximum overlap" value="250" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
66 <conditional name="outputs">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
67 <param name="output_type" type="select" label="Output type">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
68 <option value="Non-interleaved_fastq">Non-interleaved fastq</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
69 <option value="Interleaved_fastq">Interleaved fastq</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
70 <option value="tab">Tab-deliminated</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
71 </param>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
72 </conditional>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
73 <conditional name="options">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
74 <param name="options_select" type="select" label="Options Type">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
75 <option value="basic">Basic</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
76 <option value="advanced">Advanced</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
77 </param>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
78 <when value="advanced">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
79 <param name="max_mismatch_density" type="float" label="Maximum mismatch density" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
80 <param name="phred_offset" type="select" label="Phred-offset" optional="true">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
81 <option value="33">33</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
82 <option value="64">64</option>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
83 </param>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
84 <param name="read_length" type="integer" label="Average read length" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
85 <param name="fragment_length" type="integer" label="Fragment length" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
86 <param name="fragment_stdev" type="integer" label="Fragment length standard deviation" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
87 <param name="cap_mismatch_quals" type="boolean" label="Cap mismatch quality scores" truevalue="--cap-mismatch-quals" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
88 <!--<param name="compress" type="boolean" label="Compress output files with gzip" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
89 <param name="compress_prog" type="text" label="Compression program" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
90 <param name="compress_prog_args" type="text" label="Compression program arguments" optional="true"/> <~~~~~~~~Phil says the compression options aren't needed-->
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
91 <param name="quiet" type="boolean" label="Do not print informational messages" truevalue="-q" optional="true"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
92 </when>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
93 </conditional>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
94 </inputs>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
95 <outputs>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
96 <data format="fastqsanger" name="extendedFrags" label="Merged reads">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
97 <filter>outputs['output_type'] != "tab"</filter>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
98 </data>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
99 <data format="fastqsanger" name="notCombined1" label="Read 1 of mate pairs not merged">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
100 <filter>outputs['output_type'] == "Non-interleaved_fastq"</filter>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
101 </data>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
102 <data format="fastqsanger" name="notCombined2" label="Read 2 of mate pairs not merged">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
103 <filter>outputs['output_type'] == "Non-interleaved_fastq"</filter>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
104 </data>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
105 <data format="fastqsanger" name="interNotCombined" label="Interleaved non-combined pairs">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
106 <filter>outputs['output_type'] == "Interleaved_fastq"</filter>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
107 </data>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
108 <data format="tabular" name="readsAndPairs" label="Merged and non-merged pairs">
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
109 <filter>outputs['output_type'] == "tab"</filter>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
110 </data>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
111 <data format="txt" name="log_file" label="Log file"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
112 <!-- <data format="txt" name="numericHistogram" label="Numeric histogram of merged read lengths"/>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
113 <data format="txt" name="visualHistogram" label="Visual histogram of merged read lengths"/>-->
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
114 </outputs>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
115 <requirements>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
116 <requirement type="package" version="1.2.9">FLASH</requirement>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
117 </requirements>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
118 <help>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
119 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
120 DESCRIPTION
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
121 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
122
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
123 FLASH (Fast Length Adjustment of SHort reads) is an accurate and fast tool
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
124 to merge paired-end reads that were generated from DNA fragments whose
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
125 lengths are shorter than twice the length of reads. Merged read pairs result
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
126 in unpaired longer reads, which are generally more desired in genome
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
127 assembly and genome analysis processes.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
128
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
129 Briefly, the FLASH algorithm considers all possible overlaps at or above a
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
130 minimum length between the reads in a pair and chooses the overlap that
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
131 results in the lowest mismatch density (proportion of mismatched bases in
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
132 the overlapped region). Ties between multiple overlaps are broken by
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
133 considering quality scores at mismatch sites. When building the merged
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
134 sequence, FLASH computes a consensus sequence in the overlapped region.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
135 More details can be found in the original publication
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
136 (http://bioinformatics.oxfordjournals.org/content/27/21/2957.full).
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
137
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
138 Limitations of FLASH include:
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
139 - FLASH cannot merge paired-end reads that do not overlap.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
140 - FLASH cannot merge read pairs that have an outward orientation, either
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
141 due to being "jumping" reads or due to excessive trimming.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
142 - FLASH is not designed for data that has a significant amount of indel
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
143 errors (such as Sanger sequencing data). It is best suited for Illumina
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
144 data.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
145
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
146 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
147 MANDATORY INPUT
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
148 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
149
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
150 The most common input to FLASH is two FASTQ files containing read 1 and read 2
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
151 of each mate pair, respectively, in the same order.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
152
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
153 Alternatively, you may provide one FASTQ file, which may be standard input,
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
154 containing paired-end reads in either interleaved FASTQ (see the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
155 --interleaved-input option) or tab-delimited (see the --tab-delimited-input
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
156 option) format. In all cases, gzip compressed input is autodetected. Also,
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
157 in all cases, the PHRED offset is, by default, assumed to be 33; use the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
158 --phred-offset option to change it.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
159
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
160 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
161 OUTPUT
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
162 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
163
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
164 The default output of FLASH consists of the following files:
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
165
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
166 - out.extendedFrags.fastq The merged reads.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
167 - out.notCombined_1.fastq Read 1 of mate pairs that were not merged.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
168 - out.notCombined_2.fastq Read 2 of mate pairs that were not merged.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
169 - out.hist Numeric histogram of merged read lengths.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
170 - out.histogram Visual histogram of merged read lengths.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
171
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
172 FLASH also logs informational messages to standard output. These can be
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
173 redirected to a file, as in the following example:
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
174
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
175 $ flash reads_1.fq reads_2.fq | tee flash.log
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
176
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
177 In addition, FLASH supports several features affecting the output:
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
178
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
179 - Writing the merged reads directly to standard output (--to-stdout)
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
180 - Writing gzip compressed output files (-z) or using an external
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
181 compression program (--compress-prog)
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
182 - Writing the uncombined read pairs in interleaved FASTQ format
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
183 (--interleaved-output)
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
184 - Writing all output reads to a single file in tab-delimited format
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
185 (--tab-delimited-output)
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
186
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
187 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
188 OPTIONS
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
189 ----------------------------------------------------------------------------
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
190
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
191 -m, --min-overlap=NUM The minimum required overlap length between two
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
192 reads to provide a confident overlap. Default:
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
193 10bp.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
194
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
195 -M, --max-overlap=NUM Maximum overlap length expected in approximately
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
196 90% of read pairs. It is by default set to 70bp,
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
197 which works well for 100bp reads generated from a
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
198 180bp library, assuming a normal distribution of
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
199 fragment lengths. Overlaps longer than the maximum
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
200 overlap parameter are still considered as good
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
201 overlaps, but the mismatch density (explained below)
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
202 is calculated over the first max_overlap bases in
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
203 the overlapped region rather than the entire
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
204 overlap. Default: 70bp, or calculated from the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
205 specified read length, fragment length, and fragment
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
206 length standard deviation.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
207
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
208 -x, --max-mismatch-density=NUM
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
209 Maximum allowed ratio between the number of
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
210 mismatched base pairs and the overlap length.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
211 Two reads will not be combined with a given overlap
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
212 if that overlap results in a mismatched base density
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
213 higher than this value. Note: Any occurence of an
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
214 'N' in either read is ignored and not counted
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
215 towards the mismatches or overlap length. Our
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
216 experimental results suggest that higher values of
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
217 the maximum mismatch density yield larger
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
218 numbers of correctly merged read pairs but at
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
219 the expense of higher numbers of incorrectly
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
220 merged read pairs. Default: 0.25.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
221
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
222 -p, --phred-offset=OFFSET
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
223 The smallest ASCII value of the characters used to
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
224 represent quality values of bases in FASTQ files.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
225 It should be set to either 33, which corresponds
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
226 to the later Illumina platforms and Sanger
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
227 platforms, or 64, which corresponds to the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
228 earlier Illumina platforms. Default: 33.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
229
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
230 -r, --read-len=LEN
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
231
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
232 -f, --fragment-len=LEN
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
233
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
234 -s, --fragment-len-stddev=LEN
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
235 Average read length, fragment length, and fragment
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
236 standard deviation. These are convenience parameters
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
237 only, as they are only used for calculating the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
238 maximum overlap (--max-overlap) parameter.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
239 The maximum overlap is calculated as the overlap of
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
240 average-length reads from an average-size fragment
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
241 plus 2.5 times the fragment length standard
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
242 deviation. The default values are -r 100, -f 180,
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
243 and -s 18, so this works out to a maximum overlap of
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
244 65 bp. If --max-overlap is specified, then the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
245 specified value overrides the calculated value.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
246
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
247 If you do not know the standard deviation of the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
248 fragment library, you can probably assume that the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
249 standard deviation is 10% of the average fragment
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
250 length.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
251
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
252 --cap-mismatch-quals Cap quality scores assigned at mismatch locations
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
253 to 2. This was the default behavior in FLASH v1.2.7
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
254 and earlier. Later versions will instead calculate
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
255 such scores as the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
256 absolute value of the difference in quality scores,
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
257 but at least 2. Essentially, the new behavior
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
258 prevents a low quality base call that is likely a
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
259 sequencing error from significantly bringing down
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
260 the quality of a high quality, likely correct base
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
261 call.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
262
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
263 --interleaved-input Instead of requiring files MATES_1.FASTQ and
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
264 MATES_2.FASTQ, allow a single file MATES.FASTQ that
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
265 has the paired-end reads interleaved. Specify "-"
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
266 to read from standard input.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
267
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
268 --interleaved-output Write the uncombined pairs in interleaved FASTQ
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
269 format.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
270
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
271 -I, --interleaved Equivalent to specifying both --interleaved-input
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
272 and --interleaved-output.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
273
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
274 -Ti, --tab-delimited-input
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
275 Assume the input is in tab-delimited format
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
276 rather than FASTQ, in the format described below in
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
277 '--tab-delimited-output'. In this mode you should
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
278 provide a single input file, each line of which must
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
279 contain either a read pair (5 fields) or a single
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
280 read (3 fields). FLASH will try to combine the read
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
281 pairs. Single reads will be written to the output
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
282 file as-is if also using --tab-delimited-output;
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
283 otherwise they will be ignored. Note that you may
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
284 specify "-" as the input file to read the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
285 tab-delimited data from standard input.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
286
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
287 -To, --tab-delimited-output
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
288 Write output in tab-delimited format (not FASTQ).
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
289 Each line will contain either a combined pair in the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
290 format 'tag &lt;tab&gt; seq &lt;tab&gt; qual' or an uncombined
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
291 pair in the format 'tag &lt;tab&gt; seq_1 &lt;tab&gt; qual_1
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
292 &lt;tab&gt; seq_2 &lt;tab&gt; qual_2'.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
293
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
294 -o, --output-prefix=PREFIX
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
295 Prefix of output files. Default: "out".
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
296
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
297 -d, --output-directory=DIR
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
298 Path to directory for output files. Default:
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
299 current working directory.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
300
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
301 -c, --to-stdout
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
302 Write the combined reads to standard output. In
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
303 this mode, with FASTQ output (the default) the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
304 uncombined reads are discarded. With tab-delimited
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
305 output, uncombined reads are included in the
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
306 tab-delimited data written to standard output.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
307 In both cases, histogram files are not written,
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
308 and informational messages are sent to standard
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
309 error rather than to standard output.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
310
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
311 --suffix=SUFFIX, --output-suffix=SUFFIX
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
312 Use SUFFIX as the suffix of the output files
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
313 after ".fastq". A dot before the suffix is assumed,
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
314 unless an empty suffix is provided. Default:
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
315 nothing; or 'gz' if -z is specified; or PROG if
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
316 --compress-prog=PROG is specified.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
317
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
318 -t, --threads=NTHREADS Set the number of worker threads. This is in
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
319 addition to the I/O threads. Default: number of
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
320 processors. Note: if you need FLASH's output to
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
321 appear deterministically or in the same order as
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
322 the original reads, you must specify -t 1
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
323 (--threads=1).
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
324
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
325 -q, --quiet Do not print informational messages.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
326
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
327 -h, --help Display this help and exit.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
328
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
329 -v, --version Display version.
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
330 </help>
6889442b27dc Uploaded
aaronpetkau
parents:
diff changeset
331 </tool>