Mercurial > repos > jjohnson > gatk2
annotate unified_genotyper.xml @ 26:bac82f25d42a draft
Use repository dependency for samtools (from main toolshed)
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Mon, 18 Feb 2013 11:13:47 -0600 |
parents | 7533db8dfb5b |
children | 6ef8eb568700 |
rev | line source |
---|---|
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
1 <tool id="gatk2_unified_genotyper" name="Unified Genotyper" version="0.0.5"> |
0 | 2 <description>SNP and indel caller</description> |
3 <requirements> | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
4 <requirement type="package" version="2.3">gatk</requirement> |
1
9b8e2a158073
Fix typo in unified_genotyper.xml, add dir path in tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
5 <requirement type="package" version="0.1.18">samtools</requirement> |
0 | 6 </requirements> |
7 <command interpreter="python">gatk2_wrapper.py | |
8 --max_jvm_heap_fraction "1" | |
9 --stdout "${output_log}" | |
10 #for $i, $input_bam in enumerate( $reference_source.input_bams ): | |
11 -d "-I" "${input_bam.input_bam}" "${input_bam.input_bam.ext}" "gatk_input_${i}" | |
12 #if str( $input_bam.input_bam.metadata.bam_index ) != "None": | |
13 -d "" "${input_bam.input_bam.metadata.bam_index}" "bam_index" "gatk_input_${i}" ##hardcode galaxy ext type as bam_index | |
14 #end if | |
15 #end for | |
16 -p 'java | |
17 -jar "\$GATK2_PATH/GenomeAnalysisTK.jar" | |
18 -T "UnifiedGenotyper" | |
19 ##--num_threads 4 ##hard coded, for now | |
20 --out "${output_vcf}" | |
21 --metrics_file "${output_metrics}" | |
22 \$GATK2_SITE_OPTIONS | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
23 \$GATK2_THREAD_OPTIONS |
0 | 24 ##-et "NO_ET" -K "\$GATK2_BASE/gatk2_key_file" ##ET no phone home |
25 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout | |
26 #if $reference_source.reference_source_selector != "history": | |
27 -R "${reference_source.ref_file.fields.path}" | |
28 #end if | |
29 --genotype_likelihoods_model "${genotype_likelihoods_model}" | |
30 --standard_min_confidence_threshold_for_calling "${standard_min_confidence_threshold_for_calling}" | |
31 --standard_min_confidence_threshold_for_emitting "${standard_min_confidence_threshold_for_emitting}" | |
32 ' | |
33 #set $rod_binding_names = dict() | |
34 #for $rod_binding in $rod_bind: | |
35 #if str( $rod_binding.rod_bind_type.rod_bind_type_selector ) == 'custom': | |
36 #set $rod_bind_name = $rod_binding.rod_bind_type.custom_rod_name | |
37 #else | |
38 #set $rod_bind_name = $rod_binding.rod_bind_type.rod_bind_type_selector | |
39 #end if | |
40 #set $rod_binding_names[$rod_bind_name] = $rod_binding_names.get( $rod_bind_name, -1 ) + 1 | |
41 -d "--dbsnp:${rod_bind_name},%(file_type)s" "${rod_binding.rod_bind_type.input_rod}" "${rod_binding.rod_bind_type.input_rod.ext}" "input_${rod_bind_name}_${rod_binding_names[$rod_bind_name]}" | |
42 #end for | |
43 | |
44 ##start standard gatk options | |
45 #if $gatk_param_type.gatk_param_type_selector == "advanced": | |
46 #for $pedigree in $gatk_param_type.pedigree: | |
47 -p '--pedigree "${pedigree.pedigree_file}"' | |
48 #end for | |
49 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: | |
50 -p '--pedigreeString "${pedigree_string.pedigree_string}"' | |
51 #end for | |
52 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' | |
53 #for $read_filter in $gatk_param_type.read_filter: | |
54 -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}" | |
55 ###raise Exception( str( dir( $read_filter ) ) ) | |
56 #for $name, $param in $read_filter.read_filter_type.iteritems(): | |
57 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: | |
58 #if hasattr( $param.input, 'truevalue' ): | |
59 ${param} | |
60 #else: | |
61 --${name} "${param}" | |
62 #end if | |
63 #end if | |
64 #end for | |
65 ' | |
66 #end for | |
67 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_interval_repeat ): | |
68 -d "--intervals" "${input_intervals.input_intervals}" "${input_intervals.input_intervals.ext}" "input_intervals_${interval_count}" | |
69 #end for | |
70 | |
71 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_exclude_interval_repeat ): | |
72 -d "--excludeIntervals" "${input_intervals.input_exclude_intervals}" "${input_intervals.input_exclude_intervals.ext}" "input_exlude_intervals_${interval_count}" | |
73 #end for | |
74 | |
75 -p '--interval_set_rule "${gatk_param_type.interval_set_rule}"' | |
76 | |
77 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"' | |
78 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE": | |
79 -p '--${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_type_selector} "${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_value}"' | |
80 #end if | |
81 -p ' | |
82 --baq "${gatk_param_type.baq}" | |
83 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}" | |
84 ${gatk_param_type.use_original_qualities} | |
85 --defaultBaseQualities "${gatk_param_type.default_base_qualities}" | |
86 --validation_strictness "${gatk_param_type.validation_strictness}" | |
87 --interval_merging "${gatk_param_type.interval_merging}" | |
88 ${gatk_param_type.disable_experimental_low_memory_sharding} | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
89 ${gatk_param_type.fix_misencoded_quality_scores} |
0 | 90 ${gatk_param_type.non_deterministic_random_seed} |
91 ' | |
92 #for $rg_black_list_count, $rg_black_list in enumerate( $gatk_param_type.read_group_black_list_repeat ): | |
93 #if $rg_black_list.read_group_black_list_type.read_group_black_list_type_selector == "file": | |
94 -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}" | |
95 #else | |
96 -p '--read_group_black_list "${rg_black_list.read_group_black_list_type.read_group_black_list}"' | |
97 #end if | |
98 #end for | |
99 #end if | |
100 | |
101 #if $reference_source.reference_source_selector == "history": | |
102 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input" | |
103 #end if | |
104 ##end standard gatk options | |
105 ##start analysis specific options | |
106 #if $analysis_param_type.analysis_param_type_selector == "advanced": | |
107 -p ' | |
108 --p_nonref_model "${analysis_param_type.p_nonref_model}" | |
109 --heterozygosity "${analysis_param_type.heterozygosity}" | |
110 --pcr_error_rate "${analysis_param_type.pcr_error_rate}" | |
111 --genotyping_mode "${analysis_param_type.genotyping_mode_type.genotyping_mode}" | |
112 #if str( $analysis_param_type.genotyping_mode_type.genotyping_mode ) == 'GENOTYPE_GIVEN_ALLELES': | |
113 --alleles "${analysis_param_type.genotyping_mode_type.input_alleles_rod}" | |
114 #end if | |
115 --output_mode "${analysis_param_type.output_mode}" | |
116 ${analysis_param_type.compute_SLOD} | |
117 --min_base_quality_score "${analysis_param_type.min_base_quality_score}" | |
118 --max_deletion_fraction "${analysis_param_type.max_deletion_fraction}" | |
119 --max_alternate_alleles "${analysis_param_type.max_alternate_alleles}" | |
120 --min_indel_count_for_genotyping "${analysis_param_type.min_indel_count_for_genotyping}" | |
121 --indel_heterozygosity "${analysis_param_type.indel_heterozygosity}" | |
122 --indelGapContinuationPenalty "${analysis_param_type.indelGapContinuationPenalty}" | |
123 --indelGapOpenPenalty "${analysis_param_type.indelGapOpenPenalty}" | |
124 --indelHaplotypeSize "${analysis_param_type.indelHaplotypeSize}" | |
125 ${analysis_param_type.doContextDependentGapPenalties} | |
126 #if str( $analysis_param_type.annotation ) != "None": | |
127 #for $annotation in str( $analysis_param_type.annotation.fields.gatk_value ).split( ','): | |
128 --annotation "${annotation}" | |
129 #end for | |
130 #end if | |
131 #for $additional_annotation in $analysis_param_type.additional_annotations: | |
132 --annotation "${additional_annotation.additional_annotation_name}" | |
133 #end for | |
134 #if str( $analysis_param_type.group ) != "None": | |
135 #for $group in str( $analysis_param_type.group ).split( ','): | |
136 --group "${group}" | |
137 #end for | |
138 #end if | |
139 #if str( $analysis_param_type.exclude_annotations ) != "None": | |
140 #for $annotation in str( $analysis_param_type.exclude_annotations.fields.gatk_value ).split( ','): | |
141 --excludeAnnotation "${annotation}" | |
142 #end for | |
143 #end if | |
144 ${analysis_param_type.multiallelic} | |
145 ' | |
146 ## #if str( $analysis_param_type.snpEff_rod_bind_type.snpEff_rod_bind_type_selector ) == 'set_snpEff': | |
147 ## -p '--annotation "SnpEff"' | |
148 ## -d "--snpEffFile:${analysis_param_type.snpEff_rod_bind_type.snpEff_rod_name},%(file_type)s" "${analysis_param_type.snpEff_rod_bind_type.snpEff_input_rod}" "${analysis_param_type.snpEff_rod_bind_type.snpEff_input_rod.ext}" "input_snpEff_${analysis_param_type.snpEff_rod_bind_type.snpEff_rod_name}" | |
149 ## #else: | |
150 ## -p '--excludeAnnotation "SnpEff"' | |
151 ## #end if | |
152 #end if | |
153 </command> | |
154 <inputs> | |
155 <conditional name="reference_source"> | |
156 <param name="reference_source_selector" type="select" label="Choose the source for the reference list"> | |
157 <option value="cached">Locally cached</option> | |
158 <option value="history">History</option> | |
159 </param> | |
160 <when value="cached"> | |
161 <repeat name="input_bams" title="BAM file" min="1" help="-I,--input_file &lt;input_file&gt;"> | |
162 <param name="input_bam" type="data" format="bam" label="BAM file"> | |
163 <validator type="unspecified_build" /> | |
164 <validator type="dataset_metadata_in_data_table" table_name="gatk2_picard_indexes" metadata_name="dbkey" metadata_column="dbkey" message="Sequences are not currently available for the specified build." /> <!-- fixme!!! this needs to be a select --> | |
165 </param> | |
166 </repeat> | |
167 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &lt;reference_sequence&gt;"> | |
168 <options from_data_table="gatk2_picard_indexes"> | |
169 <!-- <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/> does not yet work in a repeat...--> | |
170 </options> | |
171 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | |
172 </param> | |
173 </when> | |
174 <when value="history"> <!-- FIX ME!!!! --> | |
175 <repeat name="input_bams" title="BAM file" min="1" help="-I,--input_file &lt;input_file&gt;"> | |
176 <param name="input_bam" type="data" format="bam" label="BAM file" > | |
177 </param> | |
178 </repeat> | |
179 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &lt;reference_sequence&gt;" /> | |
180 </when> | |
181 </conditional> | |
182 | |
183 <repeat name="rod_bind" title="Binding for reference-ordered data" help="-D,--dbsnp &lt;dbsnp&gt;"> | |
184 <conditional name="rod_bind_type"> | |
185 <param name="rod_bind_type_selector" type="select" label="Binding Type"> | |
186 <option value="dbsnp" selected="True">dbSNP</option> | |
187 <option value="snps">SNPs</option> | |
188 <option value="indels">INDELs</option> | |
189 <option value="custom">Custom</option> | |
190 </param> | |
191 <when value="dbsnp"> | |
192 <param name="input_rod" type="data" format="vcf" label="ROD file" /> | |
193 </when> | |
194 <when value="snps"> | |
195 <param name="input_rod" type="data" format="vcf" label="ROD file" /> | |
196 </when> | |
197 <when value="indels"> | |
198 <param name="input_rod" type="data" format="vcf" label="ROD file" /> | |
199 </when> | |
200 <when value="custom"> | |
201 <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/> | |
202 <param name="input_rod" type="data" format="vcf" label="ROD file" /> | |
203 </when> | |
204 </conditional> | |
205 </repeat> | |
206 | |
207 <param name="genotype_likelihoods_model" type="select" label="Genotype likelihoods calculation model to employ" help="-glm,--genotype_likelihoods_model &lt;genotype_likelihoods_model&gt;"> | |
208 <option value="BOTH" selected="True">BOTH</option> | |
209 <option value="SNP">SNP</option> | |
210 <option value="INDEL">INDEL</option> | |
211 </param> | |
212 | |
213 <param name="standard_min_confidence_threshold_for_calling" type="float" value="30.0" label="The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be called" help="-stand_call_conf,--standard_min_confidence_threshold_for_calling &lt;standard_min_confidence_threshold_for_calling&gt;" /> | |
214 <param name="standard_min_confidence_threshold_for_emitting" type="float" value="30.0" label="The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be emitted (and filtered if less than the calling threshold)" help="-stand_emit_conf,--standard_min_confidence_threshold_for_emitting &lt;standard_min_confidence_threshold_for_emitting&gt;" /> | |
215 | |
216 | |
217 <conditional name="gatk_param_type"> | |
218 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options"> | |
219 <option value="basic" selected="True">Basic</option> | |
220 <option value="advanced">Advanced</option> | |
221 </param> | |
222 <when value="basic"> | |
223 <!-- Do nothing here --> | |
224 </when> | |
225 <when value="advanced"> | |
226 <repeat name="pedigree" title="Pedigree file" help="-ped,--pedigree &lt;pedigree&gt;"> | |
227 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/> | |
228 </repeat> | |
229 <repeat name="pedigree_string_repeat" title="Pedigree string" help="-pedString,--pedigreeString &lt;pedigreeString&gt;"> | |
230 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/> | |
231 </repeat> | |
232 <param name="pedigree_validation_type" type="select" label="How strict should we be in validating the pedigree information" help="-pedValidationType,--pedigreeValidationType &lt;pedigreeValidationType&gt;"> | |
233 <option value="STRICT" selected="True">STRICT</option> | |
234 <option value="SILENT">SILENT</option> | |
235 </param> | |
236 <repeat name="read_filter" title="Read Filter" help="-rf,--read_filter &lt;read_filter&gt;"> | |
237 <conditional name="read_filter_type"> | |
238 <param name="read_filter_type_selector" type="select" label="Read Filter Type"> | |
239 <option value="BadCigar">BadCigar</option> | |
240 <option value="BadMate">BadMate</option> | |
241 <option value="DuplicateRead">DuplicateRead</option> | |
242 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option> | |
243 <option value="MalformedRead">MalformedRead</option> | |
244 <option value="MappingQuality">MappingQuality</option> | |
245 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option> | |
246 <option value="MappingQualityZero">MappingQualityZero</option> | |
247 <option value="MateSameStrand">MateSameStrand</option> | |
248 <option value="MaxInsertSize">MaxInsertSize</option> | |
249 <option value="MaxReadLength" selected="True">MaxReadLength</option> | |
250 <option value="MissingReadGroup">MissingReadGroup</option> | |
251 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option> | |
252 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option> | |
253 <option value="Platform454">Platform454</option> | |
254 <option value="Platform">Platform</option> | |
255 <option value="PlatformUnit">PlatformUnit</option> | |
256 <option value="ReadGroupBlackList">ReadGroupBlackList</option> | |
257 <option value="ReadName">ReadName</option> | |
258 <option value="ReadStrand">ReadStrand</option> | |
259 <option value="ReassignMappingQuality">ReassignMappingQuality</option> | |
260 <option value="Sample">Sample</option> | |
261 <option value="SingleReadGroup">SingleReadGroup</option> | |
262 <option value="UnmappedRead">UnmappedRead</option> | |
263 </param> | |
264 <when value="BadCigar"> | |
265 <!-- no extra options --> | |
266 </when> | |
267 <when value="BadMate"> | |
268 <!-- no extra options --> | |
269 </when> | |
270 <when value="DuplicateRead"> | |
271 <!-- no extra options --> | |
272 </when> | |
273 <when value="FailsVendorQualityCheck"> | |
274 <!-- no extra options --> | |
275 </when> | |
276 <when value="MalformedRead"> | |
277 <!-- no extra options --> | |
278 </when> | |
279 <when value="MappingQuality"> | |
280 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> | |
281 </when> | |
282 <when value="MappingQualityUnavailable"> | |
283 <!-- no extra options --> | |
284 </when> | |
285 <when value="MappingQualityZero"> | |
286 <!-- no extra options --> | |
287 </when> | |
288 <when value="MateSameStrand"> | |
289 <!-- no extra options --> | |
290 </when> | |
291 <when value="MaxInsertSize"> | |
292 <param name="maxInsertSize" type="integer" value="1000000" label="Discard reads with insert size greater than the specified value"/> | |
293 </when> | |
294 <when value="MaxReadLength"> | |
295 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/> | |
296 </when> | |
297 <when value="MissingReadGroup"> | |
298 <!-- no extra options --> | |
299 </when> | |
300 <when value="NoOriginalQualityScores"> | |
301 <!-- no extra options --> | |
302 </when> | |
303 <when value="NotPrimaryAlignment"> | |
304 <!-- no extra options --> | |
305 </when> | |
306 <when value="Platform454"> | |
307 <!-- no extra options --> | |
308 </when> | |
309 <when value="Platform"> | |
310 <param name="PLFilterName" type="text" value="" label="Discard reads with RG:PL attribute containing this string"/> | |
311 </when> | |
312 <when value="PlatformUnit"> | |
313 <!-- no extra options --> | |
314 </when> | |
315 <when value="ReadGroupBlackList"> | |
316 <!-- no extra options --> | |
317 </when> | |
318 <when value="ReadName"> | |
319 <param name="readName" type="text" value="" label="Filter out all reads except those with this read name"/> | |
320 </when> | |
321 <when value="ReadStrand"> | |
322 <param name="filterPositive" type="boolean" truevalue="--filterPositive" falsevalue="" label="Discard reads on the forward strand"/> | |
323 </when> | |
324 <when value="ReassignMappingQuality"> | |
325 <param name="default_mapping_quality" type="integer" value="60" label="Default read mapping quality to assign to all reads"/> | |
326 </when> | |
327 <when value="Sample"> | |
328 <param name="sample_to_keep" type="text" value="" label="The name of the sample(s) to keep, filtering out all others"/> | |
329 </when> | |
330 <when value="SingleReadGroup"> | |
331 <param name="read_group_to_keep" type="integer" value="76" label="The name of the read group to keep, filtering out all others"/> | |
332 </when> | |
333 <when value="UnmappedRead"> | |
334 <!-- no extra options --> | |
335 </when> | |
336 </conditional> | |
337 </repeat> | |
338 <repeat name="input_interval_repeat" title="Operate on Genomic intervals" help="-L,--intervals &lt;intervals&gt;"> | |
339 <param name="input_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" /> | |
340 </repeat> | |
341 <repeat name="input_exclude_interval_repeat" title="Exclude Genomic intervals" help="-XL,--excludeIntervals &lt;excludeIntervals&gt;"> | |
342 <param name="input_exclude_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" /> | |
343 </repeat> | |
344 | |
345 <param name="interval_set_rule" type="select" label="Interval set rule" help="-isr,--interval_set_rule &lt;interval_set_rule&gt;"> | |
346 <option value="UNION" selected="True">UNION</option> | |
347 <option value="INTERSECTION">INTERSECTION</option> | |
348 </param> | |
349 | |
350 <conditional name="downsampling_type"> | |
351 <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;"> | |
352 <option value="NONE" selected="True">NONE</option> | |
353 <option value="ALL_READS">ALL_READS</option> | |
354 <option value="BY_SAMPLE">BY_SAMPLE</option> | |
355 </param> | |
356 <when value="NONE"> | |
357 <!-- no more options here --> | |
358 </when> | |
359 <when value="ALL_READS"> | |
360 <conditional name="downsample_to_type"> | |
361 <param name="downsample_to_type_selector" type="select" label="Downsample method"> | |
362 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option> | |
363 <option value="downsample_to_coverage">Downsample by Coverage</option> | |
364 </param> | |
365 <when value="downsample_to_fraction"> | |
366 <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;"/> | |
367 </when> | |
368 <when value="downsample_to_coverage"> | |
369 <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;"/> | |
370 </when> | |
371 </conditional> | |
372 </when> | |
373 <when value="BY_SAMPLE"> | |
374 <conditional name="downsample_to_type"> | |
375 <param name="downsample_to_type_selector" type="select" label="Downsample method"> | |
376 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option> | |
377 <option value="downsample_to_coverage">Downsample by Coverage</option> | |
378 </param> | |
379 <when value="downsample_to_fraction"> | |
380 <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;"/> | |
381 </when> | |
382 <when value="downsample_to_coverage"> | |
383 <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;"/> | |
384 </when> | |
385 </conditional> | |
386 </when> | |
387 </conditional> | |
388 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine" help="-baq,--baq &lt;baq&gt;"> | |
389 <option value="OFF" selected="True">OFF</option> | |
390 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option> | |
391 <option value="RECALCULATE">RECALCULATE</option> | |
392 </param> | |
393 <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;" /> | |
394 <param name="use_original_qualities" type="boolean" truevalue="--useOriginalQualities" falsevalue="" label="Use the original base quality scores from the OQ tag" help="-OQ,--useOriginalQualities" /> | |
395 <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;"/> | |
396 <param name="validation_strictness" type="select" label="How strict should we be with validation" help="-S,--validation_strictness &lt;validation_strictness&gt;"> | |
397 <option value="STRICT" selected="True">STRICT</option> | |
398 <option value="LENIENT">LENIENT</option> | |
399 <option value="SILENT">SILENT</option> | |
400 <!-- <option value="DEFAULT_STRINGENCY">DEFAULT_STRINGENCY</option> listed in docs, but not valid value...--> | |
401 </param> | |
402 <param name="interval_merging" type="select" label="Interval merging rule" help="-im,--interval_merging &lt;interval_merging&gt;"> | |
403 <option value="ALL" selected="True">ALL</option> | |
404 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option> | |
405 </param> | |
406 | |
407 <repeat name="read_group_black_list_repeat" title="Read group black list" help="-rgbl,--read_group_black_list &lt;read_group_black_list&gt;"> | |
408 <conditional name="read_group_black_list_type"> | |
409 <param name="read_group_black_list_type_selector" type="select" label="Type of reads read group black list"> | |
410 <option value="file" selected="True">Filters in file</option> | |
411 <option value="text">Specify filters as a string</option> | |
412 </param> | |
413 <when value="file"> | |
414 <param name="read_group_black_list" type="data" format="txt" label="Read group black list file" /> | |
415 </when> | |
416 <when value="text"> | |
417 <param name="read_group_black_list" type="text" value="tag:string" label="Read group black list tag:string" /> | |
418 </when> | |
419 </conditional> | |
420 </repeat> | |
421 | |
422 <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"/> | |
423 <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:
1
diff
changeset
|
424 <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 | 425 |
426 </when> | |
427 </conditional> | |
428 | |
429 <conditional name="analysis_param_type"> | |
430 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options"> | |
431 <option value="basic" selected="True">Basic</option> | |
432 <option value="advanced">Advanced</option> | |
433 </param> | |
434 <when value="basic"> | |
435 <!-- Do nothing here --> | |
436 </when> | |
437 <when value="advanced"> | |
438 <param name="p_nonref_model" type="select" label="Non-reference probability calculation model to employ" help="-pnrm,--p_nonref_model &lt;p_nonref_model&gt;"> | |
439 <option value="EXACT" selected="True">EXACT</option> | |
440 <option value="GRID_SEARCH">GRID_SEARCH</option> | |
441 </param> | |
442 <param name="heterozygosity" type="float" value="1e-3" label="Heterozygosity value used to compute prior likelihoods for any locus" help="-hets,--heterozygosity &lt;heterozygosity&gt;" /> | |
443 <param name="pcr_error_rate" type="float" value="1e-4" label="The PCR error rate to be used for computing fragment-based likelihoods" help="-pcr_error,--pcr_error_rate &lt;pcr_error_rate&gt;" /> | |
444 <conditional name="genotyping_mode_type"> | |
445 <param name="genotyping_mode" type="select" label="How to determine the alternate allele to use for genotyping" help="-gt_mode,--genotyping_mode &lt;genotyping_mode&gt;"> | |
446 <option value="DISCOVERY" selected="True">DISCOVERY</option> | |
447 <option value="GENOTYPE_GIVEN_ALLELES">GENOTYPE_GIVEN_ALLELES</option> | |
448 </param> | |
449 <when value="DISCOVERY"> | |
450 <!-- Do nothing here --> | |
451 </when> | |
452 <when value="GENOTYPE_GIVEN_ALLELES"> | |
453 <param name="input_alleles_rod" type="data" format="vcf" label="Alleles ROD file" help="-alleles,--alleles &lt;alleles&gt;" /> | |
454 </when> | |
455 </conditional> | |
456 <param name="output_mode" type="select" label="Should we output confident genotypes (i.e. including ref calls) or just the variants?" help="-out_mode,--output_mode &lt;output_mode&gt;"> | |
457 <option value="EMIT_VARIANTS_ONLY" selected="True">EMIT_VARIANTS_ONLY</option> | |
458 <option value="EMIT_ALL_CONFIDENT_SITES">EMIT_ALL_CONFIDENT_SITES</option> | |
459 <option value="EMIT_ALL_SITES">EMIT_ALL_SITES</option> | |
460 </param> | |
461 <param name="compute_SLOD" type="boolean" truevalue="--computeSLOD" falsevalue="" label="Compute the SLOD" help="--computeSLOD" /> | |
462 <param name="min_base_quality_score" type="integer" value="17" label="Minimum base quality required to consider a base for calling" help="-mbq,--min_base_quality_score &lt;min_base_quality_score&gt;" /> | |
463 <param name="max_deletion_fraction" type="float" value="0.05" label="Maximum fraction of reads with deletions spanning this locus for it to be callable" help="to disable, set to < 0 or > 1 (-deletions,--max_deletion_fraction &lt;max_deletion_fraction&gt;)" /> | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
1
diff
changeset
|
464 <param name="max_alternate_alleles" type="integer" value="6" label="Maximum number of alternate alleles to genotype" help="-maxAlleles,--max_alternate_alleles &lt;max_alternate_alleles&gt;" /> |
0 | 465 <param name="min_indel_count_for_genotyping" type="integer" value="5" label="Minimum number of consensus indels required to trigger genotyping run" help="-minIndelCnt,--min_indel_count_for_genotyping &lt;min_indel_count_for_genotyping&gt;" /> |
466 <param name="indel_heterozygosity" type="float" value="0.000125" label="Heterozygosity for indel calling" help="1.0/8000==0.000125 (-indelHeterozygosity,--indel_heterozygosity &lt;indel_heterozygosity&gt;)"/> | |
467 <param name="indelGapContinuationPenalty" type="float" value="10.0" label="Indel gap continuation penalty" help="--indelGapContinuationPenalty" /> | |
468 <param name="indelGapOpenPenalty" type="float" value="45.0" label="Indel gap open penalty" help="--indelGapOpenPenalty" /> | |
469 <param name="indelHaplotypeSize" type="integer" value="80" label="Indel haplotype size" help="--indelHaplotypeSize" /> | |
470 <param name="doContextDependentGapPenalties" type="boolean" truevalue="--doContextDependentGapPenalties" falsevalue="" label="Vary gap penalties by context" help="--doContextDependentGapPenalties" /> | |
471 <param name="annotation" type="select" multiple="True" display="checkboxes" label="Annotation Types" help="-A,--annotation &lt;annotation&gt;"> | |
472 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs --> | |
473 <options from_data_table="gatk2_annotations"> | |
474 <filter type="multiple_splitter" column="tools_valid_for" separator=","/> | |
475 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/> | |
476 </options> | |
477 </param> | |
478 <repeat name="additional_annotations" title="Additional annotation" help="-A,--annotation &lt;annotation&gt;"> | |
479 <param name="additional_annotation_name" type="text" value="" label="Annotation name" /> | |
480 </repeat> | |
481 <!-- | |
482 <conditional name="snpEff_rod_bind_type"> | |
483 <param name="snpEff_rod_bind_type_selector" type="select" label="Provide a snpEff reference-ordered data file"> | |
484 <option value="set_snpEff">Set snpEff</option> | |
485 <option value="exclude_snpEff" selected="True">Don't set snpEff</option> | |
486 </param> | |
487 <when value="exclude_snpEff"> | |
488 </when> | |
489 <when value="set_snpEff"> | |
490 <param name="snpEff_input_rod" type="data" format="vcf" label="ROD file" /> | |
491 <param name="snpEff_rod_name" type="hidden" value="snpEff" label="ROD Name"/> | |
492 </when> | |
493 </conditional> | |
494 --> | |
495 <param name="group" type="select" multiple="True" display="checkboxes" label="Annotation Interfaces/Groups" help="-G,--group &lt;group&gt;"> | |
496 <option value="RodRequiringAnnotation">RodRequiringAnnotation</option> | |
497 <option value="Standard">Standard</option> | |
498 <option value="Experimental">Experimental</option> | |
499 <option value="WorkInProgress">WorkInProgress</option> | |
500 <option value="RankSumTest">RankSumTest</option> | |
501 <!-- <option value="none">none</option> --> | |
502 </param> | |
503 <!-- <param name="family_string" type="text" value="" label="Family String"/> --> | |
504 <param name="exclude_annotations" type="select" multiple="True" display="checkboxes" label="Annotations to exclude" help="-XA,--excludeAnnotation &lt;excludeAnnotation&gt;" > | |
505 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs --> | |
506 <options from_data_table="gatk2_annotations"> | |
507 <filter type="multiple_splitter" column="tools_valid_for" separator=","/> | |
508 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/> | |
509 </options> | |
510 </param> | |
511 <param name="multiallelic" type="boolean" truevalue="--multiallelic" falsevalue="" label="Allow the discovery of multiple alleles (SNPs only)" help="--multiallelic" /> | |
512 </when> | |
513 </conditional> | |
514 </inputs> | |
515 <outputs> | |
516 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (VCF)" /> | |
517 <data format="txt" name="output_metrics" label="${tool.name} on ${on_string} (metrics)" /> | |
518 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" /> | |
519 </outputs> | |
520 <trackster_conf/> | |
521 <tests> | |
522 <test> | |
523 <param name="reference_source_selector" value="history" /> | |
524 <param name="ref_file" value="phiX.fasta" ftype="fasta" /> | |
525 <param name="input_bam" value="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.bam" ftype="bam" /> | |
526 <param name="rod_bind_type_selector" value="dbsnp" /> | |
527 <param name="input_rod" value="gatk/fake_phiX_variant_locations.vcf" ftype="vcf" /> | |
528 <param name="standard_min_confidence_threshold_for_calling" value="0" /> | |
529 <param name="standard_min_confidence_threshold_for_emitting" value="4" /> | |
530 <param name="gatk_param_type_selector" value="basic" /> | |
531 <param name="analysis_param_type_selector" value="advanced" /> | |
532 <param name="genotype_likelihoods_model" value="BOTH" /> | |
533 <param name="p_nonref_model" value="EXACT" /> | |
534 <param name="heterozygosity" value="0.001" /> | |
535 <param name="pcr_error_rate" value="0.0001" /> | |
536 <param name="genotyping_mode" value="DISCOVERY" /> | |
537 <param name="output_mode" value="EMIT_ALL_CONFIDENT_SITES" /> | |
538 <param name="compute_SLOD" /> | |
539 <param name="min_base_quality_score" value="17" /> | |
540 <param name="max_deletion_fraction" value="-1" /> | |
541 <param name="min_indel_count_for_genotyping" value="2" /> | |
542 <param name="indel_heterozygosity" value="0.000125" /> | |
543 <param name="indelGapContinuationPenalty" value="10" /> | |
544 <param name="indelGapOpenPenalty" value="3" /> | |
545 <param name="indelHaplotypeSize" value="80" /> | |
546 <param name="doContextDependentGapPenalties" /> | |
547 <!-- <param name="annotation" value="" /> | |
548 <param name="group" value="" /> --> | |
549 <output name="output_vcf" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.vcf" lines_diff="4" /> | |
550 <output name="output_metrics" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.metrics" /> | |
551 <output name="output_log" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.log.contains" compare="contains" /> | |
552 </test> | |
553 </tests> | |
554 <help> | |
555 **What it does** | |
556 | |
557 A variant caller which unifies the approaches of several disparate callers. Works for single-sample and multi-sample data. The user can choose from several different incorporated calculation models. | |
558 | |
559 For more information on the GATK Unified Genotyper, see this `tool specific page <http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_genotyper_UnifiedGenotyper.html>`_. | |
560 | |
561 To learn about best practices for variant detection using GATK, see this `overview <http://www.broadinstitute.org/gatk/guide/topic?name=best-practices>`_. | |
562 | |
563 If you encounter errors, please view the `GATK FAQ <http://www.broadinstitute.org/gatk/guide/topic?name=faqs>`_. | |
564 | |
565 ------ | |
566 | |
567 **Inputs** | |
568 | |
569 GenomeAnalysisTK: UnifiedGenotyper accepts an aligned BAM input file. | |
570 | |
571 | |
572 **Outputs** | |
573 | |
574 The output is in VCF format. | |
575 | |
576 | |
577 Go `here <http://www.broadinstitute.org/gatk/guide/topic?name=intro>`_ for details on GATK file formats. | |
578 | |
579 ------- | |
580 | |
581 **Settings**:: | |
582 | |
583 genotype_likelihoods_model Genotype likelihoods calculation model to employ -- BOTH is the default option, while INDEL is also available for calling indels and SNP is available for calling SNPs only (SNP|INDEL|BOTH) | |
584 p_nonref_model Non-reference probability calculation model to employ -- EXACT is the default option, while GRID_SEARCH is also available. (EXACT|GRID_SEARCH) | |
585 heterozygosity Heterozygosity value used to compute prior likelihoods for any locus | |
586 pcr_error_rate The PCR error rate to be used for computing fragment-based likelihoods | |
587 genotyping_mode Should we output confident genotypes (i.e. including ref calls) or just the variants? (DISCOVERY|GENOTYPE_GIVEN_ALLELES) | |
588 output_mode Should we output confident genotypes (i.e. including ref calls) or just the variants? (EMIT_VARIANTS_ONLY|EMIT_ALL_CONFIDENT_SITES|EMIT_ALL_SITES) | |
589 standard_min_confidence_threshold_for_calling The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be called | |
590 standard_min_confidence_threshold_for_emitting The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be emitted (and filtered if less than the calling threshold) | |
591 noSLOD If provided, we will not calculate the SLOD | |
592 min_base_quality_score Minimum base quality required to consider a base for calling | |
593 max_deletion_fraction Maximum fraction of reads with deletions spanning this locus for it to be callable [to disable, set to < 0 or > 1; default:0.05] | |
594 min_indel_count_for_genotyping Minimum number of consensus indels required to trigger genotyping run | |
595 indel_heterozygosity Heterozygosity for indel calling | |
596 indelGapContinuationPenalty Indel gap continuation penalty | |
597 indelGapOpenPenalty Indel gap open penalty | |
598 indelHaplotypeSize Indel haplotype size | |
599 doContextDependentGapPenalties Vary gap penalties by context | |
600 indel_recal_file Filename for the input covariates table recalibration .csv file - EXPERIMENTAL, DO NO USE | |
601 indelDebug Output indel debug info | |
602 out File to which variants should be written | |
603 annotation One or more specific annotations to apply to variant calls | |
604 group One or more classes/groups of annotations to apply to variant calls | |
605 | |
606 ------ | |
607 | |
608 **Citation** | |
609 | |
610 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>`_ | |
611 | |
612 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>`_ | |
613 | |
614 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>`_ | |
615 | |
616 </help> | |
617 </tool> |