annotate bowtie_wrapper.xml @ 0:0c7e4eadfb3c draft

Uploaded tarball
author devteam
date Mon, 26 Nov 2012 09:43:28 -0500
parents
children e1c59c194b7b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
1 <tool id="bowtie_wrapper" name="Map with Bowtie for Illumina" version="1.1.2">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
2 <requirements>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
3 <requirement type='package' version="0.12.7">bowtie</requirement>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
4 </requirements>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
5 <description></description>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
6 <parallelism method="basic"></parallelism>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
7 <command interpreter="python">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
8 bowtie_wrapper.py
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
9 ## Hackish setting of number of threads
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
10 --threads="4"
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
11 ## Outputs
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
12 --output=$output
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
13 #if str( $singlePaired.sPaired ) == "single"
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
14 #if $output_unmapped_reads_l
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
15 --output_unmapped_reads=$output_unmapped_reads_l
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
16 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
17 #if $output_suppressed_reads_l
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
18 --output_suppressed_reads=$output_suppressed_reads_l
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
19 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
20 --galaxy_input_format="${singlePaired.sInput1.ext}"
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
21 #else
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
22 #if $output_unmapped_reads_l and $output_unmapped_reads_r
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
23 --output_unmapped_reads_l=$output_unmapped_reads_l
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
24 --output_unmapped_reads_r=$output_unmapped_reads_r
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
25 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
26 #if $output_suppressed_reads_l and $output_suppressed_reads_l
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
27 --output_suppressed_reads_l=$output_suppressed_reads_l
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
28 --output_suppressed_reads_r=$output_suppressed_reads_r
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
29 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
30 --galaxy_input_format="${singlePaired.pInput1.ext}"
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
31 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
32 ## Inputs
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
33 --dataType="solexa" ##this indicates that nucleotide base space is used in the wrapper
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
34 --suppressHeader=$suppressHeader
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
35 --genomeSource=$refGenomeSource.genomeSource
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
36 #if $refGenomeSource.genomeSource == "history":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
37 ##index already exists
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
38 #if $refGenomeSource.ownFile.extension.startswith( 'bowtie_' ):
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
39 ##user previously built
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
40 --ref="${refGenomeSource.ownFile.extra_files_path}/${refGenomeSource.ownFile.metadata.base_name}"
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
41 --do_not_build_index
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
42 #else:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
43 ##build index on the fly
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
44 --ref=$refGenomeSource.ownFile
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
45 --indexSettings=$refGenomeSource.indexParams.indexSettings
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
46 #if $refGenomeSource.indexParams.indexSettings == "indexFull":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
47 --iautoB=$refGenomeSource.indexParams.autoBehavior.autoB
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
48 #if $refGenomeSource.indexParams.autoBehavior.autoB == "set":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
49 --ipacked=$refGenomeSource.indexParams.autoBehavior.packed
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
50 --ibmax=$refGenomeSource.indexParams.autoBehavior.bmax
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
51 --ibmaxdivn=$refGenomeSource.indexParams.autoBehavior.bmaxdivn
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
52 --idcv=$refGenomeSource.indexParams.autoBehavior.dcv
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
53 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
54 --inodc=$refGenomeSource.indexParams.nodc
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
55 --inoref=$refGenomeSource.indexParams.noref
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
56 --ioffrate=$refGenomeSource.indexParams.offrate
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
57 --iftab=$refGenomeSource.indexParams.ftab
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
58 --intoa=$refGenomeSource.indexParams.ntoa
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
59 --iendian=$refGenomeSource.indexParams.endian
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
60 --iseed=$refGenomeSource.indexParams.seed
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
61 --icutoff=$refGenomeSource.indexParams.cutoff
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
62 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
63 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
64 #else
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
65 ##use pre-built index
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
66 --ref="${refGenomeSource.index.fields.path}"
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
67 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
68 --paired=$singlePaired.sPaired
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
69 #if $singlePaired.sPaired == "single":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
70 --input1=$singlePaired.sInput1
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
71 --params=$singlePaired.sParams.sSettingsType
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
72 #if $singlePaired.sParams.sSettingsType == "full":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
73 --skip=$singlePaired.sParams.sSkip
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
74 --alignLimit=$singlePaired.sParams.sAlignLimit
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
75 --trimH=$singlePaired.sParams.sTrimH
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
76 --trimL=$singlePaired.sParams.sTrimL
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
77 --mismatchSeed=$singlePaired.sParams.sMismatchSeed
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
78 --mismatchQual=$singlePaired.sParams.sMismatchQual
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
79 --seedLen=$singlePaired.sParams.sSeedLen
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
80 --rounding=$singlePaired.sParams.sRounding
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
81 --maqSoapAlign=$singlePaired.sParams.sMaqSoapAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
82 --tryHard=$singlePaired.sParams.sTryHard
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
83 --valAlign=$singlePaired.sParams.sValAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
84 --allValAligns=$singlePaired.sParams.sAllValAligns
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
85 --suppressAlign=$singlePaired.sParams.sSuppressAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
86 --best=$singlePaired.sParams.sBestOption.sBest
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
87 #if $singlePaired.sParams.sBestOption.sBest == "doBest":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
88 --maxBacktracks=$singlePaired.sParams.sBestOption.sdMaxBacktracks
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
89 --strata=$singlePaired.sParams.sBestOption.sdStrata
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
90 #else:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
91 --maxBacktracks=$singlePaired.sParams.sBestOption.snMaxBacktracks
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
92 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
93 --offrate=$singlePaired.sParams.sOffrate
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
94 --seed=$singlePaired.sParams.sSeed
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
95 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
96 #else:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
97 --input1=$singlePaired.pInput1
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
98 --input2=$singlePaired.pInput2
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
99 --maxInsert=$singlePaired.pMaxInsert
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
100 --mateOrient=$singlePaired.pMateOrient
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
101 --params=$singlePaired.pParams.pSettingsType
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
102 #if $singlePaired.pParams.pSettingsType == "full":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
103 --skip=$singlePaired.pParams.pSkip
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
104 --alignLimit=$singlePaired.pParams.pAlignLimit
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
105 --trimH=$singlePaired.pParams.pTrimH
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
106 --trimL=$singlePaired.pParams.pTrimL
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
107 --mismatchSeed=$singlePaired.pParams.pMismatchSeed
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
108 --mismatchQual=$singlePaired.pParams.pMismatchQual
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
109 --seedLen=$singlePaired.pParams.pSeedLen
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
110 --rounding=$singlePaired.pParams.pRounding
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
111 --maqSoapAlign=$singlePaired.pParams.pMaqSoapAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
112 --minInsert=$singlePaired.pParams.pMinInsert
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
113 --maxAlignAttempt=$singlePaired.pParams.pMaxAlignAttempt
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
114 --forwardAlign=$singlePaired.pParams.pForwardAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
115 --reverseAlign=$singlePaired.pParams.pReverseAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
116 --tryHard=$singlePaired.pParams.pTryHard
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
117 --valAlign=$singlePaired.pParams.pValAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
118 --allValAligns=$singlePaired.pParams.pAllValAligns
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
119 --suppressAlign=$singlePaired.pParams.pSuppressAlign
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
120 --best=$singlePaired.pParams.pBestOption.pBest
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
121 #if $singlePaired.pParams.pBestOption.pBest == "doBest":
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
122 --maxBacktracks=$singlePaired.pParams.pBestOption.pdMaxBacktracks
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
123 --strata=$singlePaired.pParams.pBestOption.pdStrata
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
124 #else:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
125 --maxBacktracks=$singlePaired.pParams.pBestOption.pnMaxBacktracks
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
126 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
127 --offrate=$singlePaired.pParams.pOffrate
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
128 --seed=$singlePaired.pParams.pSeed
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
129 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
130 #end if
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
131 </command>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
132 <inputs>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
133 <conditional name="refGenomeSource">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
134 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
135 <option value="indexed">Use a built-in index</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
136 <option value="history">Use one from the history</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
137 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
138 <when value="indexed">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
139 <param name="index" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
140 <options from_data_table="bowtie_indexes">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
141 <filter type="sort_by" column="2" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
142 <validator type="no_options" message="No indexes are available" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
143 </options>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
144 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
145 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
146 <when value="history">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
147 <param name="ownFile" type="data" format="bowtie_base_index,fasta" metadata_name="dbkey" label="Select the reference genome" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
148 <conditional name="indexParams">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
149 <param name="indexSettings" type="select" label="Choose whether to use Default options for building indices or to Set your own" help="These settings are ignored when using a prebuilt index">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
150 <option value="indexPreSet">Default</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
151 <option value="indexFull">Set your own</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
152 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
153 <when value="indexPreSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
154 <when value="indexFull">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
155 <conditional name="autoBehavior">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
156 <param name="autoB" type="select" label="Choose to use automatic or specified behavior for some parameters (-a)" help="Allows you to set --packed, --bmax, --bmaxdivn, and --dcv">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
157 <option value="auto">Automatic behavior</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
158 <option value="set">Set values (sets --noauto and allows others to be set)</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
159 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
160 <when value="auto" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
161 <when value="set">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
162 <param name="packed" type="select" label="Whether or not to use a packed representation for DNA strings (--packed)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
163 <option value="unpacked">Use regular representation</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
164 <option value="packed">Use packed representation</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
165 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
166 <param name="bmax" type="integer" value="-1" label="Maximum number of suffixes allowed in a block (--bmax)" help="-1 for not specified. Must be at least 1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
167 <param name="bmaxdivn" type="integer" value="4" label="Maximum number of suffixes allowed in a block as a fraction of the length of the reference (--bmaxdivn)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
168 <param name="dcv" type="integer" value="1024" label="The period for the difference-cover sample (--dcv)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
169 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
170 </conditional>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
171 <param name="nodc" type="select" label="Whether or not to disable the use of the difference-cover sample (--nodc)" help="Suffix sorting becomes quadratic-time in the worst case (with a very repetitive reference)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
172 <option value="dc">Use difference-cover sample</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
173 <option value="nodc">Disable difference-cover sample</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
174 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
175 <param name="noref" type="select" label="Whether or not to build the part of the reference index used only in paired-end alignment (-r)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
176 <option value="ref">Build all index files</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
177 <option value="noref">Do not build paired-end alignment index files</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
178 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
179 <param name="offrate" type="integer" value="5" label="How many rows get marked during annotation of some or all of the Burrows-Wheeler rows (-o)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
180 <param name="ftab" type="integer" value="10" label="The size of the lookup table used to calculate an initial Burrows-Wheeler range with respect to the first n characters of the query (-t)" help="ftab is 4^(n+1) bytes" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
181 <param name="ntoa" type="select" label="Whether or not to convert Ns in the reference sequence to As (--ntoa)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
182 <option value="no">Do not convert Ns</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
183 <option value="yes">Convert Ns to As</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
184 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
185 <param name="endian" type="select" label="Endianness to use when serializing integers to the index file (--big/--little)" help="Little is most appropriate for Intel- and AMD-based architecture">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
186 <option value="little">Little</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
187 <option value="big">Big</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
188 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
189 <param name="seed" type="integer" value="-1" label="Seed for the pseudorandom number generator (--seed)" help="Use -1 to use default" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
190 <param name="cutoff" type="integer" value="-1" label="Number of first bases of the reference sequence to index (--cutoff)" help="Use -1 to use default" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
191 </when> <!-- indexFull -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
192 </conditional> <!-- indexParams -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
193 </when> <!-- history -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
194 </conditional> <!-- refGenomeSource -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
195 <conditional name="singlePaired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
196 <param name="sPaired" type="select" label="Is this library mate-paired?">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
197 <option value="single">Single-end</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
198 <option value="paired">Paired-end</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
199 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
200 <when value="single">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
201 <param name="sInput1" type="data" format="fastqsanger,fastqillumina,fastqsolexa" label="FASTQ file" help="Must have ASCII encoded quality scores"/>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
202 <conditional name="sParams">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
203 <param name="sSettingsType" type="select" label="Bowtie settings to use" help="For most mapping needs use Commonly used settings. If you want full control use Full parameter list">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
204 <option value="preSet">Commonly used</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
205 <option value="full">Full parameter list</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
206 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
207 <when value="preSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
208 <when value="full">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
209 <param name="sSkip" type="integer" value="0" label="Skip the first n reads (-s)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
210 <param name="sAlignLimit" type="integer" value="-1" label="Only align the first n reads (-u)" help="-1 for off" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
211 <param name="sTrimH" type="integer" value="0" label="Trim n bases from high-quality (left) end of each read before alignment (-5)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
212 <param name="sTrimL" type="integer" value="0" label="Trim n bases from low-quality (right) end of each read before alignment (-3)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
213 <param name="sMismatchSeed" type="integer" value="2" label="Maximum number of mismatches permitted in the seed (-n)" help="May be 0, 1, 2, or 3" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
214 <param name="sMismatchQual" type="integer" value="70" label="Maximum permitted total of quality values at mismatched read positions (-e)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
215 <param name="sSeedLen" type="integer" value="28" label="Seed length (-l)" help="Minimum value is 5" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
216 <param name="sRounding" type="select" label="Whether or not to round to the nearest 10 and saturating at 30 (--nomaqround)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
217 <option value="round">Round to nearest 10</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
218 <option value="noRound">Do not round to nearest 10</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
219 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
220 <param name="sMaqSoapAlign" type="integer" value="-1" label="Number of mismatches for SOAP-like alignment policy (-v)" help="-1 for default MAQ-like alignment policy" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
221 <param name="sTryHard" type="select" label="Whether or not to try as hard as possible to find valid alignments when they exist (-y)" help="Tryhard mode is much slower than regular mode">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
222 <option value="noTryHard">Do not try hard</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
223 <option value="doTryHard">Try hard</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
224 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
225 <param name="sValAlign" type="integer" value="1" label="Report up to n valid alignments per read (-k)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
226 <param name="sAllValAligns" type="select" label="Whether or not to report all valid alignments per read (-a)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
227 <option value="noAllValAligns">Do not report all valid alignments</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
228 <option value="doAllValAligns">Report all valid alignments</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
229 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
230 <param name="sSuppressAlign" type="integer" value="-1" label="Suppress all alignments for a read if more than n reportable alignments exist (-m)" help="-1 for no limit" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
231 <param name="sMaxFile" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write all reads with a number of valid alignments exceeding the limit set with the -m option to a file (--max)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
232 <param name="sUnmappedFile" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write all reads that could not be aligned to a file (--un)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
233 <conditional name="sBestOption">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
234 <param name="sBest" type="select" label="Whether or not to make Bowtie guarantee that reported singleton alignments are 'best' in terms of stratum and in terms of the quality values at the mismatched positions (--best)" help="Removes all strand bias. Only affects which alignments are reported by Bowtie. Runs slower with best option">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
235 <option value="noBest">Do not use best</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
236 <option value="doBest">Use best</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
237 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
238 <when value="noBest">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
239 <param name="snMaxBacktracks" type="integer" value="125" label="Maximum number of backtracks permitted when aligning a read (--maxbts)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
240 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
241 <when value="doBest">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
242 <param name="sdMaxBacktracks" type="integer" value="800" label="Maximum number of backtracks permitted when aligning a read (--maxbts)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
243 <param name="sdStrata" type="select" label="Whether or not to report only those alignments that fall in the best stratum if many valid alignments exist and are reportable (--strata)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
244 <option value="noStrata">Do not use strata option</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
245 <option value="doStrata">Use strata option</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
246 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
247 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
248 </conditional> <!-- bestOption -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
249 <param name="sOffrate" type="integer" value="-1" label="Override the offrate of the index to n (-o)" help="-1 for default" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
250 <param name="sSeed" type="integer" value="-1" label="Seed for pseudo-random number generator (--seed)" help="-1 for default" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
251 </when> <!-- full -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
252 </conditional> <!-- sParams -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
253 </when> <!-- single -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
254 <when value="paired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
255 <param name="pInput1" type="data" format="fastqsanger,fastqillumina,fastqsolexa" label="Forward FASTQ file" help="Must have ASCII encoded quality scores"/>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
256 <param name="pInput2" type="data" format="fastqsanger,fastqillumina,fastqsolexa" label="Reverse FASTQ file" help="File format must match the Forward FASTQ file">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
257 <options options_filter_attribute="ext" from_parameter="tool.app.datatypes_registry.datatypes_by_extension" transform_lines="obj.keys()">>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
258 <column name="name" index="0"/>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
259 <column name="value" index="0"/>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
260 <filter type="param_value" ref="pInput1" ref_attribute="ext" column="0"/>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
261 </options>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
262 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
263 <param name="pMaxInsert" type="integer" value="1000" label="Maximum insert size for valid paired-end alignments (-X)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
264 <param name="pMateOrient" type="select" label="The upstream/downstream mate orientation for valid paired-end alignment against the forward reference strand (--fr/--rf/--ff)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
265 <option value="fr">FR (for Illumina)</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
266 <option value="rf">RF</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
267 <option value="ff">FF (for SOLiD)</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
268 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
269 <conditional name="pParams">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
270 <param name="pSettingsType" type="select" label="Bowtie settings to use" help="For most mapping needs use Commonly used settings. If you want full control use Full parameter list">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
271 <option value="preSet">Commonly used</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
272 <option value="full">Full parameter list</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
273 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
274 <when value="preSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
275 <when value="full">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
276 <param name="pSkip" type="integer" value="0" label="Skip the first n pairs (-s)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
277 <param name="pAlignLimit" type="integer" value="-1" label="Only align the first n pairs (-u)" help="-1 for off" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
278 <param name="pTrimH" type="integer" value="0" label="Trim n bases from high-quality (left) end of each read before alignment (-5)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
279 <param name="pTrimL" type="integer" value="0" label="Trim n bases from low-quality (right) end of each read before alignment (-3)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
280 <param name="pMismatchSeed" type="integer" value="2" label="Maximum number of mismatches permitted in the seed (-n)" help="May be 0, 1, 2, or 3" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
281 <param name="pMismatchQual" type="integer" value="70" label="Maximum permitted total of quality values at mismatched read positions (-e)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
282 <param name="pSeedLen" type="integer" value="28" label="Seed length (-l)" help="Minimum value is 5" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
283 <param name="pRounding" type="select" label="Whether or not to round to the nearest 10 and saturating at 30 (--nomaqround)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
284 <option value="round">Round to nearest 10</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
285 <option value="noRound">Do not round to nearest 10</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
286 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
287 <param name="pMaqSoapAlign" type="integer" value="-1" label="Number of mismatches for SOAP-like alignment policy (-v)" help="-1 for default MAQ-like alignment policy" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
288 <param name="pMinInsert" type="integer" value="0" label="Minimum insert size for valid paired-end alignments (-I)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
289 <param name="pMaxAlignAttempt" type="integer" value="100" label="Maximum number of attempts Bowtie will make to match an alignment for one mate with an alignment for the opposite mate (--pairtries)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
290 <param name="pForwardAlign" type="select" label="Choose whether or not to attempt to align the forward reference strand (--nofw)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
291 <option value="forward">Align against the forward reference strand</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
292 <option value="noForward">Do not align against the forward reference strand</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
293 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
294 <param name="pReverseAlign" type="select" label="Choose whether or not to align against the reverse-complement reference strand (--norc)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
295 <option value="reverse">Align against the reverse-complement reference strand</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
296 <option value="noReverse">Do not align against the reverse-complement reference strand</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
297 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
298 <param name="pTryHard" type="select" label="Whether or not to try as hard as possible to find valid alignments when they exist (-y)" help="Tryhard mode is much slower than regular mode">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
299 <option value="noTryHard">Do not try hard</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
300 <option value="doTryHard">Try hard</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
301 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
302 <param name="pValAlign" type="integer" value="1" label="Report up to n valid arguments per pair (-k)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
303 <param name="pAllValAligns" type="select" label="Whether or not to report all valid alignments per pair (-a)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
304 <option value="noAllValAligns">Do not report all valid alignments</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
305 <option value="doAllValAligns">Report all valid alignments</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
306 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
307 <param name="pSuppressAlign" type="integer" value="-1" label="Suppress all alignments for a pair if more than n reportable alignments exist (-m)" help="-1 for no limit" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
308 <param name="pMaxFile" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write all reads with a number of valid alignments exceeding the limit set with the -m option to a file (--max)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
309 <param name="pUnmappedFile" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write all reads that could not be aligned to a file (--un)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
310 <conditional name="pBestOption">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
311 <param name="pBest" type="select" label="Whether or not to make Bowtie guarantee that reported singleton alignments are 'best' in terms of stratum and in terms of the quality values at the mismatched positions (--best)" help="Removes all strand bias. Only affects which alignments are reported by Bowtie. Runs slower with best option">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
312 <option value="noBest">Do not use best</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
313 <option value="doBest">Use best</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
314 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
315 <when value="noBest">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
316 <param name="pnMaxBacktracks" type="integer" value="125" label="Maximum number of backtracks permitted when aligning a read (--maxbts)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
317 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
318 <when value="doBest">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
319 <param name="pdMaxBacktracks" type="integer" value="800" label="Maximum number of backtracks permitted when aligning a read (--maxbts)" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
320 <param name="pdStrata" type="select" label="Whether or not to report only those alignments that fall in the best stratum if many valid alignments exist and are reportable (--strata)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
321 <option value="noStrata">Do not use strata option</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
322 <option value="doStrata">Use strata option</option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
323 </param>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
324 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
325 </conditional>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
326 <param name="pOffrate" type="integer" value="-1" label="Override the offrate of the index to n (-o)" help="-1 for default" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
327 <param name="pSeed" type="integer" value="-1" label="Seed for pseudo-random number generator (--seed)" help="-1 for default" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
328 </when> <!-- full -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
329 </conditional> <!-- pParams -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
330 </when> <!-- paired -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
331 </conditional> <!-- singlePaired -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
332 <param name="suppressHeader" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Suppress the header in the output SAM file" help="Bowtie produces SAM with several lines of header information by default" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
333 </inputs>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
334 <outputs>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
335 <data format="sam" name="output" label="${tool.name} on ${on_string}: mapped reads">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
336 <actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
337 <conditional name="refGenomeSource.genomeSource">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
338 <when value="indexed">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
339 <action type="metadata" name="dbkey">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
340 <option type="from_data_table" name="bowtie_indexes" column="1" offset="0">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
341 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
342 <filter type="param_value" ref="refGenomeSource.index" column="0"/>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
343 </option>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
344 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
345 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
346 <when value="history">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
347 <action type="metadata" name="dbkey">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
348 <option type="from_param" name="refGenomeSource.ownFile" param_attribute="dbkey" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
349 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
350 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
351 </conditional>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
352 </actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
353 </data>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
354 <data format="fastq" name="output_suppressed_reads_l" label="${tool.name} on ${on_string}: suppressed reads (L)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
355 <filter>((
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
356 singlePaired['sPaired'] == "single" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
357 singlePaired['sParams']['sSettingsType'] == "full" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
358 singlePaired['sParams']['sMaxFile'] is True
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
359 ) or (
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
360 singlePaired['sPaired'] == "paired" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
361 singlePaired['pParams']['pSettingsType'] == "full" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
362 singlePaired['pParams']['pMaxFile'] is True
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
363 ))
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
364 </filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
365 <actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
366 <conditional name="singlePaired.sPaired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
367 <when value="single">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
368 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
369 <option type="from_param" name="singlePaired.sInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
370 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
371 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
372 <when value="paired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
373 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
374 <option type="from_param" name="singlePaired.pInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
375 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
376 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
377 </conditional>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
378 </actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
379 </data>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
380 <data format="fastq" name="output_suppressed_reads_r" label="${tool.name} on ${on_string}: suppressed reads (R)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
381 <filter>singlePaired['sPaired'] == "paired"</filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
382 <filter>singlePaired['pParams']['pSettingsType'] == "full"</filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
383 <filter>singlePaired['pParams']['pMaxFile'] is True</filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
384 <actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
385 <conditional name="singlePaired.sPaired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
386 <when value="single">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
387 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
388 <option type="from_param" name="singlePaired.sInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
389 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
390 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
391 <when value="paired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
392 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
393 <option type="from_param" name="singlePaired.pInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
394 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
395 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
396 </conditional>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
397 </actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
398 </data>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
399 <data format="fastq" name="output_unmapped_reads_l" label="${tool.name} on ${on_string}: unmapped reads (L)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
400 <filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
401 ((
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
402 singlePaired['sPaired'] == "single" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
403 singlePaired['sParams']['sSettingsType'] == "full" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
404 singlePaired['sParams']['sUnmappedFile'] is True
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
405 ) or (
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
406 singlePaired['sPaired'] == "paired" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
407 singlePaired['pParams']['pSettingsType'] == "full" and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
408 singlePaired['pParams']['pUnmappedFile'] is True
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
409 ))
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
410 </filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
411 <actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
412 <conditional name="singlePaired.sPaired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
413 <when value="single">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
414 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
415 <option type="from_param" name="singlePaired.sInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
416 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
417 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
418 <when value="paired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
419 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
420 <option type="from_param" name="singlePaired.pInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
421 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
422 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
423 </conditional>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
424 </actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
425 </data>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
426 <data format="fastq" name="output_unmapped_reads_r" label="${tool.name} on ${on_string}: unmapped reads (R)">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
427 <filter>singlePaired['sPaired'] == "paired"</filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
428 <filter>singlePaired['pParams']['pSettingsType'] == "full"</filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
429 <filter>singlePaired['pParams']['pUnmappedFile'] is True</filter>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
430 <actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
431 <conditional name="singlePaired.sPaired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
432 <when value="single">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
433 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
434 <option type="from_param" name="singlePaired.sInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
435 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
436 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
437 <when value="paired">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
438 <action type="format">
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
439 <option type="from_param" name="singlePaired.pInput1" param_attribute="ext" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
440 </action>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
441 </when>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
442 </conditional>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
443 </actions>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
444 </data>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
445 </outputs>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
446 <tests>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
447 <test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
448 <!--
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
449 Bowtie command:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
450 bowtie -q -p 4 -S +sam-nohead chrM_base test-data/bowtie_in2.fastqsanger > bowtie_out6_u.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
451 sort bowtie_out6_u.sam > bowtie_out6.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
452 -p is the number of threads, which is hardcoded above. You need to replace the + with 2 dashes.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
453 chrM_base needs to be the base location/name of the index files.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
454 -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
455 <param name="genomeSource" value="indexed" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
456 <!-- this is the backwards-compatible "unique value" for this index, not an actual path -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
457 <param name="index" value="equCab2chrM" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
458 <param name="sPaired" value="single" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
459 <param name="sInput1" ftype="fastqsanger" value="bowtie_in2.fastqsanger" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
460 <param name="sSettingsType" value="preSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
461 <param name="suppressHeader" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
462 <output name="output" ftype="sam" file="bowtie_out6.sam" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
463 </test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
464 <test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
465 <!--
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
466 Bowtie command:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
467 bowtie-build -f test-data/phiX.fasta phiX_base
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
468 bowtie -q -X 1000 +ff -p 4 -S +sam-nohead -n 2 -e 70 -l 28 +pairtries 100 +maxbts 800 +best +un bowtie_out8_u.fastq phiX_base -1 test-data/bowtie_in5.fastqsanger -2 test-data/bowtie_in6.fastqsanger > bowtie_out7_u.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
469 sort bowtie_out7_u.sam > bowtie_out7.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
470 sort bowtie_out8_u_1.sam > bowtie_out8_1.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
471 sort bowtie_out8_u_2.sam > bowtie_out8_2.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
472 Then also need to modify bowtie_out8_1.sam and bowtie_out8_2.sam so that all @ lines come before sequence lines.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
473 -p is the number of threads, hardcoded above. You need to replace the + with 2 dashes.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
474 The two unmapped output files will be named bowtie_out8_1.fastq and bowtie_out8_2.fastq.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
475 chrM_base is the index files' location/base name.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
476 -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
477 <param name="genomeSource" value="history" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
478 <param name="ownFile" value="phiX.fasta" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
479 <param name="indexSettings" value="indexPreSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
480 <param name="sPaired" value="paired" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
481 <param name="pInput1" ftype="fastqsanger" value="bowtie_in5.fastqsanger" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
482 <param name="pInput2" ftype="fastqsanger" value="bowtie_in6.fastqsanger" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
483 <param name="pMaxInsert" value="1000" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
484 <param name="pMateOrient" value="ff" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
485 <param name="pSettingsType" value="full" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
486 <param name="pSkip" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
487 <param name="pAlignLimit" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
488 <param name="pTrimH" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
489 <param name="pTrimL" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
490 <param name="pMismatchSeed" value="2" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
491 <param name="pMismatchQual" value="70" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
492 <param name="pSeedLen" value="28" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
493 <param name="pRounding" value="round" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
494 <param name="pMaqSoapAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
495 <param name="pMinInsert" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
496 <param name="pMaxAlignAttempt" value="100" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
497 <param name="pForwardAlign" value="forward" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
498 <param name="pReverseAlign" value="reverse" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
499 <param name="pTryHard" value="noTryHard" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
500 <param name="pValAlign" value="1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
501 <param name="pAllValAligns" value="noAllValAligns" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
502 <param name="pSuppressAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
503 <param name="pUnmappedFile" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
504 <param name="pMaxFile" value="false" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
505 <param name="pBest" value="doBest" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
506 <param name="pdMaxBacktracks" value="800" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
507 <param name="pdStrata" value="noStrata" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
508 <param name="pOffrate" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
509 <param name="pSeed" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
510 <param name="suppressHeader" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
511 <output name="output" ftype="sam" file="bowtie_out7.sam" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
512 <output name="output_unmapped_reads_l" ftype="fastqsanger" file="bowtie_out8_1.fastq" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
513 <output name="output_unmapped_reads_r" ftype="fastqsanger" file="bowtie_out8_2.fastq" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
514 </test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
515 <!-- start testing of non-sanger variant fastq reads -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
516 <test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
517 <param name="genomeSource" value="history" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
518 <param name="ownFile" value="phiX.fasta" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
519 <param name="indexSettings" value="indexPreSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
520 <param name="sPaired" value="paired" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
521 <param name="pInput1" ftype="fastqillumina" value="bowtie_in5.fastqillumina" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
522 <param name="pInput2" ftype="fastqillumina" value="bowtie_in6.fastqillumina" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
523 <param name="pMaxInsert" value="1000" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
524 <param name="pMateOrient" value="ff" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
525 <param name="pSettingsType" value="full" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
526 <param name="pSkip" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
527 <param name="pAlignLimit" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
528 <param name="pTrimH" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
529 <param name="pTrimL" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
530 <param name="pMismatchSeed" value="2" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
531 <param name="pMismatchQual" value="70" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
532 <param name="pSeedLen" value="28" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
533 <param name="pRounding" value="round" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
534 <param name="pMaqSoapAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
535 <param name="pMinInsert" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
536 <param name="pMaxAlignAttempt" value="100" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
537 <param name="pForwardAlign" value="forward" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
538 <param name="pReverseAlign" value="reverse" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
539 <param name="pTryHard" value="noTryHard" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
540 <param name="pValAlign" value="1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
541 <param name="pAllValAligns" value="noAllValAligns" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
542 <param name="pSuppressAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
543 <param name="pUnmappedFile" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
544 <param name="pMaxFile" value="false" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
545 <param name="pBest" value="doBest" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
546 <param name="pdMaxBacktracks" value="800" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
547 <param name="pdStrata" value="noStrata" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
548 <param name="pOffrate" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
549 <param name="pSeed" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
550 <param name="suppressHeader" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
551 <output name="output" ftype="sam" file="bowtie_out7.sam" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
552 <output name="output_unmapped_reads_l" ftype="fastqillumna" file="bowtie_out8_1.fastqillumina.sorted" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
553 <output name="output_unmapped_reads_r" ftype="fastqillumna" file="bowtie_out8_2.fastqillumina.sorted" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
554 </test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
555 <test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
556 <param name="genomeSource" value="history" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
557 <param name="ownFile" value="phiX.fasta" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
558 <param name="indexSettings" value="indexPreSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
559 <param name="sPaired" value="paired" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
560 <param name="pInput1" ftype="fastqsolexa" value="bowtie_in5.fastqsolexa" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
561 <param name="pInput2" ftype="fastqsolexa" value="bowtie_in6.fastqsolexa" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
562 <param name="pMaxInsert" value="1000" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
563 <param name="pMateOrient" value="ff" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
564 <param name="pSettingsType" value="full" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
565 <param name="pSkip" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
566 <param name="pAlignLimit" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
567 <param name="pTrimH" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
568 <param name="pTrimL" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
569 <param name="pMismatchSeed" value="2" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
570 <param name="pMismatchQual" value="70" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
571 <param name="pSeedLen" value="28" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
572 <param name="pRounding" value="round" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
573 <param name="pMaqSoapAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
574 <param name="pMinInsert" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
575 <param name="pMaxAlignAttempt" value="100" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
576 <param name="pForwardAlign" value="forward" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
577 <param name="pReverseAlign" value="reverse" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
578 <param name="pTryHard" value="noTryHard" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
579 <param name="pValAlign" value="1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
580 <param name="pAllValAligns" value="noAllValAligns" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
581 <param name="pSuppressAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
582 <param name="pUnmappedFile" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
583 <param name="pMaxFile" value="false" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
584 <param name="pBest" value="doBest" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
585 <param name="pdMaxBacktracks" value="800" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
586 <param name="pdStrata" value="noStrata" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
587 <param name="pOffrate" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
588 <param name="pSeed" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
589 <param name="suppressHeader" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
590 <output name="output" ftype="sam" file="bowtie_out7.sam" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
591 <output name="output_unmapped_reads_l" ftype="fastqsolexa" file="bowtie_out8_1.fastqsolexa.sorted" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
592 <output name="output_unmapped_reads_r" ftype="fastqsolexa" file="bowtie_out8_2.fastqsolexa.sorted" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
593 </test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
594 <!-- end testing of non-sanger variant fastq reads -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
595 <test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
596 <!--
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
597 Bowtie command:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
598 bowtie -q -p 4 -S +sam-nohead -n 2 -e 70 -l 28 +maxbts 125 -y -k 1 chrM_base test-data/bowtie_in2.fastqsanger > bowtie_out9_u.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
599 sort bowtie_out9_u.sam > bowtie_out9.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
600 -p is the number of threads, hardcoded above. You need to replace the + with 2 dashes.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
601 chrM_base is the index files' location/base name.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
602 -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
603 <param name="genomeSource" value="indexed" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
604 <!-- this is the backwards-compatible "unique value" for this index, not an actual path -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
605 <param name="index" value="equCab2chrM" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
606 <param name="sPaired" value="single" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
607 <param name="sInput1" ftype="fastqsanger" value="bowtie_in2.fastqsanger" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
608 <param name="sSettingsType" value="full" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
609 <param name="sSkip" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
610 <param name="sAlignLimit" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
611 <param name="sTrimH" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
612 <param name="sTrimL" value="0" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
613 <param name="sMismatchSeed" value="2" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
614 <param name="sMismatchQual" value="70" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
615 <param name="sSeedLen" value="28" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
616 <param name="sRounding" value="round" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
617 <param name="sMaqSoapAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
618 <param name="sTryHard" value="doTryHard" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
619 <param name="sValAlign" value="1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
620 <param name="sAllValAligns" value="noAllValAligns" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
621 <param name="sSuppressAlign" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
622 <param name="sUnmappedFile" value="false" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
623 <param name="sMaxFile" value="false" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
624 <param name="sBest" value="noBest" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
625 <param name="snMaxBacktracks" value="125" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
626 <param name="sOffrate" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
627 <param name="sSeed" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
628 <param name="suppressHeader" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
629 <output name="output" ftype="sam" file="bowtie_out9.sam" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
630 </test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
631 <test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
632 <!--
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
633 Bowtie command:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
634 bowtie-build +offrate 5 +ftabchars 10 +little -f test-data/phiX.fasta phiX_base
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
635 bowtie -q -X 1000 +ff -p 4 -S +sam-nohead phiX_base -1 test-data/bowtie_in5.fastqsanger -2 test-data/bowtie_in6.fastqsanger > bowtie_out10_u.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
636 sort bowtie_out10_u.sam > bowtie_out10.sam
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
637 -p is the number of threads, hardcoded above. You need to replace the + with 2 dashes.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
638 chrM_base is the index files' location/base name.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
639 -->
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
640 <param name="genomeSource" value="history" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
641 <param name="ownFile" value="phiX.fasta" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
642 <param name="indexSettings" value="indexFull" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
643 <param name="autoB" value="auto" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
644 <param name="nodc" value="dc" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
645 <param name="noref" value="ref" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
646 <param name="offrate" value="5" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
647 <param name="ftab" value="10" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
648 <param name="ntoa" value="no" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
649 <param name="endian" value="little" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
650 <param name="seed" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
651 <param name="cutoff" value="-1" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
652 <param name="sPaired" value="paired" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
653 <param name="pInput1" ftype="fastqsanger" value="bowtie_in5.fastqsanger" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
654 <param name="pInput2" ftype="fastqsanger" value="bowtie_in6.fastqsanger" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
655 <param name="pMaxInsert" value="1000" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
656 <param name="pMateOrient" value="ff" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
657 <param name="pSettingsType" value="preSet" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
658 <param name="suppressHeader" value="true" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
659 <output name="output" ftype="sam" file="bowtie_out10.sam" sort="True" />
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
660 </test>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
661 </tests>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
662
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
663 <help>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
664
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
665 **What it does**
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
666
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
667 Bowtie_ is a short read aligner designed to be ultrafast and memory-efficient. It is developed by Ben Langmead and Cole Trapnell. Please cite: Langmead B, Trapnell C, Pop M, Salzberg SL. Ultrafast and memory-efficient alignment of short DNA sequences to the human genome. Genome Biology 10:R25.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
668
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
669 .. _Bowtie: http://bowtie-bio.sourceforge.net/index.shtml
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
670
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
671 ------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
672
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
673 **Know what you are doing**
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
674
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
675 .. class:: warningmark
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
676
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
677 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.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
678
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
679 .. __: http://bowtie-bio.sourceforge.net/index.shtml
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
680
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
681 ------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
682
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
683 **Input formats**
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
684
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
685 Bowtie accepts files in Sanger FASTQ format. Use the FASTQ Groomer to prepare your files.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
686
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
687 ------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
688
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
689 **A Note on Built-in Reference Genomes**
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
690
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
691 The default variant for all genomes is "Full", defined as all primary chromosomes (or scaffolds/contigs) including mitochondrial plus associated unmapped, plasmid, and other segments. When only one version of a genome is available in this tool, it represents the default "Full" variant. Some genomes will have more than one variant available. The "Canonical Male" or sometimes simply "Canonical" variant contains the primary chromosomes for a genome. For example a human "Canonical" variant contains chr1-chr22, chrX, chrY, and chrM. The "Canonical Female" variant contains the primary chromosomes excluding chrY.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
692
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
693 ------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
694
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
695 **Outputs**
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
696
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
697 The output is in SAM format, and has the following columns::
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
698
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
699 Column Description
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
700 -------- --------------------------------------------------------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
701 1 QNAME Query (pair) NAME
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
702 2 FLAG bitwise FLAG
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
703 3 RNAME Reference sequence NAME
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
704 4 POS 1-based leftmost POSition/coordinate of clipped sequence
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
705 5 MAPQ MAPping Quality (Phred-scaled)
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
706 6 CIGAR extended CIGAR string
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
707 7 MRNM Mate Reference sequence NaMe ('=' if same as RNAME)
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
708 8 MPOS 1-based Mate POSition
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
709 9 ISIZE Inferred insert SIZE
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
710 10 SEQ query SEQuence on the same strand as the reference
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
711 11 QUAL query QUALity (ASCII-33 gives the Phred base quality)
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
712 12 OPT variable OPTional fields in the format TAG:VTYPE:VALUE
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
713
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
714 The flags are as follows::
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
715
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
716 Flag Description
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
717 ------ -------------------------------------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
718 0x0001 the read is paired in sequencing
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
719 0x0002 the read is mapped in a proper pair
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
720 0x0004 the query sequence itself is unmapped
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
721 0x0008 the mate is unmapped
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
722 0x0010 strand of the query (1 for reverse)
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
723 0x0020 strand of the mate
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
724 0x0040 the read is the first read in a pair
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
725 0x0080 the read is the second read in a pair
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
726 0x0100 the alignment is not primary
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
727
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
728 It looks like this (scroll sideways to see the entire example)::
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
729
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
730 QNAME FLAG RNAME POS MAPQ CIAGR MRNM MPOS ISIZE SEQ QUAL OPT
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
731 HWI-EAS91_1_30788AAXX:1:1:1761:343 4 * 0 0 * * 0 0 AAAAAAANNAAAAAAAAAAAAAAAAAAAAAAAAAAACNNANNGAGTNGNNNNNNNGCTTCCCACAGNNCTGG hhhhhhh;;hhhhhhhhhhh^hOhhhhghhhfhhhgh;;h;;hhhh;h;;;;;;;hhhhhhghhhh;;Phhh
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
732 HWI-EAS91_1_30788AAXX:1:1:1578:331 4 * 0 0 * * 0 0 GTATAGANNAATAAGAAAAAAAAAAATGAAGACTTTCNNANNTCTGNANNNNNNNTCTTTTTTCAGNNGTAG hhhhhhh;;hhhhhhhhhhhhhhhhhhhhhhhhhhhh;;h;;hhhh;h;;;;;;;hhhhhhhhhhh;;hhVh
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
733
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
734 -------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
735
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
736 **Bowtie settings**
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
737
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
738 All of the options have a default value. You can change any of them. Most of the options in Bowtie have been implemented here.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
739
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
740 ------
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
741
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
742 **Bowtie parameter list**
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
743
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
744 This is an exhaustive list of Bowtie options:
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
745
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
746 For indexing (bowtie-build)::
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
747
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
748 -a No auto behavior. Disable the default behavior where bowtie automatically
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
749 selects values for --bmax/--bmaxdivn/--dcv/--packed parameters according
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
750 to the memory available. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
751 --packed Packing. Use a packed representation for DNA strings. [auto]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
752 --bmax INT Suffix maximum. The maximum number of suffixes allowed in a block. [auto]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
753 --bmaxdivn INT Suffix maximum fraction. The maximum number of suffixes allowed in a block
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
754 expressed as a fraction of the length of the reference. [4]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
755 --dcv INT Difference-cover sample. Use INT as the period for the difference-cover
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
756 sample. [1024]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
757 --nodc INT No difference-cover sample. Disable the difference-cover sample. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
758 -r No reference indexes. Do not build the NAME.3.ebwt and NAME.4.ebwt portions
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
759 of the index. Used only for paired-end alignment. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
760 -o Offrate. How many Burrows-Wheeler rows get marked by the indexer. The
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
761 indexer will mark every 2^INT rows. The marked rows correspond to rows on
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
762 the genome. [5]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
763 -t INT Ftab. The lookup table used to calculate an initial Burrows-Wheeler range
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
764 with respect to the first INT characters of the query. Ftab is 4^INT+1
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
765 bytes. [10]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
766 --ntoa N conversion. Convert Ns to As before building the index. Otherwise, Ns are
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
767 simply excluded from the index and Bowtie will not find alignments that
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
768 overlap them. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
769 --big Endianness. Endianness to use when serializing integers to the index file. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
770 --little Endianness. [--little]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
771 --seed INT Random seed. Use INT as the seed for the pseudo-random number generator. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
772 --cutoff INT Cutoff. Index only the first INT bases of the reference sequences (cumulative
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
773 across sequences) and ignore the rest. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
774
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
775 For aligning (bowtie)::
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
776
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
777 -s INT Skip. Do not align the first INT reads or pairs in the input. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
778 -u INT Align limit. Only align the first INT reads/pairs from the input. [no limit]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
779 -5 INT High-quality trim. Trim INT bases from the high-quality (left) end of each
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
780 read before alignment. [0]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
781 -3 INT Low-quality trim. Trim INT bases from the low-quality (right) end of each
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
782 read before alignment. [0]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
783 -n INT Mismatch seed. Maximum number of mismatches permitted in the seed (defined
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
784 with seed length option). Can be 0, 1, 2, or 3. [2]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
785 -e INT Mismatch quality. Maximum permitted total of quality values at mismatched
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
786 read positions. Bowtie rounds quality values to the nearest 10 and saturates
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
787 at 30. [70]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
788 -l INT Seed length. The number of bases on the high-quality end of the read to
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
789 which the -n ceiling applies. Must be at least 5. [28]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
790 --nomaqround Suppress MAQ rounding. Values are internally rounded to the nearest 10 and
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
791 saturate at 30. This options turns off that rounding. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
792 -v INT MAQ- or SOAP-like alignment policy. This option turns off the default
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
793 MAQ-like alignment policy in favor of a SOAP-like one. End-to-end alignments
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
794 with at most INT mismatches. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
795 -I INT Minimum insert. The minimum insert size for valid paired-end alignments.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
796 Does checking on untrimmed reads if -5 or -3 is used. [0]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
797 -X INT Maximum insert. The maximum insert size for valid paired-end alignments.
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
798 Does checking on untrimmed reads if -5 or -3 is used. [250]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
799 --fr Mate orientation. The upstream/downstream mate orientations for a valid
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
800 paired-end alignment against the forward reference strand. [--fr]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
801 --rf Mate orientation. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
802 --ff Mate orientation. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
803 --pairtries INT Maximum alignment attempts for paired-end data. [100]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
804 --nofw No forward aligning. Choosing this option means that Bowtie will not attempt
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
805 to align against the forward reference strand. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
806 --norc No reverse-complement aligning. Setting this will mean that Bowtie will not
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
807 attempt to align against the reverse-complement reference strand. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
808 --un FILENAME Write all reads that could not be aligned to file [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
809 --max FILENAME Write all reads with a number of valid alignments exceeding the limit
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
810 set with the -m option to file [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
811 --maxbts INT Maximum backtracks. The maximum number of backtracks permitted when aligning
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
812 a read in -n 2 or -n 3 mode. [125 without --best] [800 with --best]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
813 -y Try hard. Try as hard as possible to find valid alignments when they exist,
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
814 including paired-end alignments. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
815 --chunkmbs INT Thread memory. The number of megabytes of memory a given thread is given to
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
816 store path descriptors in --best mode. [32]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
817 -k INT Valid alignments. The number of valid alignments per read or pair. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
818 -a All valid alignments. Choosing this means that all valid alignments per read
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
819 or pair will be reported. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
820 -m INT Suppress alignments. Suppress all alignments for a particular read or pair
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
821 if more than INT reportable alignments exist for it. [no limit]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
822 --best Best mode. Make Bowtie guarantee that reported singleton alignments are
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
823 "best" in terms of stratum (the number of mismatches) and quality values at
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
824 mismatched position. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
825 --strata Best strata. When running in best mode, report alignments that fall into the
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
826 best stratum if there are ones falling into more than one. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
827 -o INT Offrate override. Override the offrate of the index with INT. Some row
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
828 markings are discarded when index read into memory. INT must be greater than
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
829 the value used to build the index (default: 5). [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
830 --seed INT Random seed. Use INT as the seed for the pseudo-random number generator. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
831 --snpphred INT Use INT as the SNP penalty for decoding colorspace alignments. True ratio of
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
832 SNPs per base in the subject genome. [see --snpfrac]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
833 --snpfrac DEC Use DEC as the estimated ratio of SNPs per base when decoding colorspace
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
834 alignments. [0.001]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
835 --col-keepends Keep the extreme-end nucleotides and qualities when decoding colorspace
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
836 alignments. [off]
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
837
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
838 </help>
0c7e4eadfb3c Uploaded tarball
devteam
parents:
diff changeset
839 </tool>