annotate bismark_bowtie_wrapper.xml @ 4:427fb56f2e41 draft default tip

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