annotate haplotype_caller.xml @ 22:bc18c5ad280f draft

Remove thread options from base_recalibrator.xml
author Jim Johnson <jj@umn.edu>
date Fri, 28 Dec 2012 12:08:47 -0600
parents 7533db8dfb5b
children 6ef8eb568700
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
7533db8dfb5b Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
1 <tool id="gatk2_haplotype_caller" name="Haplotype Caller" version="0.0.5">
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <description>Call SNPs and indels simultaneously via local de-novo assembly of haplotypes in an active region</description>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <requirements>
18
7533db8dfb5b Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
4 <requirement type="package" version="2.3">gatk</requirement>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 <requirement type="package" version="0.1.18">samtools</requirement>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 </requirements>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
7 <command interpreter="python">gatk2_wrapper.py
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8 --max_jvm_heap_fraction "1"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 --stdout "${output_log}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10 -d "-I" "${reference_source.input_bam}" "${reference_source.input_bam.ext}" "gatk_input"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 #if str( $reference_source.input_bam.metadata.bam_index ) != "None":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 -d "" "${reference_source.input_bam.metadata.bam_index}" "bam_index" "gatk_input" ##hardcode galaxy ext type as bam_index
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 -p 'java
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 -jar "\$GATK2_PATH/GenomeAnalysisTK.jar"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 -T "HaplotypeCaller"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 -o "${output_vcf}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 ## \$GATK2_SITE_OPTIONS
18
7533db8dfb5b Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
19 ## \$GATK2_THREAD_OPTIONS
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 ##-et "NO_ET" -K "/data/galaxy/appList/GenomeAnalysisTK-2.0-36-gf5c1c1a/gatk2_key_file" ##ET no phone home
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 ##--num_threads 4 ##not supported yet
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 #if $reference_source.reference_source_selector != "history":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 -R "${reference_source.ref_file.fields.path}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 #if str($input_recal) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 --BQSR "${input_recal}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 ##start standard gatk options
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 #if $gatk_param_type.gatk_param_type_selector == "advanced":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 #for $pedigree in $gatk_param_type.pedigree:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33 -p '--pedigree "${pedigree.pedigree_file}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
36 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 #for $read_filter in $gatk_param_type.read_filter:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 ###raise Exception( str( dir( $read_filter ) ) )
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 #for $name, $param in $read_filter.read_filter_type.iteritems():
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44 #if hasattr( $param.input, 'truevalue' ):
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 ${param}
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
46 #else:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 --${name} "${param}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
50 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_interval_repeat ):
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
54 -d "--intervals" "${input_intervals.input_intervals}" "${input_intervals.input_intervals.ext}" "input_intervals_${interval_count}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_exclude_interval_repeat ):
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 -d "--excludeIntervals" "${input_intervals.input_exclude_intervals}" "${input_intervals.input_exclude_intervals.ext}" "input_exlude_intervals_${interval_count}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
59 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
60
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
61 -p '--interval_set_rule "${gatk_param_type.interval_set_rule}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
62
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
63 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 -p '--${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_type_selector} "${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_value}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 -p '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68 --baq "${gatk_param_type.baq}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
69 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
70 ${gatk_param_type.use_original_qualities}
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
71 --defaultBaseQualities "${gatk_param_type.default_base_qualities}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
72 --validation_strictness "${gatk_param_type.validation_strictness}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
73 --interval_merging "${gatk_param_type.interval_merging}"
18
7533db8dfb5b Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
74 ${gatk_param_type.fix_misencoded_quality_scores}
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
75 ${gatk_param_type.non_deterministic_random_seed}
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
76 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
77 #for $rg_black_list_count, $rg_black_list in enumerate( $gatk_param_type.read_group_black_list_repeat ):
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
78 #if $rg_black_list.read_group_black_list_type.read_group_black_list_type_selector == "file":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
79 -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}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
80 #else
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
81 -p '--read_group_black_list "${rg_black_list.read_group_black_list_type.read_group_black_list}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
82 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
83 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
84 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
85
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
86 #if str( $reference_source.reference_source_selector ) == "history":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
87 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
88 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
89 ##end standard gatk options
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
90
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
91 ##start analysis specific options
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
92 #if $analysis_param_type.analysis_param_type_selector == "advanced":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
93 -p '
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
94 #if $analysis_param_type.p_nonref_model.__str__ != "None" and len($analysis_param_type.p_nonref_model.__str__) > 0:
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
95 --p_nonref_model $analysis_param_type.p_nonref_model
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
96 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
97 #if $analysis_param_type.heterozygosity.__str__.strip() != '':
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
98 --heterozygosity $analysis_param_type.heterozygosity
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
99 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
100 --genotyping_mode "${analysis_param_type.genotyping_mode_type.genotyping_mode}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
101 #if str( $analysis_param_type.genotyping_mode_type.genotyping_mode ) == 'GENOTYPE_GIVEN_ALLELES':
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
102 --alleles "${analysis_param_type.genotyping_mode_type.input_alleles_rod}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
103 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
104 #if $analysis_param_type.output_mode.__str__ != "None" and len($analysis_param_type.output_mode.__str__) > 0:
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
105 --output_mode $analysis_param_type.output_mode
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
106 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
107
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
108 ## files
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
109 #if str($analysis_param_type.activeRegionIn) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
110 --activeRegionIn "$analysis_param_type.activeRegionIn"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
111 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
112 #if str($analysis_param_type.comp) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
113 --comp "$analysis_param_type.comp"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
114 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
115 #if str($analysis_param_type.dbsnp) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
116 --dbsnp "$analysis_param_type.dbsnp"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
117 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
118 ##
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
119 #if str( $analysis_param_type.annotation ) != "None":
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
120 #for $annotation in str( $analysis_param_type.annotation.fields.gatk_value ).split( ','):
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
121 --annotation "${annotation}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
122 #end for
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
123 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
124 #for $additional_annotation in $analysis_param_type.additional_annotations:
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
125 --annotation "${additional_annotation.additional_annotation_name}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
126 #end for
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
127 #if str( $analysis_param_type.group ) != "None":
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
128 #for $group in str( $analysis_param_type.group ).split( ','):
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
129 --group "${group}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
130 #end for
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
131 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
132 #if str( $analysis_param_type.exclude_annotations ) != "None":
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
133 #for $annotation in str( $analysis_param_type.exclude_annotations.fields.gatk_value ).split( ','):
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
134 --excludeAnnotation "${annotation}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
135 #end for
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
136 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
137
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
138 ## value setings
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
139 #if $analysis_param_type.contamination_fraction_to_filter.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
140 --contamination_fraction_to_filter $analysis_param_type.contamination_fraction_to_filter
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
141 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
142 #if $analysis_param_type.downsampleRegion.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
143 --downsampleRegion $analysis_param_type.downsampleRegion
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
144 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
145 #if $analysis_param_type.minPruning.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
146 --minPruning $analysis_param_type.minPruning
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
147 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
148 #if $analysis_param_type.standard_min_confidence_threshold_for_calling.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
149 --standard_min_confidence_threshold_for_calling $analysis_param_type.standard_min_confidence_threshold_for_calling
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
150 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
151 #if $analysis_param_type.standard_min_confidence_threshold_for_emitting.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
152 --standard_min_confidence_threshold_for_emitting $analysis_param_type.standard_min_confidence_threshold_for_emitting
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
153 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
154 #if $analysis_param_type.gcpHMM.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
155 --gcpHMM $analysis_param_type.gcpHMM
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
156 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
157 #if $analysis_param_type.max_alternate_alleles.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
158 --max_alternate_alleles $analysis_param_type.max_alternate_alleles
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
159 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
160 ## mode selections
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
161 #if $analysis_param_type.genotyping_mode.__str__ != "None" and len($analysis_param_type.genotyping_mode.__str__) > 0:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
162 --genotyping_mode $analysis_param_type.genotyping_mode
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
163 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
164 #if $analysis_param_type.pair_hmm_implementation.__str__ != "None" and len($analysis_param_type.pair_hmm_implementation.__str__) > 0:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
165 --pair_hmm_implementation $analysis_param_type.pair_hmm_implementation
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
166 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
167 ## optional outputs
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
168 #if $analysis_param_type.activeRegionOut:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
169 --activeRegionOut $active_region_out
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
170 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
171 #if $analysis_param_type.graphOutput:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
172 --graphOutput $graph_out
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
173 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
174 ## flags
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
175 $analysis_param_type.useAllelesTrigger
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
176 $analysis_param_type.fullHaplotype
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
177 $analysis_param_type.genotypeFullActiveRegion
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
178 $analysis_param_type.debug
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
179 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
180 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
181 </command>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
182 <inputs>
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
183 <param name="input_recal" type="data" format="gatk_report" optional="true" label="Covariates table recalibration file" help="-BQSR,--BQSR &amp;lt;recal_file&amp;gt;" >
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
184 <help>The input covariates table file which enables on-the-fly base quality score recalibration.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
185 Enables on-the-fly recalibrate of base qualities. The covariates tables are produced by the BaseQualityScoreRecalibrator tool.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
186 Please be aware that one should only run recalibration with the covariates file created on the same input bam(s).
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
187 </help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
188 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
189 <conditional name="reference_source">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
190 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
191 <option value="cached">Locally cached</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
192 <option value="history">History</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
193 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
194 <when value="cached">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
195 <param name="input_bam" type="data" format="bam" label="BAM file" help="-I,--input_file &amp;lt;input_file&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
196 <validator type="unspecified_build" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
197 <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 -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
198 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
199 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;" >
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
200 <options from_data_table="gatk2_picard_indexes">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
201 <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
202 </options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
203 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
204 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
205 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
206 <when value="history">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
207 <param name="input_bam" type="data" format="bam" label="BAM file" help="-I,--input_file &amp;lt;input_file&amp;gt;" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
208 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
209 <options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
210 <filter type="data_meta" key="dbkey" ref="input_bam" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
211 </options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
212 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
213 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
214 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
215
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
216 <conditional name="gatk_param_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
217 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
218 <option value="basic" selected="True">Basic</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
219 <option value="advanced">Advanced</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
220 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
221 <when value="basic">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
222 <!-- Do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
223 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
224 <when value="advanced">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
225 <repeat name="pedigree" title="Pedigree file" help="-ped,--pedigree &amp;lt;pedigree&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
226 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
227 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
228 <repeat name="pedigree_string_repeat" title="Pedigree string" help="-pedString,--pedigreeString &amp;lt;pedigreeString&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
229 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
230 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
231 <param name="pedigree_validation_type" type="select" label="How strict should we be in validating the pedigree information" help="-pedValidationType,--pedigreeValidationType &amp;lt;pedigreeValidationType&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
232 <option value="STRICT" selected="True">STRICT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
233 <option value="SILENT">SILENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
234 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
235 <repeat name="read_filter" title="Read Filter" help="-rf,--read_filter &amp;lt;read_filter&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
236 <conditional name="read_filter_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
237 <param name="read_filter_type_selector" type="select" label="Read Filter Type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
238 <option value="BadCigar">BadCigar</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
239 <option value="BadMate">BadMate</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
240 <option value="DuplicateRead">DuplicateRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
241 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
242 <option value="MalformedRead">MalformedRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
243 <option value="MappingQuality">MappingQuality</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
244 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
245 <option value="MappingQualityZero">MappingQualityZero</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
246 <option value="MateSameStrand">MateSameStrand</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
247 <option value="MaxInsertSize">MaxInsertSize</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
248 <option value="MaxReadLength" selected="True">MaxReadLength</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
249 <option value="MissingReadGroup">MissingReadGroup</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
250 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
251 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
252 <option value="Platform454">Platform454</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
253 <option value="Platform">Platform</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
254 <option value="PlatformUnit">PlatformUnit</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
255 <option value="ReadGroupBlackList">ReadGroupBlackList</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
256 <option value="ReadName">ReadName</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
257 <option value="ReadStrand">ReadStrand</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
258 <option value="ReassignMappingQuality">ReassignMappingQuality</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
259 <option value="Sample">Sample</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
260 <option value="SingleReadGroup">SingleReadGroup</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
261 <option value="UnmappedRead">UnmappedRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
262 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
263 <when value="BadCigar">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
264 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
265 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
266 <when value="BadMate">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
267 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
268 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
269 <when value="DuplicateRead">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
270 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
271 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
272 <when value="FailsVendorQualityCheck">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
273 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
274 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
275 <when value="MalformedRead">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
276 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
277 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
278 <when value="MappingQuality">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
279 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
280 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
281 <when value="MappingQualityUnavailable">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
282 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
283 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
284 <when value="MappingQualityZero">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
285 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
286 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
287 <when value="MateSameStrand">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
288 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
289 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
290 <when value="MaxInsertSize">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
291 <param name="maxInsertSize" type="integer" value="1000000" label="Discard reads with insert size greater than the specified value"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
292 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
293 <when value="MaxReadLength">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
294 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
295 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
296 <when value="MissingReadGroup">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
297 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
298 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
299 <when value="NoOriginalQualityScores">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
300 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
301 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
302 <when value="NotPrimaryAlignment">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
303 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
304 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
305 <when value="Platform454">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
306 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
307 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
308 <when value="Platform">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
309 <param name="PLFilterName" type="text" value="" label="Discard reads with RG:PL attribute containing this string"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
310 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
311 <when value="PlatformUnit">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
312 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
313 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
314 <when value="ReadGroupBlackList">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
315 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
316 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
317 <when value="ReadName">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
318 <param name="readName" type="text" value="" label="Filter out all reads except those with this read name"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
319 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
320 <when value="ReadStrand">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
321 <param name="filterPositive" type="boolean" truevalue="--filterPositive" falsevalue="" label="Discard reads on the forward strand"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
322 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
323 <when value="ReassignMappingQuality">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
324 <param name="default_mapping_quality" type="integer" value="60" label="Default read mapping quality to assign to all reads"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
325 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
326 <when value="Sample">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
327 <param name="sample_to_keep" type="text" value="" label="The name of the sample(s) to keep, filtering out all others"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
328 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
329 <when value="SingleReadGroup">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
330 <param name="read_group_to_keep" type="integer" value="76" label="The name of the read group to keep, filtering out all others"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
331 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
332 <when value="UnmappedRead">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
333 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
334 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
335 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
336 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
337 <repeat name="input_interval_repeat" title="Operate on Genomic intervals" help="-L,--intervals &amp;lt;intervals&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
338 <param name="input_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
339 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
340 <repeat name="input_exclude_interval_repeat" title="Exclude Genomic intervals" help="-XL,--excludeIntervals &amp;lt;excludeIntervals&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
341 <param name="input_exclude_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
342 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
343
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
344 <param name="interval_set_rule" type="select" label="Interval set rule" help="-isr,--interval_set_rule &amp;lt;interval_set_rule&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
345 <option value="UNION" selected="True">UNION</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
346 <option value="INTERSECTION">INTERSECTION</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
347 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
348
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
349 <conditional name="downsampling_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
350 <param name="downsampling_type_selector" type="select" label="Type of reads downsampling to employ at a given locus" help="-dt,--downsampling_type &amp;lt;downsampling_type&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
351 <option value="NONE" selected="True">NONE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
352 <option value="ALL_READS">ALL_READS</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
353 <option value="BY_SAMPLE">BY_SAMPLE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
354 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
355 <when value="NONE">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
356 <!-- no more options here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
357 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
358 <when value="ALL_READS">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
359 <conditional name="downsample_to_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
360 <param name="downsample_to_type_selector" type="select" label="Downsample method">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
361 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
362 <option value="downsample_to_coverage">Downsample by Coverage</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
363 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
364 <when value="downsample_to_fraction">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
365 <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 &amp;lt;downsample_to_fraction&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
366 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
367 <when value="downsample_to_coverage">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
368 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &amp;lt;downsample_to_coverage&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
369 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
370 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
371 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
372 <when value="BY_SAMPLE">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
373 <conditional name="downsample_to_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
374 <param name="downsample_to_type_selector" type="select" label="Downsample method">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
375 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
376 <option value="downsample_to_coverage">Downsample by Coverage</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
377 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
378 <when value="downsample_to_fraction">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
379 <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 &amp;lt;downsample_to_fraction&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
380 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
381 <when value="downsample_to_coverage">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
382 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &amp;lt;downsample_to_coverage&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
383 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
384 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
385 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
386 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
387 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine" help="-baq,--baq &amp;lt;baq&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
388 <option value="OFF" selected="True">OFF</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
389 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
390 <option value="RECALCULATE">RECALCULATE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
391 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
392 <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 &amp;lt;baqGapOpenPenalty&amp;gt;" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
393 <param name="use_original_qualities" type="boolean" truevalue="--useOriginalQualities" falsevalue="" label="Use the original base quality scores from the OQ tag" help="-OQ,--useOriginalQualities" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
394 <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 &amp;lt;defaultBaseQualities&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
395 <param name="validation_strictness" type="select" label="How strict should we be with validation" help="-S,--validation_strictness &amp;lt;validation_strictness&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
396 <option value="STRICT" selected="True">STRICT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
397 <option value="LENIENT">LENIENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
398 <option value="SILENT">SILENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
399 <!-- <option value="DEFAULT_STRINGENCY">DEFAULT_STRINGENCY</option> listed in docs, but not valid value...-->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
400 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
401 <param name="interval_merging" type="select" label="Interval merging rule" help="-im,--interval_merging &amp;lt;interval_merging&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
402 <option value="ALL" selected="True">ALL</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
403 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
404 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
405
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
406 <repeat name="read_group_black_list_repeat" title="Read group black list" help="-rgbl,--read_group_black_list &amp;lt;read_group_black_list&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
407 <conditional name="read_group_black_list_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
408 <param name="read_group_black_list_type_selector" type="select" label="Type of reads read group black list">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
409 <option value="file" selected="True">Filters in file</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
410 <option value="text">Specify filters as a string</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
411 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
412 <when value="file">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
413 <param name="read_group_black_list" type="data" format="txt" label="Read group black list file" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
414 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
415 <when value="text">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
416 <param name="read_group_black_list" type="text" value="tag:string" label="Read group black list tag:string" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
417 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
418 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
419 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
420
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
421 <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: 17
diff changeset
422 <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"/>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
423
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
424 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
425 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
426
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
427 <conditional name="analysis_param_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
428 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
429 <option value="basic" selected="True">Basic</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
430 <option value="advanced">Advanced</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
431 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
432 <when value="basic">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
433 <!-- Do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
434 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
435 <when value="advanced">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
436
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
437 <param name="activeRegionIn" type="data" format="bed,gatk_interval,picard_interval_list,vcf" optional="true" label="activeRegionIn" help="--activeRegionIn / -AR Use this interval list file as the active regions to process"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
438 <param name="activeRegionOut" type="boolean" checked="False" truevalue="" falsevalue="" label="activeRegionOut" help="--activeRegionOut / -ARO Output the active region to an interval list file"/>
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
439
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
440 <param name="annotation" type="select" multiple="True" display="checkboxes" label="Annotation Types" help="-A,--annotation &amp;lt;annotation&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
441 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
442 <options from_data_table="gatk2_annotations">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
443 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
444 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
445 </options>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
446 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
447 <repeat name="additional_annotations" title="Additional annotation" help="-A,--annotation &amp;lt;annotation&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
448 <param name="additional_annotation_name" type="text" value="" label="Annotation name" />
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
449 </repeat>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
450 <!--
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
451 <conditional name="snpEff_rod_bind_type">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
452 <param name="snpEff_rod_bind_type_selector" type="select" label="Provide a snpEff reference-ordered data file">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
453 <option value="set_snpEff">Set snpEff</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
454 <option value="exclude_snpEff" selected="True">Don't set snpEff</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
455 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
456 <when value="exclude_snpEff">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
457 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
458 <when value="set_snpEff">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
459 <param name="snpEff_input_rod" type="data" format="vcf" label="ROD file" />
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
460 <param name="snpEff_rod_name" type="hidden" value="snpEff" label="ROD Name"/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
461 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
462 </conditional>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
463 -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
464 <param name="group" type="select" multiple="True" display="checkboxes" label="Annotation Interfaces/Groups" help="-G,--group &amp;lt;group&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
465 <option value="RodRequiringAnnotation">RodRequiringAnnotation</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
466 <option value="Standard">Standard</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
467 <option value="Experimental">Experimental</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
468 <option value="WorkInProgress">WorkInProgress</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
469 <option value="RankSumTest">RankSumTest</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
470 <!-- <option value="none">none</option> -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
471 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
472 <!-- <param name="family_string" type="text" value="" label="Family String"/> -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
473 <param name="exclude_annotations" type="select" multiple="True" display="checkboxes" label="Annotations to exclude" help="-XA,--excludeAnnotation &amp;lt;excludeAnnotation&amp;gt;" >
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
474 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
475 <options from_data_table="gatk2_annotations">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
476 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
477 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
478 </options>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
479 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
480
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
481 <param name="comp" type="data" format="vcf" optional="true" label="comp" help="--comp / -comp comparison VCF file"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
482 <param name="contamination_fraction_to_filter" type="float" value="0.05" optional="true" label="contamination_fraction_to_filter" help="--contamination_fraction_to_filter / -contamination Fraction of contamination in sequencing data (for all samples) to aggressively remove">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
483 <validator type="in_range" message="value between 0.00 and 1.00" min="0" max="1"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
484 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
485 <param name="dbsnp" type="data" format="vcf" optional="true" label="dbsnp" help="--dbsnp / -D dbSNP file"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
486 <param name="debug" type="boolean" checked="False" truevalue="-debug" falsevalue="" label="debug" help="--debug / -debug If specified, print out very verbose debug information about each triggering active region"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
487 <param name="downsampleRegion" type="integer" value="1000" optional="true" label="downsampleRegion" help="--downsampleRegion / -dr coverage, per-sample, to downsample each active region to"/>
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
488
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
489 <conditional name="genotyping_mode_type">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
490 <param name="genotyping_mode" type="select" label="How to determine the alternate allele to use for genotyping" help="-gt_mode,--genotyping_mode &amp;lt;genotyping_mode&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
491 <option value="DISCOVERY" selected="True">DISCOVERY</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
492 <option value="GENOTYPE_GIVEN_ALLELES">GENOTYPE_GIVEN_ALLELES</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
493 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
494 <when value="DISCOVERY">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
495 <!-- Do nothing here -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
496 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
497 <when value="GENOTYPE_GIVEN_ALLELES">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
498 <param name="input_alleles_rod" type="data" format="vcf" label="Alleles ROD file" help="-alleles,--alleles &amp;lt;alleles&amp;gt;" />
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
499 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
500 </conditional>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
501
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
502
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
503 <param name="graphOutput" type="boolean" checked="False" truevalue="" falsevalue="" label="graphOutput" help="--graphOutput / -graph File to which debug assembly graph information should be written"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
504 <param name="heterozygosity" type="float" value="0.0010" optional="true" label="heterozygosity" help="--heterozygosity / -hets Heterozygosity value used to compute prior likelihoods for any locus"/>
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
505 <param name="minPruning" type="integer" value="1" optional="true" label="minPruning" help="--minPruning / -minPruning The minimum allowed pruning factor in assembly graph. Paths with &gt;= X supporting kmers are pruned from the graph">
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
506 <validator type="in_range" message="value between 0 and 127" min="0" max="127"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
507 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
508 <param name="output_mode" type="select" optional="true" label="output_mode" help="--output_mode / -out_mode Specifies which type of calls we should output">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
509 <option value="EMIT_VARIANTS_ONLY" selected="True">EMIT_VARIANTS_ONLY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
510 <option value="EMIT_ALL_CONFIDENT_SITES">EMIT_ALL_CONFIDENT_SITES</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
511 <option value="EMIT_ALL_SITES">EMIT_ALL_SITES</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
512 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
513 <param name="pair_hmm_implementation" type="select" optional="true" label="pair_hmm_implementation" help="--pair_hmm_implementation / -pairHMM The PairHMM implementation to use for genotype likelihood calculations">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
514 <option value="EXACT">EXACT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
515 <option value="ORIGINAL">ORIGINAL</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
516 <option value="CACHING">CACHING</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
517 <option value="LOGLESS_CACHING" selected="True">LOGLESS_CACHING</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
518 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
519 <param name="standard_min_confidence_threshold_for_calling" type="float" value="30.0" optional="true" label="standard_min_confidence_threshold_for_calling" help="--standard_min_confidence_threshold_for_calling / -stand_call_conf The minimum phred-scaled confidence threshold at which variants should be called"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
520 <param name="standard_min_confidence_threshold_for_emitting" type="float" value="30.0" optional="true" label="standard_min_confidence_threshold_for_emitting" help="--standard_min_confidence_threshold_for_emitting / -stand_emit_conf The minimum phred-scaled confidence threshold at which variants should be emitted (and filtered with LowQual if less than the calling threshold)"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
521 <param name="useAllelesTrigger" type="boolean" checked="False" truevalue="-allelesTrigger" falsevalue="" label="useAllelesTrigger" help="--useAllelesTrigger / -allelesTrigger If specified, use additional trigger on variants found in an external alleles file"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
522 <param name="fullHaplotype" type="boolean" checked="False" truevalue="-fullHaplotype" falsevalue="" label="fullHaplotype" help="--fullHaplotype / -fullHaplotype If specified, output the full haplotype sequence instead of converting to individual variants w.r.t. the reference"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
523 <param name="gcpHMM" type="integer" value="10" optional="true" label="gcpHMM" help="--gcpHMM / -gcpHMM Flat gap continuation penalty for use in the Pair HMM"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
524 <param name="genotypeFullActiveRegion" type="boolean" checked="False" truevalue="-genotypeFullActiveRegion" falsevalue="" label="genotypeFullActiveRegion" help="--genotypeFullActiveRegion / -genotypeFullActiveRegion If specified, alternate alleles are considered to be the full active region for the purposes of genotyping"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
525 <param name="max_alternate_alleles" type="integer" value="6" optional="true" label="max_alternate_alleles" help="--max_alternate_alleles / -maxAltAlleles Maximum number of alternate alleles to genotype"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
526 <param name="p_nonref_model" type="select" optional="true" label="p_nonref_model" help="--p_nonref_model / -pnrm Non-reference probability calculation model to employ">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
527 <option value="EXACT_INDEPENDENT" selected="True">EXACT_INDEPENDENT experimental implementation - for testing only</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
528 <option value="EXACT_REFERENCE">EXACT_REFERENCE reference implementation of multi-allelic EXACT model. Extremely slow for many alternate alleles</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
529 <option value="EXACT_ORIGINAL">EXACT_ORIGINAL original biallelic exact model, for testing only</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
530 <option value="EXACT_GENERAL_PLOIDY">implementation that supports any sample ploidy</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
531 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
532
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
533 </when>
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
534 </conditional>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
535 </inputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
536 <outputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
537 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (VCF)" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
538 <data format="vcf" name="graph_out" label="${tool.name} on ${on_string} graph" >
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
539 <filter>analysis_param_type['analysis_param_type_selector'] == "advanced" and analysis_param_type['graphOutput'] == True</filter>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
540 </data>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
541 <data format="vcf" name="active_region_out" label="${tool.name} on ${on_string} activeRegion" >
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
542 <filter>analysis_param_type['analysis_param_type_selector'] == "advanced" and analysis_param_type['activeRegionOut'] == True</filter>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
543 </data>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
544 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
545 </outputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
546 <tests>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
547 <test>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
548 <param name="input_recal" value="gatk/gatk_count_covariates/gatk_count_covariates_out_1.csv" ftype="csv" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
549 <param name="reference_source_selector" value="history" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
550 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
551 <param name="input_bam" value="gatk/gatk_indel_realigner/gatk_indel_realigner_out_1.bam" ftype="bam" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
552 <param name="gatk_param_type_selector" value="basic" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
553 <param name="analysis_param_type_selector" value="basic" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
554 <output name="output_bam" file="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.bam" ftype="bam" lines_diff="4" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
555 <output name="output_log" file="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.log.contains" compare="contains" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
556 </test>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
557 </tests>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
558 <help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
559 **What it does**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
560
14
d73c92a7b0ea Remove unneeded params
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
561 **HaplotypeCaller**
d73c92a7b0ea Remove unneeded params
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
562 calls SNPs and indels simultaneously via local de-novo assembly of haplotypes in an active region.
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
563 Haplotypes are evaluated using an affine gap penalty Pair HMM.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
564
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
565 For more information on using read based compression in the GATK, see this `tool specific page &lt;http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_haplotypecaller_HaplotypeCaller.html&gt;`_.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
566
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
567 To learn about best practices for variant detection using GATK, see this `overview &lt;http://www.broadinstitute.org/gatk/guide/topic?name=best-practices&gt;`_.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
568
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
569 If you encounter errors, please view the `GATK FAQ &lt;http://www.broadinstitute.org/gatk/guide/topic?name=faqs&gt;`_.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
570
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
571 ------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
572
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
573 **Inputs**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
574
14
d73c92a7b0ea Remove unneeded params
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
575 GenomeAnalysisTK: PrintReads accepts aligned BAM files.
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
576
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
577
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
578 **Outputs**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
579
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
580 The output is a VCF file with raw, unrecalibrated SNP and indel calls.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
581
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
582
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
583 Go `here &lt;http://www.broadinstitute.org/gatk/guide/topic?name=intro&gt;`_ for details on GATK file formats.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
584
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
585 -------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
586
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
587 **Settings**::
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
588
12
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
589 activeRegionIn Use this interval list file as the active regions to process
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
590 activeRegionOut Output the active region to this interval list file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
591 alleles The set of alleles at which to genotype when --genotyping_mode is GENOTYPE_GIVEN_ALLELES
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
592 annotation One or more specific annotations to apply to variant calls
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
593 comp comparison VCF file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
594 contamination Fraction of contamination in sequencing data (for all samples) to aggressively remove
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
595 dbsnp dbSNP file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
596 debug If specified, print out very verbose debug information about each triggering active region
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
597 downsampleRegion coverage, per-sample, to downsample each active region to
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
598 excludeAnnotation One or more specific annotations to exclude
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
599 genotyping_mode Specifies how to determine the alternate alleles to use for genotyping
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
600 graphOutput File to which debug assembly graph information should be written
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
601 group One or more classes/groups of annotations to apply to variant calls
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
602 heterozygosity Heterozygosity value used to compute prior likelihoods for any locus
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
603 minPruning The minimum allowed pruning factor in assembly graph. Paths with less than or equal supporting kmers are pruned from the graph
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
604 output_mode Specifies which type of calls we should output
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
605 pair_hmm_implementation The PairHMM implementation to use for genotype likelihood calculations
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
606 stand_call_conf The minimum phred-scaled confidence threshold at which variants should be called
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
607 stand_emit_conf The minimum phred-scaled confidence threshold at which variants should be emitted (and filtered with LowQual if less than the calling threshold)
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
608 useAllelesTrigger If specified, use additional trigger on variants found in an external alleles file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
609 fullHaplotype If specified, output the full haplotype sequence instead of converting to individual variants w.r.t. the reference
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
610 gcpHMM Flat gap continuation penalty for use in the Pair HMM
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
611 genotypeFullActiveRegion If specified, alternate alleles are considered to be the full active region for the purposes of genotyping
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
612 max_alternate_alleles Maximum number of alternate alleles to genotype
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
613 p_nonref_model Non-reference probability calculation model to employ
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
614
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
615 ------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
616
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
617 **Citation**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
618
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
619 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. &lt;http://www.ncbi.nlm.nih.gov/pubmed/21478889&gt;`_
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
620
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
621 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. &lt;http://www.ncbi.nlm.nih.gov/pubmed/20644199&gt;`_
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
622
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
623 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. &lt;http://www.ncbi.nlm.nih.gov/pubmed/20069535&gt;`_
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
624
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
625 </help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
626 </tool>