comparison bwa-mem.xml @ 4:ac30bfd3e2a8 draft

planemo upload commit a50a3947aebc8a1d11bac39599f4efd8ed9a3bd5
author devteam
date Thu, 18 Jun 2015 17:35:40 -0400
parents e29bc5c169bc
children fbf460831036
comparison
equal deleted inserted replaced
3:607ca4b95837 4:ac30bfd3e2a8
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool id="bwa_mem" name="Map with BWA-MEM" version="0.2.1"> 2 <tool id="bwa_mem" name="Map with BWA-MEM" version="0.2.2">
3 <description>- map medium and long reads (&gt; 100 bp) against reference genome</description> 3 <description>- map medium and long reads (&gt; 100 bp) against reference genome</description>
4 <macros> 4 <macros>
5 <import>bwa_macros.xml</import> 5 <import>bwa_macros.xml</import>
6 </macros> 6 </macros>
7 <requirements> 7 <requirements>
133 </command> 133 </command>
134 134
135 <inputs> 135 <inputs>
136 136
137 <conditional name="reference_source"> 137 <conditional name="reference_source">
138 <param name="reference_source_selector" type="select" label="Load reference genome from"> 138 <param name="reference_source_selector" 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. See `Indexes` section of help below">
139 <option value="cached">Local cache</option> 139 <option value="cached">Use a built-in genome index</option>
140 <option value="history">History</option> 140 <option value="history">Use a genome from history and build index</option>
141 </param> 141 </param>
142 <when value="cached"> 142 <when value="cached">
143 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list"> 143 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
144 <options from_data_table="bwa_mem_indexes"> 144 <options from_data_table="bwa_mem_indexes">
145 <filter type="sort_by" column="2" /> 145 <filter type="sort_by" column="2" />
160 <option value="paired_iv">Paired Interleaved</option> 160 <option value="paired_iv">Paired Interleaved</option>
161 </param> 161 </param>
162 <when value="paired"> 162 <when value="paired">
163 <param name="fastq_input1" type="data" format="fastqsanger" label="Select first set of reads" help="Specify dataset with forward reads"/> 163 <param name="fastq_input1" type="data" format="fastqsanger" label="Select first set of reads" help="Specify dataset with forward reads"/>
164 <param name="fastq_input2" type="data" format="fastqsanger" label="Select second set of reads" help="Specify dataset with reverse reads"/> 164 <param name="fastq_input2" type="data" format="fastqsanger" label="Select second set of reads" help="Specify dataset with reverse reads"/>
165 <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."> 165 <param name="iset_stats" type="text" optional="True" size="10" label="Enter mean, standard 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.">
166 <sanitizer invalid_char=""> 166 <sanitizer invalid_char="">
167 <valid initial="string.digits"><add value=","/> </valid> 167 <valid initial="string.digits"><add value=","/> </valid>
168 </sanitizer> 168 </sanitizer>
169 </param> 169 </param>
170 </when> 170 </when>
171 <when value="single"> 171 <when value="single">
172 <param name="fastq_input1" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with single reads"/> 172 <param name="fastq_input1" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with single reads"/>
173 </when> 173 </when>
174 <when value="paired_collection"> 174 <when value="paired_collection">
175 <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"/> 175 <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"/>
176 <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."> 176 <param name="iset_stats" type="text" optional="True" size="10" label="Enter mean, standard 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.">
177 <sanitizer invalid_char=""> 177 <sanitizer invalid_char="">
178 <valid initial="string.digits"><add value=","/> </valid> 178 <valid initial="string.digits"><add value=","/> </valid>
179 </sanitizer> 179 </sanitizer>
180 </param> 180 </param>
181 </when> 181 </when>
182 <when value="paired_iv"> 182 <when value="paired_iv">
183 <param name="fastq_input1" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with interleaved reads"/> 183 <param name="fastq_input1" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with interleaved reads"/>
184 <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."> 184 <param name="iset_stats" type="text" optional="True" size="10" label="Enter mean, standard 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.">
185 <sanitizer invalid_char=""> 185 <sanitizer invalid_char="">
186 <valid initial="string.digits"><add value=","/> </valid> 186 <valid initial="string.digits"><add value=","/> </valid>
187 </sanitizer> 187 </sanitizer>
188 </param> 188 </param>
189 </when> 189 </when>
191 191
192 <expand macro="readgroup_params" /> 192 <expand macro="readgroup_params" />
193 193
194 <conditional name="analysis_type"> 194 <conditional name="analysis_type">
195 <param name="analysis_type_selector" type="select" label="Select analysis mode"> 195 <param name="analysis_type_selector" type="select" label="Select analysis mode">
196 <option value="illumina">Simple Illumina mode</option> 196 <option value="illumina">1.Simple Illumina mode</option>
197 <option value="pacbio">PacBio mode (-x pacbio)</option> 197 <option value="pacbio">2.PacBio mode (-x pacbio)</option>
198 <option value="full">Full list of options</option> 198 <option value="full">3.Full list of options</option>
199 </param> 199 </param>
200 <when value="illumina"> 200 <when value="illumina">
201 <!-- do nothing --> 201 <!-- do nothing -->
202 </when> 202 </when>
203 <when value="pacbio"> 203 <when value="pacbio">
300 <param name="fastq_input_selector" value="paired"/> 300 <param name="fastq_input_selector" value="paired"/>
301 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/> 301 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
302 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/> 302 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
303 <param name="rg_selector" value="set"/> 303 <param name="rg_selector" value="set"/>
304 <param name="ID" value="rg1"/> 304 <param name="ID" value="rg1"/>
305 <param name="PL" value="CAPILLARY"/>
306 <param name="LB" value="AARDVARK-1" />
305 <param name="analysis_type_selector" value="illumina"/> 307 <param name="analysis_type_selector" value="illumina"/>
306 <output name="bam_output" ftype="bam" file="bwa-mem-test2.bam" lines_diff="2" /> 308 <output name="bam_output" ftype="bam" file="bwa-mem-test2.bam" lines_diff="2" />
307 </test> 309 </test>
308 </tests> 310 </tests>
309 <help> 311 <help>
317 For mapping 100bp sequences, BWA-MEM shows better performance than several state-of-art read aligners to date. 319 For mapping 100bp sequences, BWA-MEM shows better performance than several state-of-art read aligners to date.
318 320
319 It is best suited for mapping long (>70 nt) reads against large reference genomes. 321 It is best suited for mapping long (>70 nt) reads against large reference genomes.
320 322
321 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). 323 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).
324
325 -----
326
327 **Indices: Selecting reference genomes for BWA**
328
329 Galaxy wrapper for BWA allows you select between precomputed and user-defined indices for reference genomes using **Will you select a reference genome from your history or use a built-in index?** flag. This flag has two options:
330
331 1. **Use a built-in genome index** - when selected (this is default), Galaxy provides the user with **Select reference genome index** dropdown. Genomes listed in this dropdown have been pre-indexed with bwa index utility and are ready to be mapped against.
332 2. **Use a genome from the history and build index** - when selected, Galaxy provides the user with **Select reference genome sequence** dropdown. This dropdown is populated by all FASTA formatted files listed in your current history. If your genome of interest is uploaded into history it will be shown there. Selecting a genome from this dropdown will cause Galaxy to first transparently index it using `bwa index` command, and then run mapping with `bwa mem`.
333
334 If your genome of interest is not listed here you have two choices:
335
336 1. Contact galaxy team using **Help->Support** link at the top of the interface and let us know that an index needs to be added
337 2. Upload your genome of interest as a FASTA file to Galaxy history and selected **Use a genome from the history and build index** option.
322 338
323 ----- 339 -----
324 340
325 **Galaxy-specific option** 341 **Galaxy-specific option**
326 342