annotate bwa_long/bwa_wrapper.xml @ 0:fb4844b6a98e default tip

Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
author juanperin
date Tue, 07 Jun 2011 17:28:32 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
1 <tool id="bwa_wrapper" name="Map with BWA" version="1.0.3">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
2 <description></description>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
3 <command interpreter="python">bwa_wrapper.py
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
4 --threads="4"
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
5 #if $genomeSource.refGenomeSource == "history":
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
6 --ref=$genomeSource.ownFile
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
7 #else:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
8 --ref=$genomeSource.indices.value
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
9 #end if
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
10 --fastq=$paired.input1
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
11 #if $paired.sPaired == "paired":
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
12 --rfastq=$paired.input2
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
13 #else:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
14 --rfastq="None"
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
15 #end if
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
16 --output=$output --genAlignType=$paired.sPaired --params=$params.source_select --fileSource=$genomeSource.refGenomeSource
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
17 #if $params.source_select == "pre_set":
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
18 --maxEditDist="None" --fracMissingAligns="None" --maxGapOpens="None" --maxGapExtens="None" --disallowLongDel="None" --disallowIndel="None" --seed="None" --maxEditDistSeed="None" --mismatchPenalty="None" --gapOpenPenalty="None" --gapExtensPenalty="None" --suboptAlign="None" --noIterSearch="None" --outputTopN="None" --maxInsertSize="None" --maxOccurPairing="None"
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
19 #else:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
20 --maxEditDist=$params.maxEditDist --fracMissingAligns=$params.fracMissingAligns --maxGapOpens=$params.maxGapOpens --maxGapExtens=$params.maxGapExtens --disallowLongDel=$params.disallowLongDel --disallowIndel=$params.disallowIndel --seed=$params.seed --maxEditDistSeed=$params.maxEditDistSeed --mismatchPenalty=$params.mismatchPenalty --gapOpenPenalty=$params.gapOpenPenalty --gapExtensPenalty=$params.gapExtensPenalty --suboptAlign=$params.suboptAlign --noIterSearch=$params.noIterSearch --outputTopN=$params.outputTopN --maxInsertSize=$params.maxInsertSize --maxOccurPairing=$params.maxOccurPairing
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
21 #end if
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
22 #if $genomeSource.refGenomeSource == "history":
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
23 --dbkey=$dbkey
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
24 #else:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
25 --dbkey="None"
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
26 #end if
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
27 --suppressHeader=$suppressHeader
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
28 </command>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
29 <inputs>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
30 <conditional name="genomeSource">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
31 <param name="refGenomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
32 <option value="indexed">Use a built-in index</option>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
33 <option value="history">Use one from the history</option>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
34 </param>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
35 <when value="indexed">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
36 <param name="indices" type="select" label="Select a reference genome">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
37 <options from_file="bwa_index.loc">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
38 <column name="value" index="1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
39 <column name="name" index="0" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
40 </options>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
41 </param>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
42 </when>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
43 <when value="history">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
44 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
45 </when>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
46 </conditional>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
47 <conditional name="paired">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
48 <param name="sPaired" type="select" label="Is this library mate-paired?">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
49 <option value="single">Single-end</option>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
50 <option value="paired">Paired-end</option>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
51 <option value="longread">Long-reads</option>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
52 </param>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
53 <when value="single">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
54 <param name="input1" type="data" format="fastqsanger" label="FASTQ file" help="Must have Sanger-scaled quality values with ASCII offset 33"/>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
55 </when>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
56 <when value="paired">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
57 <param name="input1" type="data" format="fastqsanger" label="Forward FASTQ file" help="Must have Sanger-scaled quality values with ASCII offset 33"/>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
58 <param name="input2" type="data" format="fastqsanger" label="Reverse FASTQ file" help="Must have Sanger-scaled quality values with ASCII offset 33"/>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
59 </when>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
60 <when value="longread">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
61 <param name="input1" type="data" format="fastqsanger" label="FASTQ file" help="Must have Sanger-scaled quality values with ASCII offset 33"/>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
62 </when>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
63 </conditional>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
64 <conditional name="params">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
65 <param name="source_select" type="select" label="BWA settings to use" help="For most mapping needs use Commonly Used settings. If you want full control use Full Parameter List">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
66 <option value="pre_set">Commonly Used</option>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
67 <option value="full">Full Parameter List</option>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
68 </param>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
69 <when value="pre_set" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
70 <when value="full">
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
71 <param name="maxEditDist" type="integer" value="0" label="Maximum edit distance (-n)" help="Enter this value OR a fraction of missing alignments, not both" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
72 <param name="fracMissingAligns" type="float" value="0.04" label="Fraction of missing alignments given 2% uniform base error rate (-n)" help="Enter this value OR maximum edit distance, not both" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
73 <param name="maxGapOpens" type="integer" value="1" label="Maximum number of gap opens (-o)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
74 <param name="maxGapExtens" type="integer" value="-1" label="Maximum number of gap extensions (-e)" help="-1 for k-difference mode (disallowing long gaps)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
75 <param name="disallowLongDel" type="integer" value="16" label="Disallow long deletion within [value] bp towards the 3'-end (-d)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
76 <param name="disallowIndel" type="integer" value="5" label="Disallow insertion/deletion within [value] bp towards the end (-i)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
77 <param name="seed" type="integer" value="-1" label="Number of first subsequences to take as seed (-l)" help="Enter -1 for infinity" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
78 <param name="maxEditDistSeed" type="integer" value="2" label="Maximum edit distance in the seed (-k)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
79 <param name="mismatchPenalty" type="integer" value="3" label="Mismatch penalty (-M)" help="BWA will not search for suboptimal hits with a score lower than [value]" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
80 <param name="gapOpenPenalty" type="integer" value="11" label="Gap open penalty (-O)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
81 <param name="gapExtensPenalty" type="integer" value="4" label="Gap extension penalty (-E)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
82 <param name="suboptAlign" type="boolean" truevalue="true" falsevalue="false" checked="no" label="Proceed with suboptimal alignments even if the top hit is a repeat" help="By default, BWA only searches for suboptimal alignments if the top hit is unique. Using this option has no effect on accuracy for single-end reads. It is mainly designed for improving the alignment accuracy of paired-end reads. However, the pairing procedure will be slowed down, especially for very short reads (~32bp) (-R)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
83 <param name="noIterSearch" type="boolean" truevalue="true" falsevalue="false" checked="no" label="Disable iterative search" help="All hits with no more than maxDiff differences will be found. This mode is much slower than the default (-N)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
84 <param name="outputTopN" type="integer" value="-1" label="Output top [value] hits" help="For single-end reads only. Enter -1 to disable outputting multiple hits. NOTE: If you put in a positive value here, your output will NOT be in SAM format (-n)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
85 <param name="maxInsertSize" type="integer" value="500" label="Maximum insert size for a read pair to be considered as being mapped properly" help="For paired-end reads only. Only used when there are not enough good alignments to infer the distribution of insert sizes (-a)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
86 <param name="maxOccurPairing" type="integer" value="100000" label="Maximum occurrences of a read for pairing" help="For paired-end reads only. A read with more occurrences will be treated as a single-end read. Reducing this parameter helps faster pairing (-o)" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
87 </when>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
88 </conditional>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
89 <param name="suppressHeader" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Suppress the header in the output SAM file" help="BWA produces SAM with several lines of header information" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
90 </inputs>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
91 <outputs>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
92 <data format="sam" name="output" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
93 </outputs>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
94 <tests>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
95 <test>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
96 <!--
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
97 BWA commands:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
98 bwa aln -t 4 phiX test-data/bwa_wrapper_in1.fastq > bwa_wrapper_out1.sai
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
99 bwa samse phiX bwa_wrapper_out1.sai test-data/bwa_wrapper_in1.fastq >> bwa_wrapper_out1.sam
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
100 phiX.fasta is the prefix for the reference
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
101 remove the comment lines (beginning with '@') from the resulting sam file
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
102 note that 'phiX' should be 'PHIX174' to match what's in the indexed file
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
103 -->
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
104 <param name="refGenomeSource" value="indexed" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
105 <param name="indices" value="phiX" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
106 <param name="sPaired" value="single" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
107 <param name="input1" value="bwa_wrapper_in1.fastq" ftype="fastqsanger" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
108 <param name="source_select" value="pre_set" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
109 <param name="suppressHeader" value="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
110 <output name="output" file="bwa_wrapper_out1.sam" ftype="sam" sort="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
111 </test>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
112 <test>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
113 <!--
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
114 BWA commands:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
115 cp test-data/phiX.fasta phiX.fasta
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
116 bwa index -a is phiX.fasta
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
117 bwa aln -n 0.04 -o 1 -e -1 -d 16 -i 5 -k 2 -t 4 -M 3 -O 11 -E 4 -R -N phiX.fasta test-data/bwa_wrapper_in1.fastq > bwa_wrapper_out2.sai
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
118 bwa samse phiX.fasta bwa_wrapper_out2.sai test-data/bwa_wrapper_in1.fastq >> bwa_wrapper_out2.sam
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
119 phiX.fasta is the prefix for the reference
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
120 remove the comment lines (beginning with '@') from the resulting sam file
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
121 -->
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
122 <param name="refGenomeSource" value="history" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
123 <param name="ownFile" value="phiX.fasta" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
124 <param name="sPaired" value="single" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
125 <param name="input1" value="bwa_wrapper_in1.fastq" ftype="fastqsanger" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
126 <param name="source_select" value="full" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
127 <param name="maxEditDist" value="0" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
128 <param name="fracMissingAligns" value="0.04" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
129 <param name="maxGapOpens" value="1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
130 <param name="maxGapExtens" value="-1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
131 <param name="disallowLongDel" value="16" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
132 <param name="disallowIndel" value="5" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
133 <param name="seed" value="-1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
134 <param name="maxEditDistSeed" value="2" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
135 <param name="mismatchPenalty" value="3" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
136 <param name="gapOpenPenalty" value="11" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
137 <param name="gapExtensPenalty" value="4" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
138 <param name="suboptAlign" value="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
139 <param name="noIterSearch" value="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
140 <param name="outputTopN" value="-1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
141 <param name="maxInsertSize" value="500" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
142 <param name="maxOccurPairing" value="100000" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
143 <param name="suppressHeader" value="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
144 <output name="output" file="bwa_wrapper_out2.sam" ftype="sam" sort="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
145 </test>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
146 <test>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
147 <!--
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
148 BWA commands:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
149 bwa aln -n 0.04 -o 1 -e -1 -d 16 -i 5 -k 2 -t 4 -M 3 -O 11 -E 4 -R -N phiX.fasta test-data/bwa_wrapper_in2.fastq > bwa_wrapper_out3a.sai
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
150 bwa aln -n 0.04 -o 1 -e -1 -d 16 -i 5 -k 2 -t 4 -M 3 -O 11 -E 4 -R -N phiX.fasta test-data/bwa_wrapper_in3.fastq > bwa_wrapper_out3b.sai
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
151 bwa sampe -a 500 -o 100000 phiX.fasta bwa_wrapper_out3a.sai bwa_wrapper_out3b.sai test-data/bwa_wrapper_in2.fastq test-data/bwa_wrapper_in3.fastq >> bwa_wrapper_out3.sam
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
152 phiX.fasta is the prefix for the reference
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
153 remove the comment lines (beginning with '@') from the resulting sam file
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
154 note that 'phiX' should be 'PHIX174' to match what's in the indexed file
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
155 -->
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
156 <param name="refGenomeSource" value="indexed" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
157 <param name="indices" value="phiX" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
158 <param name="sPaired" value="paired" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
159 <param name="input1" value="bwa_wrapper_in2.fastq" ftype="fastqsanger" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
160 <param name="input2" value="bwa_wrapper_in3.fastq" ftype="fastqsanger" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
161 <param name="source_select" value="full" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
162 <param name="maxEditDist" value="0" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
163 <param name="fracMissingAligns" value="0.04" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
164 <param name="maxGapOpens" value="1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
165 <param name="maxGapExtens" value="-1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
166 <param name="disallowLongDel" value="16" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
167 <param name="disallowIndel" value="5" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
168 <param name="seed" value="-1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
169 <param name="maxEditDistSeed" value="2" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
170 <param name="mismatchPenalty" value="3" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
171 <param name="gapOpenPenalty" value="11" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
172 <param name="gapExtensPenalty" value="4" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
173 <param name="suboptAlign" value="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
174 <param name="noIterSearch" value="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
175 <param name="outputTopN" value="-1" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
176 <param name="maxInsertSize" value="500" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
177 <param name="maxOccurPairing" value="100000" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
178 <param name="suppressHeader" value="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
179 <output name="output" file="bwa_wrapper_out3.sam" ftype="sam" sort="true" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
180 </test>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
181 </tests>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
182 <help>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
183
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
184 **What it does**
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
185
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
186 BWA is a fast light-weighted tool that aligns relatively short sequences (queries) to a sequence database (large), such as the human reference genome. It is developed by Heng Li at the Sanger Insitute. Li H. and Durbin R. (2009) Fast and accurate short read alignment with Burrows-Wheeler transform. Bioinformatics, 25, 1754-60.
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
187
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
188 ------
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
189
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
190 **Know what you are doing**
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
191
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
192 .. class:: warningmark
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
193
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
194 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.
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
195
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
196 .. __: http://bio-bwa.sourceforge.net/
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
197
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
198 ------
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
199
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
200 **Input formats**
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
201
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
202 BWA accepts files in Sanger FASTQ format. Use the FASTQ Groomer to prepare your files.
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
203
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
204 ------
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
205
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
206 **Outputs**
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
207
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
208 The output is in SAM format, and has the following columns::
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
209
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
210 Column Description
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
211 -------- --------------------------------------------------------
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
212 1 QNAME Query (pair) NAME
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
213 2 FLAG bitwise FLAG
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
214 3 RNAME Reference sequence NAME
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
215 4 POS 1-based leftmost POSition/coordinate of clipped sequence
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
216 5 MAPQ MAPping Quality (Phred-scaled)
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
217 6 CIGAR extended CIGAR string
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
218 7 MRNM Mate Reference sequence NaMe ('=' if same as RNAME)
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
219 8 MPOS 1-based Mate POSition
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
220 9 ISIZE Inferred insert SIZE
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
221 10 SEQ query SEQuence on the same strand as the reference
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
222 11 QUAL query QUALity (ASCII-33 gives the Phred base quality)
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
223 12 OPT variable OPTional fields in the format TAG:VTYPE:VALU
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
224
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
225 The flags are as follows::
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
226
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
227 Flag Description
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
228 ------ -------------------------------------
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
229 0x0001 the read is paired in sequencing
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
230 0x0002 the read is mapped in a proper pair
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
231 0x0004 the query sequence itself is unmapped
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
232 0x0008 the mate is unmapped
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
233 0x0010 strand of the query (1 for reverse)
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
234 0x0020 strand of the mate
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
235 0x0040 the read is the first read in a pair
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
236 0x0080 the read is the second read in a pair
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
237 0x0100 the alignment is not primary
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
238
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
239 It looks like this (scroll sideways to see the entire example)::
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
240
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
241 QNAME FLAG RNAME POS MAPQ CIAGR MRNM MPOS ISIZE SEQ QUAL OPT
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
242 HWI-EAS91_1_30788AAXX:1:1:1761:343 4 * 0 0 * * 0 0 AAAAAAANNAAAAAAAAAAAAAAAAAAAAAAAAAAACNNANNGAGTNGNNNNNNNGCTTCCCACAGNNCTGG hhhhhhh;;hhhhhhhhhhh^hOhhhhghhhfhhhgh;;h;;hhhh;h;;;;;;;hhhhhhghhhh;;Phhh
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
243 HWI-EAS91_1_30788AAXX:1:1:1578:331 4 * 0 0 * * 0 0 GTATAGANNAATAAGAAAAAAAAAAATGAAGACTTTCNNANNTCTGNANNNNNNNTCTTTTTTCAGNNGTAG hhhhhhh;;hhhhhhhhhhhhhhhhhhhhhhhhhhhh;;h;;hhhh;h;;;;;;;hhhhhhhhhhh;;hhVh
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
244
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
245 -------
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
246
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
247 **BWA settings**
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
248
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
249 All of the options have a default value. You can change any of them. All of the options in BWA have been implemented here.
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
250
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
251 ------
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
252
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
253 **BWA parameter list**
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
254
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
255 This is an exhaustive list of BWA options:
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
256
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
257 For **aln**::
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
258
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
259 -n NUM Maximum edit distance if the value is INT, or the fraction of missing
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
260 alignments given 2% uniform base error rate if FLOAT. In the latter
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
261 case, the maximum edit distance is automatically chosen for different
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
262 read lengths. [0.04]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
263 -o INT Maximum number of gap opens [1]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
264 -e INT Maximum number of gap extensions, -1 for k-difference mode
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
265 (disallowing long gaps) [-1]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
266 -d INT Disallow a long deletion within INT bp towards the 3'-end [16]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
267 -i INT Disallow an indel within INT bp towards the ends [5]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
268 -l INT Take the first INT subsequence as seed. If INT is larger than the
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
269 query sequence, seeding will be disabled. For long reads, this option
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
270 is typically ranged from 25 to 35 for '-k 2'. [inf]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
271 -k INT Maximum edit distance in the seed [2]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
272 -t INT Number of threads (multi-threading mode) [1]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
273 -M INT Mismatch penalty. BWA will not search for suboptimal hits with a score
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
274 lower than (bestScore-misMsc). [3]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
275 -O INT Gap open penalty [11]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
276 -E INT Gap extension penalty [4]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
277 -c Reverse query but not complement it, which is required for alignment
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
278 in the color space.
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
279 -R Proceed with suboptimal alignments even if the top hit is a repeat. By
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
280 default, BWA only searches for suboptimal alignments if the top hit is
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
281 unique. Using this option has no effect on accuracy for single-end
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
282 reads. It is mainly designed for improving the alignment accuracy of
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
283 paired-end reads. However, the pairing procedure will be slowed down,
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
284 especially for very short reads (~32bp).
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
285 -N Disable iterative search. All hits with no more than maxDiff
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
286 differences will be found. This mode is much slower than the default.
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
287
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
288 For **samse**::
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
289
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
290 -n INT Output up to INT top hits. Value -1 to disable outputting multiple
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
291 hits. NOTE: Entering a value other than -1 will result in output that
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
292 is not in SAM format, and therefore not usable further down the
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
293 pipeline. Check the BWA documentation for details on the format of
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
294 the output. [-1]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
295
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
296 For **sampe**::
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
297
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
298 -a INT Maximum insert size for a read pair to be considered as being mapped
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
299 properly. Since version 0.4.5, this option is only used when there
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
300 are not enough good alignment to infer the distribution of insert
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
301 sizes. [500]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
302 -o INT Maximum occurrences of a read for pairing. A read with more
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
303 occurrences will be treated as a single-end read. Reducing this
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
304 parameter helps faster pairing. [100000]
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
305
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
306 </help>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
307 <code file="bwa_wrapper_code.py" />
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
308 </tool>
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
309
fb4844b6a98e Migrated tool version 1.0.3 from old tool shed archive to new tool shed repository
juanperin
parents:
diff changeset
310