annotate bwa-mem.xml @ 5:86c73f0eb389 draft default tip

Uploaded
author devteam
date Thu, 06 Nov 2014 14:52:29 -0500
parents 5e72d136a39e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
1 <?xml version="1.0"?>
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
2 <tool id="bwa_mem_0_7_10" name="BWA-MEM" version="bwa-0.7.10-r837-dirty_galaxy_0.2">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
3
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
4 <macros>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
5 <import>bwa_macros.xml</import>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
6 </macros>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
7
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
8 <requirements>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
9 <requirement type="package" version="0.7.10.039ea20639">bwa</requirement>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
10 <requirement type="package" version="1.1">samtools</requirement>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
11 </requirements>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
12 <description>- map medium and long reads (&gt; 100 bp) against reference genome</description>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
13 <command>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
14
5e72d136a39e Uploaded
devteam
parents:
diff changeset
15 #set $reference_fasta_filename = "localref.fa"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
16
5e72d136a39e Uploaded
devteam
parents:
diff changeset
17 #if str( $reference_source.reference_source_selector ) == "history":
5e72d136a39e Uploaded
devteam
parents:
diff changeset
18
5e72d136a39e Uploaded
devteam
parents:
diff changeset
19 ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" &amp;&amp;
5e72d136a39e Uploaded
devteam
parents:
diff changeset
20
5e72d136a39e Uploaded
devteam
parents:
diff changeset
21 ## The following shell commands decide with of the BWA indexing algorithms (IS or BWTSW) will be run
5e72d136a39e Uploaded
devteam
parents:
diff changeset
22 ## depending ob the size of the input FASTA dataset
5e72d136a39e Uploaded
devteam
parents:
diff changeset
23
5e72d136a39e Uploaded
devteam
parents:
diff changeset
24 (
5e72d136a39e Uploaded
devteam
parents:
diff changeset
25 size=`stat -c %s "${reference_fasta_filename}" 2&gt;/dev/null`; ## Linux
5e72d136a39e Uploaded
devteam
parents:
diff changeset
26 if [ $? -eq 0 ];
5e72d136a39e Uploaded
devteam
parents:
diff changeset
27 then
5e72d136a39e Uploaded
devteam
parents:
diff changeset
28 if [ \$size -lt 2000000000 ];
5e72d136a39e Uploaded
devteam
parents:
diff changeset
29 then
5e72d136a39e Uploaded
devteam
parents:
diff changeset
30 bwa index -a is "${reference_fasta_filename}";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
31 echo "Generating BWA index with is algorithm";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
32 else
5e72d136a39e Uploaded
devteam
parents:
diff changeset
33 bwa index -a bwtsw "${reference_fasta_filename}";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
34 echo "Generating BWA index with bwtsw algorithm";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
35 fi;
5e72d136a39e Uploaded
devteam
parents:
diff changeset
36 fi;
5e72d136a39e Uploaded
devteam
parents:
diff changeset
37
5e72d136a39e Uploaded
devteam
parents:
diff changeset
38 eval \$(stat -s "${reference_fasta_filename}"); ## OSX
5e72d136a39e Uploaded
devteam
parents:
diff changeset
39 if [ $? -eq 0 ];
5e72d136a39e Uploaded
devteam
parents:
diff changeset
40 then
5e72d136a39e Uploaded
devteam
parents:
diff changeset
41 if [ \$st_size -lt 2000000000 ];
5e72d136a39e Uploaded
devteam
parents:
diff changeset
42 then
5e72d136a39e Uploaded
devteam
parents:
diff changeset
43 bwa index -a is "${reference_fasta_filename}";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
44 echo "Generating BWA index with is algorithm";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
45 else
5e72d136a39e Uploaded
devteam
parents:
diff changeset
46 bwa index -a bwtsw "${reference_fasta_filename}";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
47 echo "Generating BWA index with bwtsw algorithm";
5e72d136a39e Uploaded
devteam
parents:
diff changeset
48 fi;
5e72d136a39e Uploaded
devteam
parents:
diff changeset
49 fi;
5e72d136a39e Uploaded
devteam
parents:
diff changeset
50 ) &amp;&amp;
5e72d136a39e Uploaded
devteam
parents:
diff changeset
51
5e72d136a39e Uploaded
devteam
parents:
diff changeset
52 #else:
5e72d136a39e Uploaded
devteam
parents:
diff changeset
53 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path )
5e72d136a39e Uploaded
devteam
parents:
diff changeset
54 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
55
5e72d136a39e Uploaded
devteam
parents:
diff changeset
56 ## Begin BWA-MEM command line
5e72d136a39e Uploaded
devteam
parents:
diff changeset
57
5e72d136a39e Uploaded
devteam
parents:
diff changeset
58 bwa mem
5e72d136a39e Uploaded
devteam
parents:
diff changeset
59 -t "\${GALAXY_SLOTS:-1}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
60 -v 1 ## Verbosity is set to 1 (errors only)
5e72d136a39e Uploaded
devteam
parents:
diff changeset
61
5e72d136a39e Uploaded
devteam
parents:
diff changeset
62 #if str( $fastq_input.fastq_input_selector ) == "paired_iv": ## For interleaved fastq files set -p option
5e72d136a39e Uploaded
devteam
parents:
diff changeset
63 -p
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
64 #if str( $fastq_input.iset_stats ): ## check that insert statistics is used
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
65 -I "${fastq_input.iset_stats}"
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
66 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
67 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
68
5e72d136a39e Uploaded
devteam
parents:
diff changeset
69 #if str( $analysis_type.analysis_type_selector ) == "pacbio":
5e72d136a39e Uploaded
devteam
parents:
diff changeset
70 -x
5e72d136a39e Uploaded
devteam
parents:
diff changeset
71
5e72d136a39e Uploaded
devteam
parents:
diff changeset
72 #elif str( $analysis_type.analysis_type_selector ) == "full":
5e72d136a39e Uploaded
devteam
parents:
diff changeset
73
5e72d136a39e Uploaded
devteam
parents:
diff changeset
74 #if str( $analysis_type.algorithmic_options.algorithmic_options_selector ) == "True": ## Algorithmic options
5e72d136a39e Uploaded
devteam
parents:
diff changeset
75
5e72d136a39e Uploaded
devteam
parents:
diff changeset
76 -k "${analysis_type.algorithmic_options.k}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
77 -w "${analysis_type.algorithmic_options.w}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
78 -d "${analysis_type.algorithmic_options.d}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
79 -r "${analysis_type.algorithmic_options.r}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
80 -y "${analysis_type.algorithmic_options.y}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
81 -c "${analysis_type.algorithmic_options.c}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
82 -D "${analysis_type.algorithmic_options.D}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
83 -W "${analysis_type.algorithmic_options.W}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
84 -m "${analysis_type.algorithmic_options.m}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
85 ${analysis_type.algorithmic_options.S}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
86 ${analysis_type.algorithmic_options.P}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
87 ${analysis_type.algorithmic_options.e}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
88
5e72d136a39e Uploaded
devteam
parents:
diff changeset
89 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
90
5e72d136a39e Uploaded
devteam
parents:
diff changeset
91 #if str( $analysis_type.scoring_options.scoring_options_selector ) == "True": ## Scoring options
5e72d136a39e Uploaded
devteam
parents:
diff changeset
92
5e72d136a39e Uploaded
devteam
parents:
diff changeset
93 -A "${analysis_type.scoring_options.A}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
94 -B "${analysis_type.scoring_options.B}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
95 -O "${analysis_type.scoring_options.O}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
96 -E "${analysis_type.scoring_options.E}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
97 -L "${analysis_type.scoring_options.L}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
98 -U "${analysis_type.scoring_options.U}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
99
5e72d136a39e Uploaded
devteam
parents:
diff changeset
100 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
101
5e72d136a39e Uploaded
devteam
parents:
diff changeset
102 #if str( $analysis_type.io_options.io_options_selector ) == "True": ## IO options
5e72d136a39e Uploaded
devteam
parents:
diff changeset
103
5e72d136a39e Uploaded
devteam
parents:
diff changeset
104 -T "${analysis_type.io_options.T}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
105 -h "${analysis_type.io_options.h}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
106 ${analysis_type.io_options.a}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
107 ${analysis_type.io_options.C}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
108 ${analysis_type.io_options.V}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
109 ${analysis_type.io_options.Y}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
110 ${analysis_type.io_options.M}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
111
5e72d136a39e Uploaded
devteam
parents:
diff changeset
112 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
113
5e72d136a39e Uploaded
devteam
parents:
diff changeset
114 #elif str( $analysis_type.analysis_type_selector ) == "cline":
5e72d136a39e Uploaded
devteam
parents:
diff changeset
115
5e72d136a39e Uploaded
devteam
parents:
diff changeset
116 ${analysis_type.cline}
5e72d136a39e Uploaded
devteam
parents:
diff changeset
117
5e72d136a39e Uploaded
devteam
parents:
diff changeset
118 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
119
5e72d136a39e Uploaded
devteam
parents:
diff changeset
120 #if str( $rg.rg_selector ) == "True":
5e72d136a39e Uploaded
devteam
parents:
diff changeset
121 -R "@RG\tID:$rg.ID\tSM:$rg.SM"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
122 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
123
5e72d136a39e Uploaded
devteam
parents:
diff changeset
124 #if str( $fastq_input.fastq_input_selector ) == "paired":
5e72d136a39e Uploaded
devteam
parents:
diff changeset
125
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
126 #if str( $fastq_input.iset_stats ): ## check that insert statistics is used
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
127 -I "${fastq_input.iset_stats}"
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
128 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
129
5e72d136a39e Uploaded
devteam
parents:
diff changeset
130 "${reference_fasta_filename}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
131
5e72d136a39e Uploaded
devteam
parents:
diff changeset
132 "${fastq_input.fastq_input1}" "${fastq_input.fastq_input2}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
133
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
134 #elif str( $fastq_input.fastq_input_selector ) == "paired_collection":
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
135
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
136 #if str( $fastq_input.iset_stats ): ## check that insert statistics is used
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
137 -I "${fastq_input.iset_stats}"
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
138 #end if
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
139
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
140
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
141 "${reference_fasta_filename}"
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
142
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
143 "${fastq_input.fastq_input1.forward}" "${fastq_input.fastq_input1.reverse}"
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
144
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
145 #else:
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
146
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
147
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
148 "${reference_fasta_filename}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
149
5e72d136a39e Uploaded
devteam
parents:
diff changeset
150 "${fastq_input.fastq_input1}"
5e72d136a39e Uploaded
devteam
parents:
diff changeset
151
5e72d136a39e Uploaded
devteam
parents:
diff changeset
152 #end if
5e72d136a39e Uploaded
devteam
parents:
diff changeset
153
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
154 | samtools view -Sb - > temporary_bam_file.bam &amp;&amp;
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
155
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
156 samtools sort -f temporary_bam_file.bam ${bam_output}
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
157
5e72d136a39e Uploaded
devteam
parents:
diff changeset
158 </command>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
159
5e72d136a39e Uploaded
devteam
parents:
diff changeset
160 <inputs>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
161
5e72d136a39e Uploaded
devteam
parents:
diff changeset
162 <conditional name="reference_source">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
163 <param name="reference_source_selector" type="select" label="Load reference genome from">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
164 <option value="cached">Local cache</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
165 <option value="history">History</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
166 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
167 <when value="cached">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
168 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
169 <options from_data_table="bwa_mem_indexes">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
170 <filter type="sort_by" column="2" />
5e72d136a39e Uploaded
devteam
parents:
diff changeset
171 <validator type="no_options" message="No indexes are available" />
5e72d136a39e Uploaded
devteam
parents:
diff changeset
172 </options>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
173 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
174 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
175 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
176 <when value="history">
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
177 <param name="ref_file" type="data" format="fasta" label="Use the following dataset as the reference sequence" help="You can upload a FASTA sequence to the history and use it as reference" />
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
178 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
179 </conditional>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
180 <conditional name="fastq_input">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
181 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
182 <option value="paired">Paired</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
183 <option value="single">Single</option>
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
184 <option value="paired_collection">Paired Collection</option>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
185 <option value="paired_iv">Paired Interleaved</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
186 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
187 <when value="paired">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
188 <param name="fastq_input1" type="data" format="fastqsanger" label="Select first set of reads" help="Specify dataset with forward reads"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
189 <param name="fastq_input2" type="data" format="fastqsanger" label="Select second set of reads" help="Specify dataset with reverse reads"/>
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
190 <param name="iset_stats" type="text" optional="True" size="10" label="Enter mean, standerd deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
191 <sanitizer invalid_char="">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
192 <valid initial="string.digits"><add value=","/> </valid>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
193 </sanitizer>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
194 </param>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
195 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
196 <when value="single">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
197 <param name="fastq_input1" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with single reads"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
198 </when>
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
199 <when value="paired_collection">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
200 <param name="fastq_input1" format="fastqsanger" type="data_collection" collection_type="paired" label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
201 <param name="iset_stats" type="text" optional="True" size="10" label="Enter mean, standerd deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
202 <sanitizer invalid_char="">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
203 <valid initial="string.digits"><add value=","/> </valid>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
204 </sanitizer>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
205 </param>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
206 </when>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
207 <when value="paired_iv">
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
208 <param name="fastq_input1" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with interleaved reads"/>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
209 <param name="iset_stats" type="text" optional="True" size="10" label="Enter mean, standerd deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
210 <sanitizer invalid_char="">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
211 <valid initial="string.digits"><add value=","/> </valid>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
212 </sanitizer>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
213 </param>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
214 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
215 </conditional>
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
216
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
217
5e72d136a39e Uploaded
devteam
parents:
diff changeset
218 <conditional name="rg">
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
219 <param name="rg_selector" type="select" label="Set read groups information?" help="Specifying readgroup information can greatly simplify your downstream analyses by allowing combining multiple datasets. See help below for more details">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
220 <option value="set">Set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
221 <option value="do_not_set" selected="True">Do not set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
222 </param>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
223 <when value="set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
224 <param name="ID" type="text" value="readgroup1" size="20" label="Specify readgroup ID" help="This value must be unique among multiple samples in your experiment">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
225 <sanitizer invalid_char="">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
226 <valid initial="string.printable"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
227 </sanitizer>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
228 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
229 <param name="SM" type="text" value="blood" size="20" label="Specify readgroup sample name (SM)" help="This value should be descriptive">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
230 <sanitizer invalid_char="">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
231 <valid initial="string.printable"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
232 </sanitizer>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
233 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
234 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
235 <when value="do_not_set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
236 <!-- do nothing -->
5e72d136a39e Uploaded
devteam
parents:
diff changeset
237 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
238 </conditional>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
239
5e72d136a39e Uploaded
devteam
parents:
diff changeset
240 <conditional name="analysis_type">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
241 <param name="analysis_type_selector" type="select" label="Select analysis mode">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
242 <option value="illumina">1.Simple Illumina mode</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
243 <option value="pacbio">2.PacBio mode</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
244 <option value="full">3.Full list of options</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
245 <option value="cline">4.Input parameters on the command line</option>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
246 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
247 <when value="illumina">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
248 <!-- do nothing -->
5e72d136a39e Uploaded
devteam
parents:
diff changeset
249 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
250 <when value="pacbio">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
251 <!-- do nothing. all magic happens within <command> tag -->
5e72d136a39e Uploaded
devteam
parents:
diff changeset
252 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
253 <when value="full">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
254 <conditional name="algorithmic_options">
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
255 <param name="algorithmic_options_selector" type="select" label="Set algorithmic options?" help="Sets -k, -w, -d, -r, -y, -c, -D, -W, -m, -S, -P, and -e options.">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
256 <option value="set">Set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
257 <option value="do_not_set" selected="True">Do not set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
258 </param>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
259 <when value="set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
260 <param name="k" type="integer" value="19" label="minimum seed length" help="-k; default=19"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
261 <param name="w" type="integer" value="100" label="band width for banded alignment" help="-w; default=100"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
262 <param name="d" type="integer" value="100" label="off-diagonal X-dropoff" help="-d; default=100"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
263 <param name="r" type="float" value="1.5" label="look for internal seeds inside a seed longer than -k * THIS VALUE" help="-r; default=1.5"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
264 <param name="y" type="integer" value="0" label="find maximum exact matches (MEMs) longer than -k * -r with size less than THIS VALUE" help="-y; default=0"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
265 <param name="c" type="integer" value="500" label="skip seeds with more than that many occurrences" help="-c; default=500"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
266 <param name="D" type="float" value="0.5" label="drop chains shorter than this fraction of the longest overlapping chain" help="-D; default=0.5"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
267 <param name="W" type="integer" value="0" label="discard a chain if seeded bases shorter than" help="-W; default=0"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
268 <param name="m" type="integer" value="50" label="perform at most this many rounds of mate rescues for each read" help="-m; default=50"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
269 <param name="S" type="boolean" truevalue="-S" falsevalue="" label="skip mate rescue" help="-S"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
270 <param name="P" type="boolean" truevalue="-P" falsevalue="" label="skip pairing; mate rescue performed unless -S also in use" help="-P"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
271 <param name="e" type="boolean" truevalue="-e" falsevalue="" label="discard full-length exact matches" help="-e"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
272 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
273 <when value="do_not_set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
274 <!-- do nothing -->
5e72d136a39e Uploaded
devteam
parents:
diff changeset
275 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
276 </conditional>
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
277
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
278 <conditional name="scoring_options">
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
279 <param name="scoring_options_selector" type="select" label="Set scoring options?" help="Sets -A, -B, -O, -E, -L, and -U options.">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
280 <option value="set">Set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
281 <option value="do_not_set" selected="True">Do not set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
282 </param>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
283 <when value="set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
284 <param name="A" type="integer" value="1" label="score for a sequence match" help="-A; scales options -T, -d, -B, -O, -E, -L, and -U; default=1"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
285 <param name="B" type="integer" value="4" label="penalty for mismatch" help="-B; default=4"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
286 <param name="O" type="text" value="6,6" label="gap open penalty for deletions and insertions" help="-O; default=6,6">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
287 <sanitizer invalid_char="">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
288 <valid initial="string.digits"><add value=","/> </valid>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
289 </sanitizer>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
290 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
291 <param name="E" type="text" value="1,1" label="gap extension penalty; a gap of size k cost &#39;-O + -E*k&#39; " help="-E; default=1,1">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
292 <sanitizer invalid_char="">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
293 <valid initial="string.digits"><add value=","/> </valid>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
294 </sanitizer>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
295 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
296 <param name="L" type="text" value="5,5" label="penalty for 5&#39;-end and 3&#39;-end clipping" help="-L; default=5,5">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
297 <sanitizer invalid_char="">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
298 <valid initial="string.digits"><add value=","/> </valid>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
299 </sanitizer>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
300 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
301 <param name="U" type="integer" value="17" label="penalty for an unpaired read pair" help="-U; default=17"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
302 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
303 <when value="do_not_set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
304 <!-- do nothing -->
5e72d136a39e Uploaded
devteam
parents:
diff changeset
305 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
306 </conditional>
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
307
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
308 <conditional name="io_options">
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
309 <param name="io_options_selector" type="select" label="Set input/output options" help="Sets -T, -h, -a, -C, -V, -Y, and -M options.">
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
310 <option value="set">Set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
311 <option value="do_not_set" selected="True">Do not set</option>
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
312 </param>
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
313 <when value="set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
314 <param name="T" type="integer" value="30" label="minimum score to output" help="-T; default=30"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
315 <param name="h" type="integer" value="5" label="if there are this many hits with score >80% of the max score, output all in XA tag" help="-h; default=5"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
316 <param name="a" type="boolean" truevalue="-a" falsevalue="" label="output all alignments for single-ends or unpaired paired-ends" help="-a"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
317 <param name="C" type="boolean" truevalue="-C" falsevalue="" label="append FASTA/FASTQ comment to BAM output" help="-C"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
318 <param name="V" type="boolean" truevalue="-V" falsevalue="" label="output the reference FASTA header in the XR tag" help="-C"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
319 <param name="Y" type="boolean" truevalue="-Y" falsevalue="" label="use soft clipping for supplementary alignments" help="-Y"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
320 <param name="M" type="boolean" truevalue="-M" falsevalue="" label="mark shorter split hits as secondary" help="-M"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
321 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
322 <when value="do_not_set">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
323 <!-- do nothing -->
5e72d136a39e Uploaded
devteam
parents:
diff changeset
324 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
325 </conditional>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
326 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
327 <when value="cline">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
328 <param name="cline" size="60" type="text" value="-T 30 -c 250" label="Type command line options here" help="All paremeters that DO NOT involve filenames can be typed here.">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
329 <sanitizer>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
330 <valid initial="string.printable">
5e72d136a39e Uploaded
devteam
parents:
diff changeset
331 <remove value="&apos;"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
332 </valid>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
333 </sanitizer>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
334 </param>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
335 </when>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
336 </conditional>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
337 </inputs>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
338
5e72d136a39e Uploaded
devteam
parents:
diff changeset
339 <outputs>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
340 <data format="bam" name="bam_output" label="${tool.name} on ${on_string} (mapped reads in BAM format)"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
341 </outputs>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
342
5e72d136a39e Uploaded
devteam
parents:
diff changeset
343 <tests>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
344 <test>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
345 <param name="reference_source_selector" value="history" />
5e72d136a39e Uploaded
devteam
parents:
diff changeset
346 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
347 <param name="fastq_input_selector" value="paired"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
348 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
349 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
350 <param name="analysis_type_selector" value="illumina"/>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
351 <output name="bam_output" ftype="bam" file="bwa-mem-test1.bam" lines_diff="2" />
5e72d136a39e Uploaded
devteam
parents:
diff changeset
352 </test>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
353 </tests>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
354 <stdio>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
355 <exit_code range="1:" />
5e72d136a39e Uploaded
devteam
parents:
diff changeset
356 </stdio>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
357 <help>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
358
5e72d136a39e Uploaded
devteam
parents:
diff changeset
359 **What is does**
5e72d136a39e Uploaded
devteam
parents:
diff changeset
360
5e72d136a39e Uploaded
devteam
parents:
diff changeset
361 From http://arxiv.org/abs/1303.3997:
5e72d136a39e Uploaded
devteam
parents:
diff changeset
362
5e72d136a39e Uploaded
devteam
parents:
diff changeset
363 BWA-MEM is a new alignment algorithm for aligning sequence reads or long query sequences against a large reference genome such as human.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
364 It automatically chooses between local and end-to-end alignments, supports paired-end reads and performs chimeric alignment.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
365 The algorithm is robust to sequencing errors and applicable to a wide range of sequence lengths from 70bp to a few megabases.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
366 For mapping 100bp sequences, BWA-MEM shows better performance than several state-of-art read aligners to date.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
367
5e72d136a39e Uploaded
devteam
parents:
diff changeset
368 It is best suited for mapping long (>70 nt) reads against large reference genomes.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
369
5e72d136a39e Uploaded
devteam
parents:
diff changeset
370 This Galaxy tool wraps bwa-mem module of bwa read mapping tool. Galaxy implementation takes fastq files as input and produces output in BAM (not SAM) format, which can be further processed using various BAM utilities exiting in Galaxy (BAMTools, SAMTools, Picard).
5e72d136a39e Uploaded
devteam
parents:
diff changeset
371
5e72d136a39e Uploaded
devteam
parents:
diff changeset
372 -----
5e72d136a39e Uploaded
devteam
parents:
diff changeset
373
5e72d136a39e Uploaded
devteam
parents:
diff changeset
374 **Galaxy-specific option**
5e72d136a39e Uploaded
devteam
parents:
diff changeset
375
5e72d136a39e Uploaded
devteam
parents:
diff changeset
376 Galaxy allows four levels of control over bwa-mem options provided by **Select analysis mode** menu option. These are:
5e72d136a39e Uploaded
devteam
parents:
diff changeset
377
5e72d136a39e Uploaded
devteam
parents:
diff changeset
378 1. *Simple Illumina mode*: The simplest possible bwa mem application in which it alignes single or paired-end data to reference using default parameters. It is equivalent to the following command: bwa mem &lt;reference index&gt; &lt;fastq dataset1&gt; [fastq dataset2]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
379 2. *PacBio mode*: The mode adjusted specifically for mapping of long PacBio subreads. Equivalent to the following command: bwa mem -k17 -W40 -r10 -A1 -B1 -O1 -E1 -L0 &lt;reference index&gt; &lt;PacBio dataset in fastq format&gt;
5e72d136a39e Uploaded
devteam
parents:
diff changeset
380 3. *Full list of options*: Allows access to all options through Galaxy interface.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
381 4. *Input parameters on the command line*: Similar to the choice above but for those who does not like clicking. Here options can be directly typed into a text box.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
382
5e72d136a39e Uploaded
devteam
parents:
diff changeset
383 ------
5e72d136a39e Uploaded
devteam
parents:
diff changeset
384
5e72d136a39e Uploaded
devteam
parents:
diff changeset
385 **BWA MEM options**
5e72d136a39e Uploaded
devteam
parents:
diff changeset
386
5e72d136a39e Uploaded
devteam
parents:
diff changeset
387 Each Galaxy parameter widget corresponds to command line flags listed below:
5e72d136a39e Uploaded
devteam
parents:
diff changeset
388
5e72d136a39e Uploaded
devteam
parents:
diff changeset
389 Algorithm options::
5e72d136a39e Uploaded
devteam
parents:
diff changeset
390
5e72d136a39e Uploaded
devteam
parents:
diff changeset
391 -k INT minimum seed length [19]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
392 -w INT band width for banded alignment [100]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
393 -d INT off-diagonal X-dropoff [100]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
394 -r FLOAT look for internal seeds inside a seed longer than {-k} * FLOAT [1.5]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
395 -y INT find MEMs longer than {-k} * {-r} with size less than INT [0]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
396 -c INT skip seeds with more than INT occurrences [500]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
397 -D FLOAT drop chains shorter than FLOAT fraction of the longest overlapping chain [0.50]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
398 -W INT discard a chain if seeded bases shorter than INT [0]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
399 -m INT perform at most INT rounds of mate rescues for each read [50]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
400 -S skip mate rescue
5e72d136a39e Uploaded
devteam
parents:
diff changeset
401 -P skip pairing; mate rescue performed unless -S also in use
5e72d136a39e Uploaded
devteam
parents:
diff changeset
402 -e discard full-length exact matches
5e72d136a39e Uploaded
devteam
parents:
diff changeset
403
5e72d136a39e Uploaded
devteam
parents:
diff changeset
404 Scoring options::
5e72d136a39e Uploaded
devteam
parents:
diff changeset
405
5e72d136a39e Uploaded
devteam
parents:
diff changeset
406 -A INT score for a sequence match, which scales options -TdBOELU unless overridden [1]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
407 -B INT penalty for a mismatch [4]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
408 -O INT[,INT] gap open penalties for deletions and insertions [6,6]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
409 -E INT[,INT] gap extension penalty; a gap of size k cost '{-O} + {-E}*k' [1,1]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
410 -L INT[,INT] penalty for 5'- and 3'-end clipping [5,5]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
411 -U INT penalty for an unpaired read pair [17]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
412
5e72d136a39e Uploaded
devteam
parents:
diff changeset
413 Input/output options::
5e72d136a39e Uploaded
devteam
parents:
diff changeset
414
5e72d136a39e Uploaded
devteam
parents:
diff changeset
415 -p first query file consists of interleaved paired-end sequences
5e72d136a39e Uploaded
devteam
parents:
diff changeset
416 -R STR read group header line such as '@RG\tID:foo\tSM:bar' [null]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
417
5e72d136a39e Uploaded
devteam
parents:
diff changeset
418 -v INT verbose level: 1=error, 2=warning, 3=message, 4+=debugging [3]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
419 -T INT minimum score to output [30]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
420 -h INT if there are &lt;INT hits with score &gt;80% of the max score, output all in XA [5]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
421 -a output all alignments for SE or unpaired PE
5e72d136a39e Uploaded
devteam
parents:
diff changeset
422 -C append FASTA/FASTQ comment to SAM output
5e72d136a39e Uploaded
devteam
parents:
diff changeset
423 -V output the reference FASTA header in the XR tag
5e72d136a39e Uploaded
devteam
parents:
diff changeset
424 -Y use soft clipping for supplementary alignments
5e72d136a39e Uploaded
devteam
parents:
diff changeset
425 -M mark shorter split hits as secondary
5e72d136a39e Uploaded
devteam
parents:
diff changeset
426
5e72d136a39e Uploaded
devteam
parents:
diff changeset
427 -I FLOAT[,FLOAT[,INT[,INT]]]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
428 specify the mean, standard deviation (10% of the mean if absent), max
5e72d136a39e Uploaded
devteam
parents:
diff changeset
429 (4 sigma from the mean if absent) and min of the insert size distribution.
5e72d136a39e Uploaded
devteam
parents:
diff changeset
430 FR orientation only. [inferred]
5e72d136a39e Uploaded
devteam
parents:
diff changeset
431
5e72d136a39e Uploaded
devteam
parents:
diff changeset
432
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
433 @dataset_collections@
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
434
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
435 @RG@
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
436
5
86c73f0eb389 Uploaded
devteam
parents: 0
diff changeset
437 @info@
0
5e72d136a39e Uploaded
devteam
parents:
diff changeset
438
5e72d136a39e Uploaded
devteam
parents:
diff changeset
439
5e72d136a39e Uploaded
devteam
parents:
diff changeset
440
5e72d136a39e Uploaded
devteam
parents:
diff changeset
441 </help>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
442 <citations>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
443 <citation type="doi">10.1093/bioinformatics/btp324</citation>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
444 <citation type="doi">10.1093/bioinformatics/btp698</citation>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
445 <citation type="bibtex">@misc{1303.3997,
5e72d136a39e Uploaded
devteam
parents:
diff changeset
446 Author = {Heng Li},
5e72d136a39e Uploaded
devteam
parents:
diff changeset
447 Title = {Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM},
5e72d136a39e Uploaded
devteam
parents:
diff changeset
448 Year = {2013},
5e72d136a39e Uploaded
devteam
parents:
diff changeset
449 Eprint = {arXiv:1303.3997},
5e72d136a39e Uploaded
devteam
parents:
diff changeset
450 url = {http://arxiv.org/abs/1303.3997},
5e72d136a39e Uploaded
devteam
parents:
diff changeset
451 }</citation>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
452 </citations>
5e72d136a39e Uploaded
devteam
parents:
diff changeset
453 </tool>