Mercurial > repos > crs4 > bwa_mem
annotate bwa_mem.xml @ 1:ebb02ba5987c draft default tip
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
author | crs4 |
---|---|
date | Fri, 21 Mar 2014 12:56:15 -0400 |
parents | 6820983ba5d5 |
children |
rev | line source |
---|---|
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
1 <tool id="bwa_mem" name="Map with BWA-MEM" version="0.8.0"> |
0 | 2 <requirements> |
3 <requirement type="package" version="0.7.7">bwa</requirement> | |
4 </requirements> | |
5 <description></description> | |
6 <version_command>bwa 2>&1 | grep "Version: " | sed -e 's/Version: //'</version_command> | |
7 <command interpreter="python"> | |
8 bwa_mem.py | |
9 --threads="\${GALAXY_SLOTS:-1}" | |
10 --fileSource="${genomeSource.refGenomeSource}" | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
11 #if $genomeSource.refGenomeSource == "history" |
0 | 12 ##build index on the fly |
13 --ref="${genomeSource.ownFile}" | |
14 --dbkey="${dbkey}" | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
15 #else |
0 | 16 ##use precomputed indexes |
17 --ref="${genomeSource.indices.fields.path}" | |
18 #end if | |
19 | |
20 ## input file(s) | |
21 --fastq="${paired.fastq}" | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
22 #if $paired.sPaired == "single" |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
23 #if $paired.interPairEnd |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
24 --interPairEnd |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
25 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
26 #else |
0 | 27 --rfastq="${paired.rfastq}" |
28 #end if | |
29 | |
30 ## output file | |
31 --output="${output}" | |
32 | |
33 ## run parameters | |
34 --genAlignType="${paired.sPaired}" | |
35 --params="${params.source_select}" | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
36 #if $params.source_select != "pre_set" |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
37 #if str($params.minEditDistSeed) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
38 --minSeedLength ${params.minEditDistSeed} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
39 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
40 #if str($params.bandWidth) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
41 --bandWidth ${params.bandWidth} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
42 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
43 #if str($params.offDiagonal) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
44 --offDiagonal ${params.offDiagonal} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
45 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
46 #if str($params.internalSeeds) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
47 --internalSeeds ${params.internalSeeds} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
48 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
49 #if str($params.seedsOccurrence) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
50 --seedsOccurrence ${params.seedsOccurrence} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
51 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
52 #if $params.mateRescue |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
53 --mateRescue |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
54 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
55 #if $params.skipPairing |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
56 --skipPairing |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
57 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
58 #if str($params.seqMatch) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
59 --seqMatch ${params.seqMatch} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
60 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
61 #if str($params.mismatch) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
62 --mismatch ${params.mismatch} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
63 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
64 #if str($params.gapOpen) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
65 --gapOpen ${params.gapOpen} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
66 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
67 #if str($params.gapExtension) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
68 --gapExtension ${params.gapExtension} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
69 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
70 #if $params.clipping |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
71 --clipping "${params.clipping}" |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
72 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
73 #if str($params.unpairedReadpair) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
74 --unpairedReadpair ${params.unpairedReadpair} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
75 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
76 #if str($params.minScore) |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
77 --minScore ${params.minScore} |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
78 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
79 #if $params.outputAll |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
80 --outputAll |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
81 #end if |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
82 #if $params.mark |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
83 --mark |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
84 #end if |
0 | 85 |
86 #if $params.readGroup.specReadGroup == "yes" | |
87 --rgid="${params.readGroup.rgid}" | |
88 --rgsm="${params.readGroup.rgsm}" | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
89 --rgpl ${params.readGroup.rgpl} |
0 | 90 --rglb="${params.readGroup.rglb}" |
91 --rgpu="${params.readGroup.rgpu}" | |
92 --rgcn="${params.readGroup.rgcn}" | |
93 --rgds="${params.readGroup.rgds}" | |
94 --rgdt="${params.readGroup.rgdt}" | |
95 --rgfo="${params.readGroup.rgfo}" | |
96 --rgks="${params.readGroup.rgks}" | |
97 --rgpg="${params.readGroup.rgpg}" | |
98 --rgpi="${params.readGroup.rgpi}" | |
99 #end if | |
100 #end if | |
101 | |
102 ## suppress output SAM header | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
103 #if $suppressHeader |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
104 --suppressHeader |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
105 #end if |
0 | 106 </command> |
107 | |
108 <inputs> | |
109 <conditional name="genomeSource"> | |
110 <param name="refGenomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?"> | |
111 <option value="indexed">Use a built-in index</option> | |
112 <option value="history">Use one from the history</option> | |
113 </param> | |
114 <when value="indexed"> | |
115 <param name="indices" type="select" label="Select a reference genome"> | |
116 <options from_data_table="bwa_indexes"> | |
117 <filter type="sort_by" column="2" /> | |
118 <validator type="no_options" message="No indexes are available" /> | |
119 </options> | |
120 </param> | |
121 </when> | |
122 <when value="history"> | |
123 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" /> | |
124 </when> | |
125 </conditional> | |
126 <conditional name="paired"> | |
127 <param name="sPaired" type="select" label="Is this library mate-paired?"> | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
128 <option value="single">Single-end or interleaved paired-end</option> |
0 | 129 <option value="paired">Paired-end</option> |
130 </param> | |
131 <when value="single"> | |
132 <param name="fastq" type="data" format="fastqsanger,fastqillumina" label="FASTQ file" help="FASTQ with either Sanger-scaled quality values (fastqsanger) or Illumina-scaled quality values (fastqillumina)" /> | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
133 <param name="interPairEnd" type="boolean" checked="false" label="FASTQ file consists of interleaved paired-end sequences (-p)" /> |
0 | 134 </when> |
135 <when value="paired"> | |
136 <param name="fastq" type="data" format="fastqsanger,fastqillumina" label="Forward FASTQ file" help="FASTQ with either Sanger-scaled quality values (fastqsanger) or Illumina-scaled quality values (fastqillumina)" /> | |
137 <param name="rfastq" type="data" format="fastqsanger,fastqillumina" label="Reverse FASTQ file" help="FASTQ with either Sanger-scaled quality values (fastqsanger) or Illumina-scaled quality values (fastqillumina)" /> | |
138 </when> | |
139 </conditional> | |
140 <conditional name="params"> | |
141 <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"> | |
142 <option value="pre_set">Commonly Used</option> | |
143 <option value="full">Full Parameter List</option> | |
144 </param> | |
145 <when value="pre_set" /> | |
146 <when value="full"> | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
147 <param name="minEditDistSeed" type="integer" value="19" optional="true" label="Minimum seed length (-k)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
148 <param name="bandWidth" type="integer" value="100" optional="true" label="Band width for banded alignment (-w)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
149 <param name="offDiagonal" type="integer" value="100" optional="true" label="Off-diagonal X-dropoff (-d)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
150 <param name="internalSeeds" type="float" value="1.5" optional="true" label="Look for internal seeds inside a seed longer than the minimum seed length times this value (-r)" help="This is a key heuristic parameter for tuning the performance. Larger value yields fewer seeds, which leads to faster alignment speed but lower accuracy" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
151 <param name="seedsOccurrence" type="integer" value="10000" optional="true" label="Skip seeds with more occurrences than this value (-c)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
152 <param name="mateRescue" type="boolean" checked="false" label="Skip mate rescue (-S)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
153 <param name="skipPairing" type="boolean" truevalue="True" falsevalue="False" checked="False" label="Skip pairing (-P)" help="In the paired-end mode, perform Smith-Waterman to rescue missing hits only, but do not try to find hits that fit a proper pair" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
154 <param name="seqMatch" type="integer" value="1" optional="true" label="Score for a sequence match (-A)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
155 <param name="mismatch" type="integer" value="4" optional="true" label="Penalty for a mismatch (-B)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
156 <param name="gapOpen" type="integer" value="6" optional="true" label="Gap open penalty (-O)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
157 <param name="gapExtension" type="integer" value="1" optional="true" label="Gap extension penalty (-E)" help="A gap of length k costs {gap open penalty} + k*{this value}" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
158 <param name="clipping" type="text" value="5" optional="true" label="Penalty for clipping (-L)" help="When performing Smith-Waterman extension, BWA-MEM keeps track of the best score reaching the end of query. If this score is larger than the best Smith-Waterman score minus the clipping penalty, clipping will not be applied. Note that in this case, the SAM AS tag reports the best Smith-Waterman score; clipping penalty is not deduced. If two comma-separated numbers are provided, the first is for 5'-end clipping and second for 3'-end clipping"> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
159 <validator type="regex" message="Invalid clipping, format is INT[,INT]">\d+(,\d+)?$</validator> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
160 </param> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
161 <param name="unpairedReadpair" type="integer" value="17" optional="true" label="Penalty for an unpaired read pair (-U)" help="" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
162 <param name="minScore" type="integer" value="30" optional="true" label="Minimum score to output (-T)" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
163 <param name="outputAll" type="boolean" checked="false" label="Output all found alignments for single-end or unpaired paired-end reads (-a)" help="These alignments will be flagged as secondary alignments" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
164 <param name="mark" type="boolean" checked="false" label="Mark shorter split hits as secondary (-M)" help="For Picard/GATK compatibility" /> |
0 | 165 <conditional name="readGroup"> |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
166 <param name="specReadGroup" type="select" label="Specify the read group for this file? (-R)"> |
0 | 167 <option value="yes">Yes</option> |
168 <option value="no" selected="True">No</option> | |
169 </param> | |
170 <when value="yes"> | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
171 <param name="rgid" type="text" size="25" label="Read group identifier (ID). Each @RG line must have a unique ID. The value of ID is used in the RG tags of alignment records. Must be unique among all read groups in header section." help="Required if RG specified. Read group IDs may be modified when merging SAM files in order to handle collisions."> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
172 <validator type="empty_field" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
173 </param> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
174 <param name="rgpl" type="select" label="Platform/technology used to produce the reads (PL)"> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
175 <option value="CAPILLARY">CAPILLARY</option> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
176 <option value="LS454">LS454</option> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
177 <option value="ILLUMINA">ILLUMINA</option> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
178 <option value="SOLID">SOLID</option> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
179 <option value="HELICOS">HELICOS</option> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
180 <option value="IONTORRENT">IONTORRENT</option> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
181 <option value="PACBIO">PACBIO</option> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
182 </param> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
183 <param name="rglb" type="text" size="25" label="Library name (LB)" help="Required if RG specified"> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
184 <validator type="empty_field" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
185 </param> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
186 <param name="rgsm" type="text" size="25" label="Sample (SM)" help="Required if RG specified. Use pool name where a pool is being sequenced"> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
187 <validator type="empty_field" /> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
188 </param> |
0 | 189 <param name="rgpu" type="text" size="25" label="Platform unit (PU)" help="Optional. Unique identifier (e.g. flowcell-barcode.lane for Illumina or slide for SOLiD)" /> |
190 <param name="rgcn" type="text" size="25" label="Sequencing center that produced the read (CN)" help="Optional" /> | |
191 <param name="rgds" type="text" size="25" label="Description (DS)" help="Optional" /> | |
192 <param name="rgdt" type="text" size="25" label="Date that run was produced (DT)" help="Optional. ISO8601 format date or date/time, like YYYY-MM-DD" /> | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
193 <param name="rgfo" type="text" size="25" optional="true" label="Flow order (FO). The array of nucleotide bases that correspond to the nucleotides used for each flow of each read" help="Optional. Multi-base flows are encoded in IUPAC format, and non-nucleotide flows by various other characters. Format: /\*|[ACMGRSVTWYHKDBN]+/"> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
194 <validator type="regex">\*|[ACMGRSVTWYHKDBN]+$</validator> |
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
195 </param> |
0 | 196 <param name="rgks" type="text" size="25" label="The array of nucleotide bases that correspond to the key sequence of each read (KS)" help="Optional" /> |
197 <param name="rgpg" type="text" size="25" label="Programs used for processing the read group (PG)" help="Optional" /> | |
198 <param name="rgpi" type="text" size="25" label="Predicted median insert size (PI)" help="Optional" /> | |
199 </when> | |
200 <when value="no" /> | |
201 </conditional> | |
202 </when> | |
203 </conditional> | |
1
ebb02ba5987c
Rewrite of param handling. interPairEnd param moved to "paired" section. Add param for '-a' option. Remove basic parallelism tag, which does not work with multiple inputs (thanks Bjoern Gruening for the notice). Simplify Python code.
crs4
parents:
0
diff
changeset
|
204 <param name="suppressHeader" type="boolean" checked="false" label="Suppress the header in the output SAM file" help="BWA produces SAM with several lines of header information" /> |
0 | 205 </inputs> |
206 | |
207 <outputs> | |
208 <data format="sam" name="output" label="${tool.name} on ${on_string}: mapped reads"> | |
209 <actions> | |
210 <conditional name="genomeSource.refGenomeSource"> | |
211 <when value="indexed"> | |
212 <action type="metadata" name="dbkey"> | |
213 <option type="from_data_table" name="bwa_indexes" column="1"> | |
214 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/> | |
215 <filter type="param_value" ref="genomeSource.indices" column="0"/> | |
216 </option> | |
217 </action> | |
218 </when> | |
219 <when value="history"> | |
220 <action type="metadata" name="dbkey"> | |
221 <option type="from_param" name="genomeSource.ownFile" param_attribute="dbkey" /> | |
222 </action> | |
223 </when> | |
224 </conditional> | |
225 </actions> | |
226 </data> | |
227 </outputs> | |
228 | |
229 <tests> | |
230 <test> | |
231 </test> | |
232 <test> | |
233 </test> | |
234 <test> | |
235 </test> | |
236 </tests> | |
237 <help> | |
238 **What it does** | |
239 | |
240 BWA is a software package for mapping low-divergent sequences against a large reference genome, such as the human genome. BWA-MEM, which is the latest algorithm, is generally recommended for high-quality queries as it is faster and more accurate. BWA-MEM also has better performance than BWA-backtrack for 70-100bp Illumina reads. | |
241 | |
242 ------ | |
243 | |
244 **Input formats** | |
245 | |
246 BWA accepts files in either Sanger FASTQ format (galaxy type *fastqsanger*) or Illumina FASTQ format (galaxy type *fastqillumina*). Use the FASTQ Groomer to prepare your files. | |
247 | |
248 ------ | |
249 | |
250 **License and citation** | |
251 | |
252 This tool uses `BWA`_, which is licensed separately. Please cite |Li2013|_. | |
253 | |
254 .. _BWA: http://bio-bwa.sourceforge.net/ | |
255 .. |Li2013| replace:: Li, H. (2013) Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM. arXiv:1303.3997 [q-bio.GN] | |
256 .. _Li2013: http://arxiv.org/abs/1303.3997 | |
257 </help> | |
258 </tool> |