annotate bismark_bowtie_wrapper.xml @ 5:b100248c35b8 draft

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