annotate enhanced_bowtie_mapper.xml @ 40:a17d4f682e3f draft default tip

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