4
|
1 <tool id="bismark_bowtie" name="Bismark" version="0.7.7.3">
|
0
|
2 <!-- Wrapper compatible with Bismark version 0.7.7 -->
|
|
3 <description>bisulfite mapper (bowtie)</description>
|
|
4 <!--<version_command>bismark version</version_command>-->
|
|
5 <requirements>
|
|
6 <requirement type="set_environment">SCRIPT_PATH</requirement>
|
|
7 <requirement type="package" version="0.12.8">bowtie</requirement>
|
|
8 <requirement type="package" version="2.0.0-beta7">bowtie2</requirement>
|
|
9 </requirements>
|
|
10 <parallelism method="basic"></parallelism>
|
|
11 <command interpreter="python">
|
|
12 bismark_wrapper.py
|
|
13
|
|
14 --bismark_path \$SCRIPT_PATH
|
|
15
|
|
16 ##
|
|
17 ## Bismark Genome Preparation, if desired.
|
|
18 ##
|
|
19
|
|
20 ## Handle reference file.
|
|
21 #if $refGenomeSource.genomeSource == "history":
|
|
22 --own-file=$refGenomeSource.ownFile
|
|
23 #else:
|
|
24 --indexes-path ${refGenomeSource.index.fields.path}
|
|
25 #end if
|
|
26
|
|
27
|
|
28 ##
|
|
29 ## Input parameters
|
|
30 ##
|
|
31
|
|
32
|
|
33 #if $singlePaired.sPaired == "single":
|
|
34 --single-paired $singlePaired.input_singles
|
|
35
|
|
36 #if $singlePaired.input_singles.ext == "fastqillumina":
|
|
37 --phred64-quals
|
|
38 --fastq
|
|
39 #elif $singlePaired.input_singles.ext == "fastqsanger":
|
|
40 --fastq
|
|
41 #elif $singlePaired.input_singles.ext == "fasta":
|
|
42 --fasta
|
|
43 #end if
|
|
44 #else:
|
4
|
45 --mate-paired
|
|
46 #set $mate1 = list()
|
|
47 #set $mate2 = list()
|
|
48 #for $mate_pair in $singlePaired.mate_list
|
|
49 $mate1.append( str($mate_pair.input_mate1) )
|
|
50 $mate2.append( str($mate_pair.input_mate2) )
|
|
51 #end for
|
0
|
52
|
4
|
53 --mate1 #echo ','.join($mate1)
|
|
54 --mate2 #echo ','.join($mate2)
|
|
55
|
|
56 #if $singlePaired.mate_list[0].input_mate1.ext == "fastqillumina":
|
0
|
57 --phred64-quals
|
|
58 --fastq
|
4
|
59 #elif $singlePaired.mate_list[0].input_mate1.ext == "fastqsanger":
|
0
|
60 --fastq
|
4
|
61 #elif $singlePaired.mate_list[0].input_mate1.ext == "fasta":
|
0
|
62 --fasta
|
|
63 #end if
|
|
64
|
|
65 -I $singlePaired.minInsert
|
|
66 -X $singlePaired.maxInsert
|
|
67 #end if
|
|
68
|
|
69
|
|
70 ## for now hardcode the value for the required memory per thread in --best mode
|
|
71 --chunkmbs 512
|
|
72
|
|
73
|
|
74 #if $params.settingsType == "custom":
|
|
75
|
|
76 ## default 20
|
|
77 --seed-len $params.seed_len
|
|
78 ## default 0
|
|
79 --seed-mismatches $params.seed_mismatches
|
4
|
80
|
0
|
81 ## default 70
|
|
82 ##--maqerr $params.maqerr
|
|
83
|
|
84 ## default unlimited
|
|
85 #if $params.qupto != 0:
|
|
86 --qupto $params.qupto
|
|
87 #end if
|
|
88 #if $params.skip_reads != 0:
|
|
89 --skip-reads $params.skip_reads
|
|
90 #end if
|
|
91
|
|
92 ###if str($params.isReportOutput) == "yes":
|
|
93 ## --output-report-file $report_file
|
|
94 ###end if
|
|
95
|
|
96 #end if
|
|
97
|
|
98 ##
|
|
99 ## Output parameters.
|
|
100 ##
|
|
101 --output $output
|
|
102 $suppress_header
|
|
103
|
|
104 #if str( $singlePaired.sPaired ) == "single"
|
|
105 #if $output_unmapped_reads_l
|
|
106 --output-unmapped-reads $output_unmapped_reads_l
|
|
107 #end if
|
|
108 #if $output_suppressed_reads_l
|
|
109 --output-suppressed-reads $output_suppressed_reads_l
|
|
110 #end if
|
|
111 #else
|
|
112 #if $output_unmapped_reads_l and $output_unmapped_reads_r
|
|
113 --output-unmapped-reads-l $output_unmapped_reads_l
|
|
114 --output-unmapped-reads-r $output_unmapped_reads_r
|
|
115 #end if
|
|
116 #if $output_suppressed_reads_l and $output_suppressed_reads_l
|
|
117 --output-suppressed-reads-l $output_suppressed_reads_l
|
|
118 --output-suppressed-reads-r $output_suppressed_reads_r
|
|
119 #end if
|
|
120 #end if
|
|
121
|
|
122 </command>
|
|
123 <inputs>
|
|
124 <conditional name="refGenomeSource">
|
|
125 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options">
|
|
126 <option value="indexed">Use a built-in index</option>
|
|
127 <option value="history">Use one from the history</option>
|
|
128 </param>
|
|
129 <when value="indexed">
|
|
130 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact your Galaxy admin">
|
|
131 <options from_data_table="bowtie_indexes">
|
|
132 <filter type="sort_by" column="2"/>
|
|
133 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
|
|
134 </options>
|
|
135 </param>
|
|
136 </when> <!-- build-in -->
|
|
137 <when value="history">
|
|
138 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
|
|
139 </when> <!-- history -->
|
|
140 </conditional> <!-- refGenomeSource -->
|
|
141
|
|
142 <!-- Input Parameters -->
|
|
143 <conditional name="singlePaired">
|
|
144 <param name="sPaired" type="select" label="Is this library mate-paired?">
|
|
145 <option value="single">Single-end</option>
|
|
146 <option value="paired">Paired-end</option>
|
|
147 </param>
|
|
148 <when value="single">
|
|
149 <param name="input_singles" type="data" format="fastqsanger,fastqillumina,fastq,fasta" label="FASTQ/FASTA file" help="FASTQ or FASTA files." />
|
|
150 </when>
|
|
151 <when value="paired">
|
4
|
152 <repeat name="mate_list" title="Paired End Pairs" min="1">
|
|
153 <param name="input_mate1" type="data" format="fastqsanger,fastqillumina,fastq,fasta" label="Mate pair 1" help="FASTQ or FASTA files." />
|
|
154 <param name="input_mate2" type="data" format="fastqsanger,fastqillumina,fastq,fasta" label="Mate pair 2" help="FASTQ or FASTA files." />
|
|
155 </repeat>
|
0
|
156 <param name="minInsert" type="integer" value="0" label="Minimum insert size for valid paired-end alignments" />
|
|
157 <param name="maxInsert" type="integer" value="250" label="Maximum insert size for valid paired-end alignments" />
|
|
158 </when>
|
|
159 </conditional>
|
|
160
|
|
161
|
|
162 <conditional name="params">
|
|
163 <param name="settingsType" type="select" label="Bismark settings to use" help="You can use the default settings or set custom values for any of Bismark's parameters.">
|
|
164 <option value="default">Use Defaults</option>
|
|
165 <option value="custom">Full parameter list</option>
|
|
166 </param>
|
|
167 <when value="default" />
|
|
168 <!-- Full/advanced params. -->
|
|
169 <when value="custom">
|
|
170 <!-- -n -->
|
|
171 <param name="seed_mismatches" type="select" label="The maximum number of mismatches permitted in the 'seed'.">
|
|
172 <option value="0">0</option>
|
|
173 <option value="1">1</option>
|
|
174 <option value="2" selected="true">2</option>
|
|
175 <option value="3">3</option>
|
|
176 </param>
|
|
177 <!-- -l -->
|
|
178 <param name="seed_len" type="integer" value="28" label="The 'seed length'; The number of bases of the high quality end of the read to which the maximum number of mismatches applies." />
|
|
179 <!--
|
|
180 <param name="maqerr" type="integer" value="70" label="Maximum permitted total of quality values at all mismatched read positions throughout the entire alignment, not just in the 'seed'." />
|
|
181 -->
|
|
182 <param name="qupto" type="integer" value="0" label="Only aligns the first N reads or read pairs from the input" help="Default is 0 and means 'no-limit'." />
|
|
183 <param name="skip_reads" type="integer" value="0" label="Skip (i.e. do not align) the first N reads or read pairs from the input" />
|
|
184
|
|
185 <param name="suppressed_read_file" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write ambiguous reads to an extra output file." help="Write all reads which produce more than one valid alignment with the same number of lowest mismatches or other reads that fail to align uniquely." />
|
|
186 <param name="unmapped_read_file" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write all reads that could not be aligned to a file" />
|
|
187 <!-- output Options -->
|
|
188 <!--
|
|
189 <param name="isReportOutput" type="select" label="Offer all report files concatenated in one file.">
|
|
190 <option value="yes">yes</option>
|
|
191 <option value="no">no</option>
|
|
192 </param>
|
|
193 -->
|
|
194 <!--end output options -->
|
|
195 </when> <!-- full -->
|
|
196 </conditional> <!-- params -->
|
|
197 <param name="suppress_header" type="boolean" truevalue="--suppress-header" falsevalue="" checked="False" label="Suppress the header in the output SAM file" help="Bowtie produces SAM with several lines of header information by default" />
|
|
198 </inputs>
|
|
199 <outputs>
|
|
200 <!-- that does not work
|
|
201 <data format="txt" name="report_file" label="${tool.name} on ${on_string}: Report">
|
|
202 <filter>str($params.isReportOutput) == "yes"</filter>
|
|
203 </data>
|
|
204 -->
|
|
205 <data format="sam" name="output" label="${tool.name} on ${on_string}: mapped reads">
|
|
206 <actions>
|
|
207 <conditional name="refGenomeSource.genomeSource">
|
|
208 <when value="indexed">
|
|
209 <action type="metadata" name="dbkey">
|
|
210 <option type="from_data_table" name="bowtie2_indexes" column="1" offset="0">
|
|
211 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
|
|
212 <filter type="param_value" ref="refGenomeSource.index" column="0"/>
|
|
213 </option>
|
|
214 </action>
|
|
215 </when>
|
|
216 <when value="history">
|
|
217 <action type="metadata" name="dbkey">
|
|
218 <option type="from_param" name="refGenomeSource.ownFile" param_attribute="dbkey" />
|
|
219 </action>
|
|
220 </when>
|
|
221 </conditional>
|
|
222 </actions>
|
|
223 </data>
|
|
224
|
|
225 <data format="fastq" name="output_suppressed_reads_l" label="${tool.name} on ${on_string}: suppressed reads (L)">
|
|
226 <filter>
|
|
227 ((
|
|
228 params['settingsType'] == "custom" and
|
|
229 params['suppressed_read_file'] is True
|
|
230 ))
|
|
231 </filter>
|
|
232 <actions>
|
|
233 <conditional name="singlePaired.sPaired">
|
|
234 <when value="single">
|
|
235 <action type="format">
|
|
236 <option type="from_param" name="singlePaired.input_singles" param_attribute="ext" />
|
|
237 </action>
|
|
238 </when>
|
|
239 <when value="paired">
|
|
240 <action type="format">
|
4
|
241 <option type="from_param" name="singlePaired.mate_list[0].input_mate1" param_attribute="ext" />
|
0
|
242 </action>
|
|
243 </when>
|
|
244 </conditional>
|
|
245 </actions>
|
|
246 </data>
|
|
247
|
|
248 <data format="fastq" name="output_suppressed_reads_r" label="${tool.name} on ${on_string}: suppressed reads (R)">
|
|
249 <filter>singlePaired['sPaired'] == "paired"</filter>
|
|
250 <filter>params['settingsType'] == "custom"</filter>
|
|
251 <filter>params['supressed_read_file'] is True</filter>
|
|
252 <actions>
|
|
253 <conditional name="singlePaired.sPaired">
|
|
254 <when value="single">
|
|
255 <action type="format">
|
|
256 <option type="from_param" name="singlePaired.input_singles" param_attribute="ext" />
|
|
257 </action>
|
|
258 </when>
|
|
259 <when value="paired">
|
|
260 <action type="format">
|
4
|
261 <option type="from_param" name="singlePaired.mate_list[0].input_mate1" param_attribute="ext" />
|
0
|
262 </action>
|
|
263 </when>
|
|
264 </conditional>
|
|
265 </actions>
|
|
266 </data>
|
|
267
|
|
268 <!-- Outout unmapped reads -->
|
|
269 <data format="fastq" name="output_unmapped_reads_l" label="${tool.name} on ${on_string}: unmapped reads (L)">
|
|
270 <filter>
|
|
271 ((
|
|
272 params['settingsType'] == "custom" and
|
|
273 params['unmapped_read_file'] is True
|
|
274 ))
|
|
275 </filter>
|
|
276 <actions>
|
|
277 <conditional name="singlePaired.sPaired">
|
|
278 <when value="single">
|
|
279 <action type="format">
|
|
280 <option type="from_param" name="singlePaired.input_singles" param_attribute="ext" />
|
|
281 </action>
|
|
282 </when>
|
|
283 <when value="paired">
|
|
284 <action type="format">
|
4
|
285 <option type="from_param" name="singlePaired.mate_list[0].input_mate1" param_attribute="ext" />
|
0
|
286 </action>
|
|
287 </when>
|
|
288 </conditional>
|
|
289 </actions>
|
|
290 </data>
|
|
291 <data format="fastq" name="output_unmapped_reads_r" label="${tool.name} on ${on_string}: unmapped reads (R)">
|
|
292 <filter>singlePaired['sPaired'] == "paired"</filter>
|
|
293 <filter>params['settingsType'] == "custom"</filter>
|
|
294 <filter>params['unmapped_read_file'] is True</filter>
|
|
295 <actions>
|
|
296 <conditional name="singlePaired.sPaired">
|
|
297 <when value="single">
|
|
298 <action type="format">
|
|
299 <option type="from_param" name="singlePaired.input_singles" param_attribute="ext" />
|
|
300 </action>
|
|
301 </when>
|
|
302 <when value="paired">
|
|
303 <action type="format">
|
4
|
304 <option type="from_param" name="singlePaired.mate_list[0].input_mate1" param_attribute="ext" />
|
0
|
305 </action>
|
|
306 </when>
|
|
307 </conditional>
|
|
308 </actions>
|
|
309 </data>
|
|
310
|
|
311
|
|
312 </outputs>
|
|
313
|
|
314 <tests>
|
|
315 </tests>
|
|
316
|
|
317 <help>
|
|
318
|
|
319 **What it does**
|
|
320
|
|
321 Bismark_ is a bisulfite mapper and methylation caller. Bismark takes in FastA or FastQ files and aligns the
|
|
322 reads to a specified bisulfite genome. Sequence reads are transformed into a bisulfite converted forward strand
|
|
323 version (C->T conversion) or into a bisulfite treated reverse strand (G->A conversion of the forward strand).
|
|
324 Each of these reads are then aligned to bisulfite treated forward strand index of a reference genome
|
|
325 (C->T converted) and a bisulfite treated reverse strand index of the genome (G->A conversion of the
|
|
326 forward strand, by doing this alignments will produce the same positions). These 4 instances of Bowtie (1 or 2)
|
|
327 are run in parallel. The sequence file(s) are then read in again sequence by sequence to pull out the original
|
|
328 sequence from the genome and determine if there were any protected C's present or not.
|
|
329
|
|
330 .. _Bismark: http://www.bioinformatics.babraham.ac.uk/projects/bismark/
|
|
331
|
|
332 As of version 0.7.0 Bismark will only run 2 alignment threads for OT and OB in parallel, the 4 strand mode can be
|
|
333 re-enabled by using non_directional mode.
|
|
334
|
|
335 It is developed by Krueger F and Andrews SR. at the Babraham Institute. Krueger F, Andrews SR. (2011) Bismark: a flexible aligner and methylation caller for Bisulfite-Seq applications. Bioinformatics, 27, 1571-2.
|
|
336
|
|
337 ------
|
|
338
|
|
339 **Know what you are doing**
|
|
340
|
|
341 .. class:: warningmark
|
|
342
|
|
343 There is no such thing (yet) as an automated gearshift in short read mapping. It is all like stick-shift driving in San Francisco. In other words = running this tool with default parameters will probably not give you meaningful results. A way to deal with this is to **understand** the parameters by carefully reading the `documentation`__ and experimenting. Fortunately, Galaxy makes experimenting easy.
|
|
344
|
|
345 .. __: http://www.bioinformatics.babraham.ac.uk/projects/bismark/
|
|
346
|
4
|
347
|
|
348 .. class:: warningmark
|
|
349
|
|
350 Make sure all your input reads are in the correct and same format. If thats not the case please adjust/convert the filetype with galaxy's build-in converters.
|
|
351
|
0
|
352 ------
|
|
353
|
|
354 **Input formats**
|
|
355
|
|
356 Bismark accepts files in either Sanger FASTQ format (galaxy type *fastqsanger*), Illumina FASTQ format (galaxy type *fastqillumina*) or FASTA format (galaxy type *fasta*). Use the FASTQ Groomer to prepare your files.
|
|
357
|
|
358 ------
|
|
359
|
|
360 **A Note on Built-in Reference Genomes**
|
|
361
|
|
362 The default variant for all genomes is "Full", defined as all primary chromosomes (or scaffolds/contigs) including mitochondrial plus associated unmapped, plasmid, and other segments. When only one version of a genome is available in this tool, it represents the default "Full" variant. Some genomes will have more than one variant available. The "Canonical Male" or sometimes simply "Canonical" variant contains the primary chromosomes for a genome. For example a human "Canonical" variant contains chr1-chr22, chrX, chrY, and chrM. The "Canonical Female" variant contains the primary chromosomes excluding chrY.
|
|
363
|
|
364 ------
|
|
365
|
|
366 The final output of Bismark is in SAM format by default.
|
|
367
|
|
368 **Outputs**
|
|
369
|
|
370 The output is in SAM format, and has the following columns::
|
|
371
|
|
372 Column Description
|
|
373 -------- --------------------------------------------------------
|
|
374 1 QNAME seq-ID
|
|
375 2 FLAG this flag tries to take the strand a bisulfite read
|
|
376 originated from into account
|
|
377 (this is different from ordinary DNA alignment flags!)
|
|
378 3 RNAME chromosome
|
|
379 4 POS start position
|
|
380 5 MAPQ always 255
|
|
381 6 CIGAR extended CIGAR string
|
|
382 7 MRNM Mate Reference sequence NaMe ('=' if same as RNAME)
|
|
383 8 MPOS 1-based Mate POSition
|
|
384 9 ISIZE Inferred insert SIZE
|
|
385 10 SEQ query SEQuence on the same strand as the reference
|
|
386 11 QUAL Phred33 scale
|
|
387 12 NM-tag edit distance to the reference)
|
|
388 13 XX-tag base-by-base mismatches to the reference.
|
|
389 This does not include indels.
|
|
390 14 XM-tag methylation call string
|
|
391 15 XR-tag read conversion state for the alignment
|
|
392 16 XG-tag genome conversion state for the alignment
|
|
393
|
|
394
|
|
395 Each read of paired-end alignments is written out in a separate line in the above format.
|
|
396
|
|
397
|
|
398 It looks like this (scroll sideways to see the entire example)::
|
|
399
|
|
400 QNAME FLAG RNAME POS MAPQ CIAGR MRNM MPOS ISIZE SEQ QUAL OPT
|
|
401 HWI-EAS91_1_30788AAXX:1:1:1761:343 4 * 0 0 * * 0 0 AAAAAAANNAAAAAAAAAAAAAAAAAAAAAAAAAAACNNANNGAGTNGNNNNNNNGCTTCCCACAGNNCTGG hhhhhhh;;hhhhhhhhhhh^hOhhhhghhhfhhhgh;;h;;hhhh;h;;;;;;;hhhhhhghhhh;;Phhh
|
|
402 HWI-EAS91_1_30788AAXX:1:1:1578:331 4 * 0 0 * * 0 0 GTATAGANNAATAAGAAAAAAAAAAATGAAGACTTTCNNANNTCTGNANNNNNNNTCTTTTTTCAGNNGTAG hhhhhhh;;hhhhhhhhhhhhhhhhhhhhhhhhhhhh;;h;;hhhh;h;;;;;;;hhhhhhhhhhh;;hhVh
|
|
403
|
|
404 -------
|
|
405
|
|
406 **Bismark settings**
|
|
407
|
|
408 All of the options have a default value. You can change any of them. If any Bismark function is missing please contact the tool author or your Galaxy admin.
|
|
409
|
|
410 ------
|
|
411
|
|
412 **Bismark parameter list**
|
|
413
|
4
|
414 This is an exhaustive list of Bismark options.
|
0
|
415
|
|
416 Input::
|
|
417
|
|
418 --singles A comma- or space-separated list of files containing the reads to be aligned (e.g.
|
|
419 lane1.fq,lane2.fq lane3.fq). Reads may be a mix of different lengths. Bismark will
|
|
420 produce one mapping result and one report file per input file.
|
|
421
|
|
422 -1 mates1 Comma-separated list of files containing the #1 mates (filename usually includes
|
|
423 "_1"), e.g. flyA_1.fq,flyB_1.fq). Sequences specified with this option must
|
|
424 correspond file-for-file and read-for-read with those specified in mates2.
|
|
425 Reads may be a mix of different lengths. Bismark will produce one mapping result
|
|
426 and one report file per paired-end input file pair.
|
|
427
|
|
428 -2 mates2 Comma-separated list of files containing the #2 mates (filename usually includes
|
|
429 "_2"), e.g. flyA_1.fq,flyB_1.fq). Sequences specified with this option must
|
|
430 correspond file-for-file and read-for-read with those specified in mates1.
|
|
431 Reads may be a mix of different lengths.
|
|
432
|
|
433 -q/--fastq The query input files (specified as mate1,mate2 or singles are FASTQ
|
|
434 files (usually having extension .fg or .fastq). This is the default. See also
|
|
435 --solexa-quals.
|
|
436
|
|
437 -f/--fasta The query input files (specified as mate1,mate2 or singles are FASTA
|
|
438 files (usually havin extension .fa, .mfa, .fna or similar). All quality values
|
|
439 are assumed to be 40 on the Phred scale.
|
|
440
|
|
441 -s/--skip INT Skip (i.e. do not align) the first INT reads or read pairs from the input.
|
|
442
|
|
443 -u/--upto INT Only aligns the first INT reads or read pairs from the input. Default: no limit.
|
|
444
|
|
445 --phred33-quals FASTQ qualities are ASCII chars equal to the Phred quality plus 33. Default: on.
|
|
446
|
|
447 --phred64-quals FASTQ qualities are ASCII chars equal to the Phred quality plus 64. Default: off.
|
|
448
|
|
449 --solexa-quals Convert FASTQ qualities from solexa-scaled (which can be negative) to phred-scaled
|
|
450 (which can't). The formula for conversion is:
|
|
451 phred-qual = 10 * log(1 + 10 ** (solexa-qual/10.0)) / log(10). Used with -q. This
|
|
452 is usually the right option for use with (unconverted) reads emitted by the GA
|
|
453 Pipeline versions prior to 1.3. Works only for Bowtie 1. Default: off.
|
|
454
|
|
455 --solexa1.3-quals Same as --phred64-quals. This is usually the right option for use with (unconverted)
|
|
456 reads emitted by GA Pipeline version 1.3 or later. Default: off.
|
|
457
|
|
458
|
|
459 Alignment::
|
|
460
|
|
461 -n/--seedmms INT The maximum number of mismatches permitted in the "seed", i.e. the first L base pairs
|
|
462 of the read (where L is set with -l/--seedlen). This may be 0, 1, 2 or 3 and the
|
|
463 default is 1. This option is only available for Bowtie 1 (for Bowtie 2 see -N).
|
|
464
|
|
465 -l/--seedlen The "seed length"; i.e., the number of bases of the high quality end of the read to
|
|
466 which the -n ceiling applies. The default is 28. Bowtie (and thus Bismark) is faster for
|
|
467 larger values of -l. This option is only available for Bowtie 1 (for Bowtie 2 see -L).
|
|
468
|
|
469 -e/--maqerr INT Maximum permitted total of quality values at all mismatched read positions throughout
|
|
470 the entire alignment, not just in the "seed". The default is 70. Like Maq, bowtie rounds
|
|
471 quality values to the nearest 10 and saturates at 30. This value is not relevant for
|
|
472 Bowtie 2.
|
|
473
|
|
474 --chunkmbs INT The number of megabytes of memory a given thread is given to store path descriptors in
|
|
475 --best mode. Best-first search must keep track of many paths at once to ensure it is
|
|
476 always extending the path with the lowest cumulative cost. Bowtie tries to minimize the
|
|
477 memory impact of the descriptors, but they can still grow very large in some cases. If
|
|
478 you receive an error message saying that chunk memory has been exhausted in --best mode,
|
|
479 try adjusting this parameter up to dedicate more memory to the descriptors. This value
|
|
480 is not relevant for Bowtie 2. Default: 512.
|
|
481
|
|
482 -I/--minins INT The minimum insert size for valid paired-end alignments. E.g. if -I 60 is specified and
|
|
483 a paired-end alignment consists of two 20-bp alignments in the appropriate orientation
|
|
484 with a 20-bp gap between them, that alignment is considered valid (as long as -X is also
|
|
485 satisfied). A 19-bp gap would not be valid in that case. Default: 0.
|
|
486
|
|
487 -X/--maxins INT The maximum insert size for valid paired-end alignments. E.g. if -X 100 is specified and
|
|
488 a paired-end alignment consists of two 20-bp alignments in the proper orientation with a
|
|
489 60-bp gap between them, that alignment is considered valid (as long as -I is also satisfied).
|
|
490 A 61-bp gap would not be valid in that case. Default: 500.
|
|
491
|
|
492
|
|
493
|
|
494 Output::
|
|
495
|
|
496 --non_directional The sequencing library was constructed in a non strand-specific manner, alignments to all four
|
|
497 bisulfite strands will be reported. Default: OFF.
|
|
498
|
|
499 (The current Illumina protocol for BS-Seq is directional, in which case the strands complementary
|
|
500 to the original strands are merely theoretical and should not exist in reality. Specifying directional
|
|
501 alignments (which is the default) will only run 2 alignment threads to the original top (OT)
|
|
502 or bottom (OB) strands in parallel and report these alignments. This is the recommended option
|
|
503 for sprand-specific libraries).
|
|
504
|
|
505 --sam-no-hd Suppress SAM header lines (starting with @). This might be useful when very large input files are
|
|
506 split up into several smaller files to run concurrently and the output files are to be merged.
|
|
507
|
|
508 --quiet Print nothing besides alignments.
|
|
509
|
|
510 --vanilla Performs bisulfite mapping with Bowtie 1 and prints the 'old' output (as in Bismark 0.5.X) instead
|
|
511 of SAM format output.
|
|
512
|
|
513 -un/--unmapped Write all reads that could not be aligned to a file in the output directory. Written reads will
|
|
514 appear as they did in the input, without any translation of quality values that may have
|
|
515 taken place within Bowtie or Bismark. Paired-end reads will be written to two parallel files with _1
|
|
516 and _2 inserted in their filenames, i.e. _unmapped_reads_1.txt and unmapped_reads_2.txt. Reads
|
|
517 with more than one valid alignment with the same number of lowest mismatches (ambiguous mapping)
|
|
518 are also written to _unmapped_reads.txt unless the option --ambiguous is specified as well.
|
|
519
|
|
520 --ambiguous Write all reads which produce more than one valid alignment with the same number of lowest
|
|
521 mismatches or other reads that fail to align uniquely to a file in the output directory.
|
|
522 Written reads will appear as they did in the input, without any of the translation of quality
|
|
523 values that may have taken place within Bowtie or Bismark. Paired-end reads will be written to two
|
|
524 parallel files with _1 and _2 inserted in theit filenames, i.e. _ambiguous_reads_1.txt and
|
|
525 _ambiguous_reads_2.txt. These reads are not written to the file specified with --un.
|
|
526
|
|
527 -o/--output_dir DIR Write all output files into this directory. By default the output files will be written into
|
|
528 the same folder as the input file(s). If the specified folder does not exist, Bismark will attempt
|
|
529 to create it first. The path to the output folder can be either relative or absolute.
|
|
530
|
|
531 --temp_dir DIR Write temporary files to this directory instead of into the same directory as the input files. If
|
|
532 the specified folder does not exist, Bismark will attempt to create it first. The path to the
|
|
533 temporary folder can be either relative or absolute.
|
|
534
|
|
535 </help>
|
|
536 </tool>
|