Mercurial > repos > jjohnson > gatk2
annotate variant_eval.xml @ 18:7533db8dfb5b draft
Update tool_dependencies to GATK v 2.3
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Thu, 20 Dec 2012 11:01:55 -0600 |
parents | 74c05070a3f8 |
children | 6ef8eb568700 |
rev | line source |
---|---|
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
1 <tool id="gatk2_variant_eval" name="Eval Variants" version="0.0.5"> |
0 | 2 <description></description> |
3 <requirements> | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
4 <requirement type="package" version="2.3">gatk</requirement> |
0 | 5 </requirements> |
6 <command interpreter="python">gatk2_wrapper.py | |
7 #from binascii import hexlify | |
8 --max_jvm_heap_fraction "1" | |
9 --stdout "${output_log}" | |
10 #for $var_count, $variant in enumerate( $reference_source.variants ): | |
11 -d "--eval:input_${var_count},%(file_type)s" "${variant.input_variant}" "${variant.input_variant.ext}" "input_variants_${var_count}" | |
12 #end for | |
13 -p 'java | |
14 -jar "\$GATK2_PATH/GenomeAnalysisTK.jar" | |
15 -T "VariantEval" | |
16 --out "${output_report}" | |
17 \$GATK2_SITE_OPTIONS | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
18 \$GATK2_THREAD_OPTIONS |
0 | 19 ##--num_threads 4 ##hard coded, for now |
20 ##-et "NO_ET" -K "\$GATK2_BASE/gatk2_key_file" ##ET no phone home | |
21 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout | |
22 #if $reference_source.reference_source_selector != "history": | |
23 -R "${reference_source.ref_file.fields.path}" | |
24 #end if | |
25 ' | |
26 | |
27 #for $rod_binding in $comp_rod_bind: | |
28 -d "--comp:${rod_binding.comp_rod_name},%(file_type)s" "${rod_binding.comp_input_rod}" "${rod_binding.comp_input_rod.ext}" "input_comp_${rod_binding.comp_rod_name}" | |
29 #if str( $rod_binding.comp_known_names ): | |
30 -p '--known_names "${rod_binding.comp_rod_name}"' | |
31 #end if | |
32 #end for | |
33 | |
34 #if str( $dbsnp_rod_bind_type.dbsnp_rod_bind_type_selector ) == 'set_dbsnp': | |
35 -d "--dbsnp:${dbsnp_rod_bind_type.dbsnp_rod_name},%(file_type)s" "${dbsnp_rod_bind_type.dbsnp_input_rod}" "${dbsnp_rod_bind_type.dbsnp_input_rod.ext}" "input_dbsnp_${dbsnp_rod_bind_type.dbsnp_rod_name}" | |
36 #if str( $dbsnp_rod_bind_type.dbsnp_known_names ): | |
37 -p '--known_names "${dbsnp_rod_bind_type.dbsnp_rod_name}"' | |
38 #end if | |
39 #end if | |
40 | |
41 ##start standard gatk options | |
42 #if $gatk_param_type.gatk_param_type_selector == "advanced": | |
43 #for $pedigree in $gatk_param_type.pedigree: | |
44 -p '--pedigree "${pedigree.pedigree_file}"' | |
45 #end for | |
46 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: | |
47 -p '--pedigreeString "${pedigree_string.pedigree_string}"' | |
48 #end for | |
49 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' | |
50 #for $read_filter in $gatk_param_type.read_filter: | |
51 -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}" | |
52 ###raise Exception( str( dir( $read_filter ) ) ) | |
53 #for $name, $param in $read_filter.read_filter_type.iteritems(): | |
54 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: | |
55 #if hasattr( $param.input, 'truevalue' ): | |
56 ${param} | |
57 #else: | |
58 --${name} "${param}" | |
59 #end if | |
60 #end if | |
61 #end for | |
62 ' | |
63 #end for | |
64 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_interval_repeat ): | |
65 -d "--intervals" "${input_intervals.input_intervals}" "${input_intervals.input_intervals.ext}" "input_intervals_${interval_count}" | |
66 #end for | |
67 | |
68 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_exclude_interval_repeat ): | |
69 -d "--excludeIntervals" "${input_intervals.input_exclude_intervals}" "${input_intervals.input_exclude_intervals.ext}" "input_exlude_intervals_${interval_count}" | |
70 #end for | |
71 | |
72 -p '--interval_set_rule "${gatk_param_type.interval_set_rule}"' | |
73 | |
74 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"' | |
75 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE": | |
76 -p '--${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_type_selector} "${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_value}"' | |
77 #end if | |
78 -p ' | |
79 --baq "${gatk_param_type.baq}" | |
80 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}" | |
81 ${gatk_param_type.use_original_qualities} | |
82 --defaultBaseQualities "${gatk_param_type.default_base_qualities}" | |
83 --validation_strictness "${gatk_param_type.validation_strictness}" | |
84 --interval_merging "${gatk_param_type.interval_merging}" | |
85 ${gatk_param_type.disable_experimental_low_memory_sharding} | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
86 ${gatk_param_type.fix_misencoded_quality_scores} |
0 | 87 ${gatk_param_type.non_deterministic_random_seed} |
88 ' | |
89 #for $rg_black_list_count, $rg_black_list in enumerate( $gatk_param_type.read_group_black_list_repeat ): | |
90 #if $rg_black_list.read_group_black_list_type.read_group_black_list_type_selector == "file": | |
91 -d "--read_group_black_list" "${rg_black_list.read_group_black_list_type.read_group_black_list}" "txt" "input_read_group_black_list_${rg_black_list_count}" | |
92 #else | |
93 -p '--read_group_black_list "${rg_black_list.read_group_black_list_type.read_group_black_list}"' | |
94 #end if | |
95 #end for | |
96 #end if | |
97 | |
98 #if $reference_source.reference_source_selector == "history": | |
99 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input" | |
100 #end if | |
101 ##end standard gatk options | |
102 | |
103 | |
104 ##start analysis specific options | |
105 #if $analysis_param_type.analysis_param_type_selector == "advanced": | |
106 #for $stratification in $analysis_param_type.stratifications: | |
107 #set $select_string = "--select_exps '%s' --select_names '%s'" % ( str( $stratification.select_exps ), str( $stratification.select_name ) ) | |
108 -o '${ hexlify( $select_string ) }' | |
109 #end for | |
110 -p ' | |
111 | |
112 #for $sample in $analysis_param_type.samples: | |
113 --sample "${sample.sample}" | |
114 #end for | |
115 | |
116 #if str( $analysis_param_type.stratification_modules ) != "None": | |
117 #for $stratification_module in str( $analysis_param_type.stratification_modules).split( ',' ): | |
118 --stratificationModule "${stratification_module}" | |
119 #end for | |
120 #end if | |
121 | |
122 ${analysis_param_type.do_not_use_all_standard_stratifications} | |
123 | |
124 #for $variant_type in $analysis_param_type.only_variants_of_type: | |
125 --onlyVariantsOfType "${variant_type.variant_type}" | |
126 #end for | |
127 | |
128 #if str( $analysis_param_type.eval_modules ) != "None": | |
129 #for $eval_module in str( $analysis_param_type.eval_modules).split( ',' ): | |
130 --evalModule "${eval_module}" | |
131 #end for | |
132 #end if | |
133 | |
134 ${analysis_param_type.do_not_use_all_standard_modules} | |
135 | |
136 #if str( $analysis_param_type.num_samples ) != "0": | |
137 --numSamples "${analysis_param_type.num_samples}" | |
138 #end if | |
139 | |
140 --minPhaseQuality "${analysis_param_type.min_phase_quality}" | |
141 | |
142 #if str( $analysis_param_type.family ): | |
143 --family_structure "${analysis_param_type.family}" | |
144 #end if | |
145 | |
146 --mendelianViolationQualThreshold "${analysis_param_type.mendelian_violation_qual_threshold}" | |
147 | |
148 #if str( $analysis_param_type.ancestral_alignments ) != "None": | |
149 --ancestralAlignments "${analysis_param_type.ancestral_alignments}" | |
150 #end if | |
151 ' | |
152 #if str( $analysis_param_type.known_cnvs ) != "None": | |
153 -d "--knownCNVs" "${analysis_param_type.known_cnvs}" "${analysis_param_type.known_cnvs.ext}" "input_known_cnvs" | |
154 #end if | |
155 | |
156 #if str( $analysis_param_type.strat_intervals ) != "None": | |
157 -d "--stratIntervals" "${analysis_param_type.strat_intervals}" "${analysis_param_type.strat_intervals.ext}" "input_strat_intervals" | |
158 #end if | |
159 #end if | |
160 </command> | |
161 <inputs> | |
162 | |
163 <conditional name="reference_source"> | |
164 <param name="reference_source_selector" type="select" label="Choose the source for the reference list"> | |
165 <option value="cached">Locally cached</option> | |
166 <option value="history">History</option> | |
167 </param> | |
168 <when value="cached"> | |
169 <repeat name="variants" title="Variant" min="1" help="-eval,--eval &lt;eval&gt;"> | |
170 <param name="input_variant" type="data" format="vcf" label="Input variant file" /> | |
171 </repeat> | |
172 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &lt;reference_sequence&gt;"> | |
173 <options from_data_table="gatk2_picard_indexes"> | |
174 <!-- <filter type="data_meta" key="dbkey" ref="input_variant" column="dbkey"/> --> | |
175 </options> | |
176 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | |
177 </param> | |
178 </when> | |
179 <when value="history"> <!-- FIX ME!!!! --> | |
180 <repeat name="variants" title="Variant" min="1" help="-eval,--eval &lt;eval&gt;"> | |
181 <param name="input_variant" type="data" format="vcf" label="Input variant file" /> | |
182 </repeat> | |
183 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &lt;reference_sequence&gt;" /> | |
184 </when> | |
185 </conditional> | |
186 | |
187 <repeat name="comp_rod_bind" title="Binding for reference-ordered comparison data" help="-comp,--comp &lt;comp&gt;"> | |
188 <param name="comp_input_rod" type="data" format="vcf" label="Comparison ROD file" /> | |
189 <param name="comp_rod_name" type="text" value="Unnamed" label="Comparison ROD Name"/> | |
190 <param name="comp_known_names" type="boolean" truevalue="--known_names" falsevalue="" label="Use Comparison ROD as known_names" help="-knownName,--known_names &lt;known_names&gt;"/> | |
191 </repeat> | |
192 | |
193 <conditional name="dbsnp_rod_bind_type"> | |
194 <param name="dbsnp_rod_bind_type_selector" type="select" label="Provide a dbSNP reference-ordered data file" help="-D,--dbsnp &lt;dbsnp&gt;"> | |
195 <option value="set_dbsnp" selected="True">Set dbSNP</option> | |
196 <option value="exclude_dbsnp">Don't set dbSNP</option> | |
197 </param> | |
198 <when value="exclude_dbsnp"> | |
199 <!-- Do nothing here --> | |
200 </when> | |
201 <when value="set_dbsnp"> | |
202 <param name="dbsnp_input_rod" type="data" format="vcf" label="dbSNP ROD file" /> | |
203 <param name="dbsnp_rod_name" type="hidden" value="dbsnp" label="dbSNP ROD Name"/> | |
204 <param name="dbsnp_known_names" type="boolean" truevalue="--known_names" falsevalue="" label="Use dbSNP ROD as known_names" help="-knownName,--known_names &lt;known_names&gt;" /> | |
205 </when> | |
206 </conditional> | |
207 | |
208 <conditional name="gatk_param_type"> | |
209 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options"> | |
210 <option value="basic" selected="True">Basic</option> | |
211 <option value="advanced">Advanced</option> | |
212 </param> | |
213 <when value="basic"> | |
214 <!-- Do nothing here --> | |
215 </when> | |
216 <when value="advanced"> | |
217 <repeat name="pedigree" title="Pedigree file" help="-ped,--pedigree &lt;pedigree&gt;"> | |
218 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/> | |
219 </repeat> | |
220 <repeat name="pedigree_string_repeat" title="Pedigree string" help="-pedString,--pedigreeString &lt;pedigreeString&gt;"> | |
221 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/> | |
222 </repeat> | |
223 <param name="pedigree_validation_type" type="select" label="How strict should we be in validating the pedigree information" help="-pedValidationType,--pedigreeValidationType &lt;pedigreeValidationType&gt;"> | |
224 <option value="STRICT" selected="True">STRICT</option> | |
225 <option value="SILENT">SILENT</option> | |
226 </param> | |
227 <repeat name="read_filter" title="Read Filter" help="-rf,--read_filter &lt;read_filter&gt;"> | |
228 <conditional name="read_filter_type"> | |
229 <param name="read_filter_type_selector" type="select" label="Read Filter Type"> | |
230 <option value="BadCigar">BadCigar</option> | |
231 <option value="BadMate">BadMate</option> | |
232 <option value="DuplicateRead">DuplicateRead</option> | |
233 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option> | |
234 <option value="MalformedRead">MalformedRead</option> | |
235 <option value="MappingQuality">MappingQuality</option> | |
236 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option> | |
237 <option value="MappingQualityZero">MappingQualityZero</option> | |
238 <option value="MateSameStrand">MateSameStrand</option> | |
239 <option value="MaxInsertSize">MaxInsertSize</option> | |
240 <option value="MaxReadLength" selected="True">MaxReadLength</option> | |
241 <option value="MissingReadGroup">MissingReadGroup</option> | |
242 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option> | |
243 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option> | |
244 <option value="Platform454">Platform454</option> | |
245 <option value="Platform">Platform</option> | |
246 <option value="PlatformUnit">PlatformUnit</option> | |
247 <option value="ReadGroupBlackList">ReadGroupBlackList</option> | |
248 <option value="ReadName">ReadName</option> | |
249 <option value="ReadStrand">ReadStrand</option> | |
250 <option value="ReassignMappingQuality">ReassignMappingQuality</option> | |
251 <option value="Sample">Sample</option> | |
252 <option value="SingleReadGroup">SingleReadGroup</option> | |
253 <option value="UnmappedRead">UnmappedRead</option> | |
254 </param> | |
255 <when value="BadCigar"> | |
256 <!-- no extra options --> | |
257 </when> | |
258 <when value="BadMate"> | |
259 <!-- no extra options --> | |
260 </when> | |
261 <when value="DuplicateRead"> | |
262 <!-- no extra options --> | |
263 </when> | |
264 <when value="FailsVendorQualityCheck"> | |
265 <!-- no extra options --> | |
266 </when> | |
267 <when value="MalformedRead"> | |
268 <!-- no extra options --> | |
269 </when> | |
270 <when value="MappingQuality"> | |
271 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> | |
272 </when> | |
273 <when value="MappingQualityUnavailable"> | |
274 <!-- no extra options --> | |
275 </when> | |
276 <when value="MappingQualityZero"> | |
277 <!-- no extra options --> | |
278 </when> | |
279 <when value="MateSameStrand"> | |
280 <!-- no extra options --> | |
281 </when> | |
282 <when value="MaxInsertSize"> | |
283 <param name="maxInsertSize" type="integer" value="1000000" label="Discard reads with insert size greater than the specified value"/> | |
284 </when> | |
285 <when value="MaxReadLength"> | |
286 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/> | |
287 </when> | |
288 <when value="MissingReadGroup"> | |
289 <!-- no extra options --> | |
290 </when> | |
291 <when value="NoOriginalQualityScores"> | |
292 <!-- no extra options --> | |
293 </when> | |
294 <when value="NotPrimaryAlignment"> | |
295 <!-- no extra options --> | |
296 </when> | |
297 <when value="Platform454"> | |
298 <!-- no extra options --> | |
299 </when> | |
300 <when value="Platform"> | |
301 <param name="PLFilterName" type="text" value="" label="Discard reads with RG:PL attribute containing this string"/> | |
302 </when> | |
303 <when value="PlatformUnit"> | |
304 <!-- no extra options --> | |
305 </when> | |
306 <when value="ReadGroupBlackList"> | |
307 <!-- no extra options --> | |
308 </when> | |
309 <when value="ReadName"> | |
310 <param name="readName" type="text" value="" label="Filter out all reads except those with this read name"/> | |
311 </when> | |
312 <when value="ReadStrand"> | |
313 <param name="filterPositive" type="boolean" truevalue="--filterPositive" falsevalue="" label="Discard reads on the forward strand"/> | |
314 </when> | |
315 <when value="ReassignMappingQuality"> | |
316 <param name="default_mapping_quality" type="integer" value="60" label="Default read mapping quality to assign to all reads"/> | |
317 </when> | |
318 <when value="Sample"> | |
319 <param name="sample_to_keep" type="text" value="" label="The name of the sample(s) to keep, filtering out all others"/> | |
320 </when> | |
321 <when value="SingleReadGroup"> | |
322 <param name="read_group_to_keep" type="integer" value="76" label="The name of the read group to keep, filtering out all others"/> | |
323 </when> | |
324 <when value="UnmappedRead"> | |
325 <!-- no extra options --> | |
326 </when> | |
327 </conditional> | |
328 </repeat> | |
329 <repeat name="input_interval_repeat" title="Operate on Genomic intervals" help="-L,--intervals &lt;intervals&gt;"> | |
330 <param name="input_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" /> | |
331 </repeat> | |
332 <repeat name="input_exclude_interval_repeat" title="Exclude Genomic intervals" help="-XL,--excludeIntervals &lt;excludeIntervals&gt;"> | |
333 <param name="input_exclude_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" /> | |
334 </repeat> | |
335 | |
336 <param name="interval_set_rule" type="select" label="Interval set rule" help="-isr,--interval_set_rule &lt;interval_set_rule&gt;"> | |
337 <option value="UNION" selected="True">UNION</option> | |
338 <option value="INTERSECTION">INTERSECTION</option> | |
339 </param> | |
340 | |
341 <conditional name="downsampling_type"> | |
342 <param name="downsampling_type_selector" type="select" label="Type of reads downsampling to employ at a given locus" help="-dt,--downsampling_type &lt;downsampling_type&gt;"> | |
343 <option value="NONE" selected="True">NONE</option> | |
344 <option value="ALL_READS">ALL_READS</option> | |
345 <option value="BY_SAMPLE">BY_SAMPLE</option> | |
346 </param> | |
347 <when value="NONE"> | |
348 <!-- no more options here --> | |
349 </when> | |
350 <when value="ALL_READS"> | |
351 <conditional name="downsample_to_type"> | |
352 <param name="downsample_to_type_selector" type="select" label="Downsample method"> | |
353 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option> | |
354 <option value="downsample_to_coverage">Downsample by Coverage</option> | |
355 </param> | |
356 <when value="downsample_to_fraction"> | |
357 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="1" min="0" max="1" help="-dfrac,--downsample_to_fraction &lt;downsample_to_fraction&gt;"/> | |
358 </when> | |
359 <when value="downsample_to_coverage"> | |
360 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &lt;downsample_to_coverage&gt;"/> | |
361 </when> | |
362 </conditional> | |
363 </when> | |
364 <when value="BY_SAMPLE"> | |
365 <conditional name="downsample_to_type"> | |
366 <param name="downsample_to_type_selector" type="select" label="Downsample method"> | |
367 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option> | |
368 <option value="downsample_to_coverage">Downsample by Coverage</option> | |
369 </param> | |
370 <when value="downsample_to_fraction"> | |
371 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="1" min="0" max="1" help="-dfrac,--downsample_to_fraction &lt;downsample_to_fraction&gt;"/> | |
372 </when> | |
373 <when value="downsample_to_coverage"> | |
374 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &lt;downsample_to_coverage&gt;"/> | |
375 </when> | |
376 </conditional> | |
377 </when> | |
378 </conditional> | |
379 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine" help="-baq,--baq &lt;baq&gt;"> | |
380 <option value="OFF" selected="True">OFF</option> | |
381 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option> | |
382 <option value="RECALCULATE">RECALCULATE</option> | |
383 </param> | |
384 <param name="baq_gap_open_penalty" type="float" label="BAQ gap open penalty (Phred Scaled)" value="40" help="Default value is 40. 30 is perhaps better for whole genome call sets. -baqGOP,--baqGapOpenPenalty &lt;baqGapOpenPenalty&gt;" /> | |
385 <param name="use_original_qualities" type="boolean" truevalue="--useOriginalQualities" falsevalue="" label="Use the original base quality scores from the OQ tag" help="-OQ,--useOriginalQualities" /> | |
386 <param name="default_base_qualities" type="integer" label="Value to be used for all base quality scores, when some are missing" value="-1" help="-DBQ,--defaultBaseQualities &lt;defaultBaseQualities&gt;"/> | |
387 <param name="validation_strictness" type="select" label="How strict should we be with validation" help="-S,--validation_strictness &lt;validation_strictness&gt;"> | |
388 <option value="STRICT" selected="True">STRICT</option> | |
389 <option value="LENIENT">LENIENT</option> | |
390 <option value="SILENT">SILENT</option> | |
391 <!-- <option value="DEFAULT_STRINGENCY">DEFAULT_STRINGENCY</option> listed in docs, but not valid value...--> | |
392 </param> | |
393 <param name="interval_merging" type="select" label="Interval merging rule" help="-im,--interval_merging &lt;interval_merging&gt;"> | |
394 <option value="ALL" selected="True">ALL</option> | |
395 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option> | |
396 </param> | |
397 | |
398 <repeat name="read_group_black_list_repeat" title="Read group black list" help="-rgbl,--read_group_black_list &lt;read_group_black_list&gt;"> | |
399 <conditional name="read_group_black_list_type"> | |
400 <param name="read_group_black_list_type_selector" type="select" label="Type of reads read group black list"> | |
401 <option value="file" selected="True">Filters in file</option> | |
402 <option value="text">Specify filters as a string</option> | |
403 </param> | |
404 <when value="file"> | |
405 <param name="read_group_black_list" type="data" format="txt" label="Read group black list file" /> | |
406 </when> | |
407 <when value="text"> | |
408 <param name="read_group_black_list" type="text" value="tag:string" label="Read group black list tag:string" /> | |
409 </when> | |
410 </conditional> | |
411 </repeat> | |
412 | |
413 <param name="disable_experimental_low_memory_sharding" type="boolean" truevalue="--disable_experimental_low_memory_sharding" falsevalue="" label="Disable experimental low-memory sharding functionality." checked="False" help="--disable_experimental_low_memory_sharding"/> | |
414 <param name="non_deterministic_random_seed" type="boolean" truevalue="--nonDeterministicRandomSeed" falsevalue="" label="Makes the GATK behave non deterministically, that is, the random numbers generated will be different in every run" checked="False" help="-ndrs,--nonDeterministicRandomSeed"/> | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
415 <param name="fix_misencoded_quality_scores" type="boolean" truevalue="--fix_misencoded_quality_scores" falsevalue="" label="Fix mis-encoded base quality scores. Q0 == ASCII 33 according to the SAM specification, whereas Illumina encoding starts at Q64. The idea here is simple: we just iterate over all reads and subtract 31 from every quality score." checked="False" help="-fixMisencodedQuals / --fix_misencoded_quality_scores"/> |
0 | 416 |
417 </when> | |
418 </conditional> | |
419 | |
420 | |
421 <conditional name="analysis_param_type"> | |
422 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options"> | |
423 <option value="basic" selected="True">Basic</option> | |
424 <option value="advanced">Advanced</option> | |
425 </param> | |
426 <when value="basic"> | |
427 <!-- Do nothing here --> | |
428 </when> | |
429 <when value="advanced"> | |
430 <repeat name="stratifications" title="Stratification"> | |
431 <param name="select_exps" value="" type="text" label="Stratification Expression" help="-select,--select_exps &lt;select_exps&gt;"> | |
432 <sanitizer> | |
433 <valid initial="string.printable"> | |
434 <remove value="'"/> | |
435 </valid> | |
436 <mapping initial="none"/> | |
437 </sanitizer> | |
438 </param> | |
439 <param name="select_name" value="" type="text" label="Name" help="-selectName,--select_names &lt;select_names&gt;"/> | |
440 </repeat> | |
441 | |
442 <repeat name="samples" title="Sample" help="-sn,--sample &lt;sample&gt;"> | |
443 <param name="sample" value="" type="text" label="Derive eval and comp contexts using only these sample genotypes, when genotypes are available in the original context"/> | |
444 </repeat> | |
445 | |
446 <param name="stratification_modules" type="select" multiple="True" display="checkboxes" label="Stratification modules to apply to the eval track(s)" help="-ST,--stratificationModule &lt;stratificationModule&gt;" > | |
447 <!-- do these need individual options also? gatk wiki has little info --> | |
448 <option value="AlleleFrequency" /> | |
449 <option value="AlleleCount" /> | |
450 <option value="CompRod" /> | |
451 <option value="Contig" /> | |
452 <option value="CpG" /> | |
453 <option value="Degeneracy" /> | |
454 <option value="EvalRod" /> | |
455 <option value="Filter" /> | |
456 <option value="FunctionalClass" /> | |
457 <option value="JexlExpression" /> | |
458 <option value="Sample" /> | |
459 <option value="IntervalStratification" /> | |
460 </param> | |
461 <param name="do_not_use_all_standard_stratifications" checked="false" type="boolean" truevalue="--doNotUseAllStandardStratifications" falsevalue="" label="Do not use the standard stratification modules by default" help="-noST,--doNotUseAllStandardStratifications" /> | |
462 | |
463 <repeat name="only_variants_of_type" title="only Variants Of Type" help="--onlyVariantsOfType"> | |
464 <param name="variant_type" type="text" value="" label="only variants of these types will be considered during the evaluation"/> | |
465 </repeat> | |
466 | |
467 <param name="eval_modules" type="select" multiple="True" display="checkboxes" label="Eval modules to apply to the eval track(s)" help="-EV,--evalModule &lt;evalModule&gt;" > | |
468 <!-- do these need individual options also? gatk wiki has little info --> | |
469 <option value="ACTransitionTable" /> | |
470 <option value="AlleleFrequencyComparison" /> | |
471 <option value="AminoAcidTransition" /> | |
472 <option value="CompOverlap" /> | |
473 <option value="CountVariants" /> | |
474 <option value="GenotypeConcordance" /> | |
475 <option value="GenotypePhasingEvaluator" /> | |
476 <option value="IndelMetricsByAC" /> | |
477 <option value="IndelStatistics" /> | |
478 <option value="MendelianViolationEvaluator" /> | |
479 <option value="PrintMissingComp" /> | |
480 <option value="PrivatePermutations" /> | |
481 <option value="SimpleMetricsByAC" /> | |
482 <option value="ThetaVariantEvaluator" /> | |
483 <option value="TiTvVariantEvaluator" /> | |
484 <option value="VariantQualityScore" /> | |
485 </param> | |
486 <param name="do_not_use_all_standard_modules" checked="false" type="boolean" truevalue="--doNotUseAllStandardModules" falsevalue="" label="Do not use the standard eval modules by default" help="-noEV,--doNotUseAllStandardModules" /> | |
487 | |
488 <param name="num_samples" type="integer" label="Number of samples (used if no samples are available in the VCF file" value="0" help="-ns,--numSamples &lt;numSamples&gt;"/> | |
489 <param name="min_phase_quality" type="float" label="Minimum phasing quality " value="10.0" help="-mpq,--minPhaseQuality &lt;minPhaseQuality&gt;"/> | |
490 <param name="family" type="text" value="" label="If provided, genotypes in will be examined for mendelian violations: this argument is a string formatted as dad+mom=child where these parameters determine which sample names are examined" help="--family_structure"/> | |
491 <param name="mendelian_violation_qual_threshold" type="integer" label="Minimum genotype QUAL score for each trio member required to accept a site as a violation" value="50" help="-mvq,--mendelianViolationQualThreshold &lt;mendelianViolationQualThreshold&gt;"/> | |
492 <param name="ancestral_alignments" type="data" format="fasta" optional="True" label="Fasta file with ancestral alleles" help="-aa,--ancestralAlignments &lt;ancestralAlignments&gt;" /> | |
493 <param name="known_cnvs" type="data" format="bed,gatk_interval,picard_interval_list" optional="True" label="File containing tribble-readable features describing a known list of copy number variants" help="-knownCNVs,--knownCNVs &lt;knownCNVs&gt;" /> | |
494 <param name="strat_intervals" type="data" format="bed,gatk_interval,picard_interval_list" optional="True" label="File containing tribble-readable features for the IntervalStratificiation" help="-stratIntervals,--stratIntervals &lt;stratIntervals&gt;" /> | |
495 | |
496 </when> | |
497 </conditional> | |
498 | |
499 | |
500 </inputs> | |
501 <outputs> | |
502 <data format="gatk_report" name="output_report" label="${tool.name} on ${on_string} (report)" /> | |
503 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" /> | |
504 </outputs> | |
505 <tests> | |
506 <test> | |
507 <param name="reference_source_selector" value="history" /> | |
508 <param name="ref_file" value="phiX.fasta" ftype="fasta" /> | |
509 <param name="input_variant" value="gatk/gatk_variant_annotator/gatk_variant_annotator_out_1.vcf" ftype="vcf" /> | |
510 <param name="dbsnp_rod_bind_type_selector" value="set_dbsnp" /> | |
511 <param name="dbsnp_input_rod" value="gatk/fake_phiX_variant_locations.vcf" ftype="vcf" /> | |
512 <param name="dbsnp_known_names" value="True"/> | |
513 <param name="comp_rod_bind" value="0" /> | |
514 <param name="gatk_param_type_selector" value="basic" /> | |
515 <param name="analysis_param_type_selector" value="basic" /> | |
516 <output name="output_report" file="gatk/gatk_variant_eval/gatk_variant_eval_out_1.gatk_report" /> | |
517 <output name="output_log" file="gatk/gatk_variant_eval/gatk_variant_eval_out_1.log.contains" compare="contains" /> | |
518 </test> | |
519 </tests> | |
520 <help> | |
521 **What it does** | |
522 | |
523 General-purpose tool for variant evaluation (% in dbSNP, genotype concordance, Ti/Tv ratios, and a lot more) | |
524 | |
525 For more information on using the VariantEval module, see this `tool specific page <http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_varianteval_VariantEval.html>`_. | |
526 | |
527 To learn about best practices for variant detection using GATK, see this `overview <http://www.broadinstitute.org/gatk/guide/topic?name=best-practices>`_. | |
528 | |
529 If you encounter errors, please view the `GATK FAQ <http://www.broadinstitute.org/gatk/guide/topic?name=faqs>`_. | |
530 | |
531 ------ | |
532 | |
533 **Inputs** | |
534 | |
535 GenomeAnalysisTK: VariantEval accepts variant files as input. | |
536 | |
537 | |
538 **Outputs** | |
539 | |
540 The output is a table of variant evaluation. | |
541 | |
542 | |
543 Go `here <http://www.broadinstitute.org/gatk/guide/topic?name=intro>`_ for details on GATK file formats. | |
544 | |
545 ------- | |
546 | |
547 **Settings**:: | |
548 | |
549 out An output file presented to the walker. Will overwrite contents if file exists. | |
550 list List the available eval modules and exit | |
551 select_exps One or more stratifications to use when evaluating the data | |
552 select_names Names to use for the list of stratifications (must be a 1-to-1 mapping) | |
553 sample Derive eval and comp contexts using only these sample genotypes, when genotypes are available in the original context | |
554 known_names Name of ROD bindings containing variant sites that should be treated as known when splitting eval rods into known and novel subsets | |
555 stratificationModule One or more specific stratification modules to apply to the eval track(s) (in addition to the standard stratifications, unless -noS is specified) | |
556 doNotUseAllStandardStratifications Do not use the standard stratification modules by default (instead, only those that are specified with the -S option) | |
557 onlyVariantsOfType If provided, only variants of these types will be considered during the evaluation, in | |
558 evalModule One or more specific eval modules to apply to the eval track(s) (in addition to the standard modules, unless -noE is specified) | |
559 doNotUseAllStandardModules Do not use the standard modules by default (instead, only those that are specified with the -E option) | |
560 numSamples Number of samples (used if no samples are available in the VCF file | |
561 minPhaseQuality Minimum phasing quality | |
562 family_structure If provided, genotypes in will be examined for mendelian violations: this argument is a string formatted as dad+mom=child where these parameters determine which sample names are examined | |
563 mendelianViolationQualThreshold Minimum genotype QUAL score for each trio member required to accept a site as a violation | |
564 ancestralAlignments Fasta file with ancestral alleles | |
565 | |
566 ------ | |
567 | |
568 **Citation** | |
569 | |
570 For the underlying tool, please cite `DePristo MA, Banks E, Poplin R, Garimella KV, Maguire JR, Hartl C, Philippakis AA, del Angel G, Rivas MA, Hanna M, McKenna A, Fennell TJ, Kernytsky AM, Sivachenko AY, Cibulskis K, Gabriel SB, Altshuler D, Daly MJ. A framework for variation discovery and genotyping using next-generation DNA sequencing data. Nat Genet. 2011 May;43(5):491-8. <http://www.ncbi.nlm.nih.gov/pubmed/21478889>`_ | |
571 | |
572 Please also site `McKenna A, Hanna M, Banks E, Sivachenko A, Cibulskis K, Kernytsky A, Garimella K, Altshuler D, Gabriel S, Daly M, DePristo MA (2010). The Genome Analysis Toolkit: a MapReduce framework for analyzing next-generation DNA sequencing data. Genome Res. 20:1297-303. Epub 2010 Jul 19. <http://www.ncbi.nlm.nih.gov/pubmed/20644199>`_ | |
573 | |
574 If you use this tool in Galaxy, please cite `Blankenberg D, Von Kuster G, Coraor N, Ananda G, Lazarus R, Mangan M, Nekrutenko A, Taylor J. Galaxy: a web-based genome analysis tool for experimentalists. Curr Protoc Mol Biol. 2010 Jan;Chapter 19:Unit 19.10.1-21. <http://www.ncbi.nlm.nih.gov/pubmed/20069535>`_ | |
575 | |
576 </help> | |
577 </tool> |