annotate haplotype_caller.xml @ 12:b40671bc73d5 draft

Add help to HaplotypeCaller
author Jim Johnson <jj@umn.edu>
date Thu, 08 Nov 2012 10:55:32 -0600
parents 5faf7ace8aee
children da03516b528c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
1 <tool id="gatk2_haplotype_caller" name="Haplotype Caller" version="0.0.4">
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>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4 <requirement type="package" version="2.2">gatk</requirement>
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
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19 ##-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
20 ##--num_threads 4 ##not supported yet
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 ##-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
22 #if $reference_source.reference_source_selector != "history":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 -R "${reference_source.ref_file.fields.path}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 #if str($input_recal) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 --BQSR "${input_recal}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 --disable_bam_indexing
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}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
74 ${gatk_param_type.disable_experimental_low_memory_sharding}
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 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
94 ## files
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
95 #if str($analysis_param_type.activeRegionIn) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
96 --activeRegionIn "$analysis_param_type.activeRegionIn"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
97 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
98 #if str($analysis_param_type.alleles) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
99 --alleles "$analysis_param_type.alleles"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
100 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
101 #if str($analysis_param_type.comp) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
102 --comp "$analysis_param_type.comp"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
103 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
104 #if str($analysis_param_type.dbsnp) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
105 --dbsnp "$analysis_param_type.dbsnp"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
106 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
107 ## text
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
108 #if len($analysis_param_type.annotation.__str__) > 0:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
109 --annotation $analysis_param_type.annotation
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
110 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
111 #if len($analysis_param_type.excludeAnnotation.__str__) > 0:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
112 --excludeAnnotation $analysis_param_type.excludeAnnotation
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
113 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
114 #if len($analysis_param_type.group.__str__) > 0:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
115 --group $analysis_param_type.group
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
116 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
117 ## value setings
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
118 #if $analysis_param_type.contamination_fraction_to_filter.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
119 --contamination_fraction_to_filter $analysis_param_type.contamination_fraction_to_filter
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
120 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
121 #if $analysis_param_type.downsampleRegion.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
122 --downsampleRegion $analysis_param_type.downsampleRegion
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
123 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
124 #if $analysis_param_type.heterozygosity.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
125 --heterozygosity $analysis_param_type.heterozygosity
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
126 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
127 #if $analysis_param_type.minPruning.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
128 --minPruning $analysis_param_type.minPruning
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
129 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
130 #if $analysis_param_type.standard_min_confidence_threshold_for_calling.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
131 --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
132 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
133 #if $analysis_param_type.standard_min_confidence_threshold_for_emitting.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
134 --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
135 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
136 #if $analysis_param_type.gcpHMM.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
137 --gcpHMM $analysis_param_type.gcpHMM
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
138 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
139 #if $analysis_param_type.max_alternate_alleles.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
140 --max_alternate_alleles $analysis_param_type.max_alternate_alleles
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 ## mode selections
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
143 #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
144 --genotyping_mode $analysis_param_type.genotyping_mode
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
145 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
146 #if $analysis_param_type.output_mode.__str__ != "None" and len($analysis_param_type.output_mode.__str__) > 0:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
147 --output_mode $analysis_param_type.output_mode
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
148 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
149 #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
150 --pair_hmm_implementation $analysis_param_type.pair_hmm_implementation
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
151 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
152 #if $analysis_param_type.p_nonref_model.__str__ != "None" and len($analysis_param_type.p_nonref_model.__str__) > 0:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
153 --p_nonref_model $analysis_param_type.p_nonref_model
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
154 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
155 ## optional outputs
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
156 #if $analysis_param_type.activeRegionOut:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
157 --activeRegionOut $active_region_out
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
158 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
159 #if $analysis_param_type.graphOutput:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
160 --graphOutput $graph_out
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
161 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
162 ## flags
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
163 $analysis_param_type.useAllelesTrigger
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
164 $analysis_param_type.fullHaplotype
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
165 $analysis_param_type.genotypeFullActiveRegion
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
166 $analysis_param_type.debug
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
167 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
168 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
169 </command>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
170 <inputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
171 <param name="input_recal" type="data" format="csv" optional="true" label="Covariates table recalibration file" help="-BQSR,--BQSR &amp;lt;recal_file&amp;gt;" >
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
172 <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
173 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
174 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
175 </help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
176 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
177 <conditional name="reference_source">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
178 <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
179 <option value="cached">Locally cached</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
180 <option value="history">History</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
181 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
182 <when value="cached">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
183 <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
184 <validator type="unspecified_build" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
185 <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
186 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
187 <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
188 <options from_data_table="gatk2_picard_indexes">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
189 <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
190 </options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
191 <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
192 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
193 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
194 <when value="history">
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 <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
197 <options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
198 <filter type="data_meta" key="dbkey" ref="input_bam" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
199 </options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
200 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
201 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
202 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
203
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
204 <conditional name="gatk_param_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
205 <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
206 <option value="basic" selected="True">Basic</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
207 <option value="advanced">Advanced</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
208 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
209 <when value="basic">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
210 <!-- Do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
211 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
212 <when value="advanced">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
213 <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
214 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
215 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
216 <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
217 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
218 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
219 <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
220 <option value="STRICT" selected="True">STRICT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
221 <option value="SILENT">SILENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
222 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
223 <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
224 <conditional name="read_filter_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
225 <param name="read_filter_type_selector" type="select" label="Read Filter Type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
226 <option value="BadCigar">BadCigar</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
227 <option value="BadMate">BadMate</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
228 <option value="DuplicateRead">DuplicateRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
229 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
230 <option value="MalformedRead">MalformedRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
231 <option value="MappingQuality">MappingQuality</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
232 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
233 <option value="MappingQualityZero">MappingQualityZero</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
234 <option value="MateSameStrand">MateSameStrand</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
235 <option value="MaxInsertSize">MaxInsertSize</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
236 <option value="MaxReadLength" selected="True">MaxReadLength</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
237 <option value="MissingReadGroup">MissingReadGroup</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
238 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
239 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
240 <option value="Platform454">Platform454</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
241 <option value="Platform">Platform</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
242 <option value="PlatformUnit">PlatformUnit</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
243 <option value="ReadGroupBlackList">ReadGroupBlackList</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
244 <option value="ReadName">ReadName</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
245 <option value="ReadStrand">ReadStrand</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
246 <option value="ReassignMappingQuality">ReassignMappingQuality</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
247 <option value="Sample">Sample</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
248 <option value="SingleReadGroup">SingleReadGroup</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
249 <option value="UnmappedRead">UnmappedRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
250 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
251 <when value="BadCigar">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
252 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
253 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
254 <when value="BadMate">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
255 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
256 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
257 <when value="DuplicateRead">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
258 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
259 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
260 <when value="FailsVendorQualityCheck">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
261 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
262 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
263 <when value="MalformedRead">
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="MappingQuality">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
267 <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
268 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
269 <when value="MappingQualityUnavailable">
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="MappingQualityZero">
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="MateSameStrand">
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="MaxInsertSize">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
279 <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
280 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
281 <when value="MaxReadLength">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
282 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/>
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="MissingReadGroup">
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="NoOriginalQualityScores">
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="NotPrimaryAlignment">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
291 <!-- no extra options -->
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="Platform454">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
294 <!-- no extra options -->
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="Platform">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
297 <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
298 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
299 <when value="PlatformUnit">
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="ReadGroupBlackList">
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="ReadName">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
306 <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
307 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
308 <when value="ReadStrand">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
309 <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
310 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
311 <when value="ReassignMappingQuality">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
312 <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
313 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
314 <when value="Sample">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
315 <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
316 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
317 <when value="SingleReadGroup">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
318 <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
319 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
320 <when value="UnmappedRead">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
321 <!-- no extra options -->
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 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
324 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
325 <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
326 <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
327 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
328 <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
329 <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
330 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
331
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
332 <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
333 <option value="UNION" selected="True">UNION</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
334 <option value="INTERSECTION">INTERSECTION</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
335 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
336
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
337 <conditional name="downsampling_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
338 <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
339 <option value="NONE" selected="True">NONE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
340 <option value="ALL_READS">ALL_READS</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
341 <option value="BY_SAMPLE">BY_SAMPLE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
342 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
343 <when value="NONE">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
344 <!-- no more options here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
345 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
346 <when value="ALL_READS">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
347 <conditional name="downsample_to_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
348 <param name="downsample_to_type_selector" type="select" label="Downsample method">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
349 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
350 <option value="downsample_to_coverage">Downsample by Coverage</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
351 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
352 <when value="downsample_to_fraction">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
353 <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
354 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
355 <when value="downsample_to_coverage">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
356 <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
357 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
358 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
359 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
360 <when value="BY_SAMPLE">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
361 <conditional name="downsample_to_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
362 <param name="downsample_to_type_selector" type="select" label="Downsample method">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
363 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
364 <option value="downsample_to_coverage">Downsample by Coverage</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
365 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
366 <when value="downsample_to_fraction">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
367 <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
368 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
369 <when value="downsample_to_coverage">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
370 <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
371 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
372 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
373 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
374 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
375 <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
376 <option value="OFF" selected="True">OFF</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
377 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
378 <option value="RECALCULATE">RECALCULATE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
379 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
380 <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
381 <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
382 <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
383 <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
384 <option value="STRICT" selected="True">STRICT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
385 <option value="LENIENT">LENIENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
386 <option value="SILENT">SILENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
387 <!-- <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
388 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
389 <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
390 <option value="ALL" selected="True">ALL</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
391 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
392 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
393
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
394 <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
395 <conditional name="read_group_black_list_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
396 <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
397 <option value="file" selected="True">Filters in file</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
398 <option value="text">Specify filters as a string</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
399 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
400 <when value="file">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
401 <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
402 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
403 <when value="text">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
404 <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
405 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
406 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
407 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
408
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
409 <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"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
410 <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"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
411
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
412 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
413 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
414
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
415 <conditional name="analysis_param_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
416 <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
417 <option value="basic" selected="True">Basic</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
418 <option value="advanced">Advanced</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
419 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
420 <when value="basic">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
421 <!-- Do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
422 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
423 <when value="advanced">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
424
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
425 <conditional name="default_read_group_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
426 <param name="default_read_group_type_selector" type="select" label="Set default Read Group" help="--default_read_group">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
427 <option value="default" selected="True">Don't Set</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
428 <option value="set">Set</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
429 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
430 <when value="default">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
431 <!-- do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
432 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
433 <when value="set">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
434 <param name="default_read_group" type="text" value="Unknown" label="If a read has no read group then default to the provided String"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
435 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
436 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
437 <param name="default_platform" type="select" label="Set default Platform" help="--default_platform">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
438 <option value="default" selected="True">Don't Set</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
439 <option value="illumina">illumina</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
440 <option value="454">454</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
441 <option value="solid">solid</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
442 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
443 <conditional name="force_read_group_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
444 <param name="force_read_group_type_selector" type="select" label="Force Read Group" help="--force_read_group">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
445 <option value="default" selected="True">Don't Force</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
446 <option value="set">Force</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
447 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
448 <when value="default">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
449 <!-- do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
450 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
451 <when value="set">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
452 <param name="force_read_group" type="text" value="Unknown" label="If provided, the read group ID of EVERY read will be forced to be the provided String."/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
453 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
454 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
455 <param name="force_platform" type="select" label="Force Platform" help="--force_platform">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
456 <option value="default" selected="True">Don't Force</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
457 <option value="illumina">illumina</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
458 <option value="454">454</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
459 <option value="solid">solid</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
460 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
461 <param name="exception_if_no_tile" type="boolean" checked="False" truevalue="--exception_if_no_tile" falsevalue="" label="Throw an exception when no tile can be found" help="--exception_if_no_tile"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
462 <conditional name="solid_options_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
463 <param name="solid_options_type_selector" type="select" label="Set SOLiD specific options">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
464 <option value="default" selected="True">Don't Set</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
465 <option value="set">Set</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
466 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
467 <when value="default">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
468 <!-- do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
469 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
470 <when value="set">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
471 <param name="solid_recal_mode" type="select" label="How should we recalibrate solid bases in which the reference was inserted" help="-sMode,--solid_recal_mode &amp;lt;solid_recal_mode&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
472 <option value="default" selected="True">Don't set</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
473 <option value="DO_NOTHING">DO_NOTHING</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
474 <option value="SET_Q_ZERO">SET_Q_ZERO</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
475 <option value="SET_Q_ZERO_BASE_N">SET_Q_ZERO_BASE_N</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
476 <option value="REMOVE_REF_BIAS">REMOVE_REF_BIAS</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
477 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
478 <param name="solid_nocall_strategy" type="select" label="Behavior of the recalibrator when it encounters no calls" help="-solid_nocall_strategy,--solid_nocall_strategy &amp;lt;solid_nocall_strategy&amp;gt;">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
479 <option value="default" selected="True">Don't set</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
480 <option value="THROW_EXCEPTION">THROW_EXCEPTION</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
481 <option value="LEAVE_READ_UNRECALIBRATED">LEAVE_READ_UNRECALIBRATED</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
482 <option value="PURGE_READ">PURGE_READ</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
483 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
484 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
485 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
486 <param name="simplify_bam" type="boolean" checked="False" truevalue="-simplifyBAM" falsevalue="" label="Simplify BAM" help="-simplifyBAM,--simplifyBAM"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
487 <param name="window_size_nqs" type="integer" value="5" label="Window size used by MinimumNQSCovariate" help="--window_size_nqs"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
488 <param name="homopolymer_nback" type="integer" value="7" label="Number of previous bases to look at in HomopolymerCovariate" help="-nback,--homopolymer_nback &amp;lt;homopolymer_nback&amp;gt;" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
489 <param name="preserve_qscores_less_than" type="integer" value="5" label="Bases with quality scores less than this threshold won't be recalibrated" help="-pQ,--preserve_qscores_less_than &amp;lt;preserve_qscores_less_than&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
490 <param name="smoothing" type="integer" value="1" label="smoothing" help="-sm,--smoothing &amp;lt;smoothing&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
491 <param name="max_quality_score" type="integer" value="50" label="Max quality score" help="-maxQ,--max_quality_score &amp;lt;max_quality_score&amp;gt;"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
492 <param name="do_not_write_original_quals" type="boolean" checked="False" truevalue="--doNotWriteOriginalQuals" falsevalue="" label="Do Not Write Original Quality tag" help="-noOQs,--doNotWriteOriginalQuals"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
493 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
494 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
495
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
496 <conditional name="analysis_param_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
497 <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
498 <option value="basic" selected="True">Basic</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
499 <option value="advanced">Advanced</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
500 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
501 <when value="basic">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
502 <!-- Do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
503 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
504 <when value="advanced">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
505
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
506 <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
507 <param name="activeRegionOut" type="boolean" checked="False" truevalue="" falsevalue="" label="activeRegionOut" help="--activeRegionOut / -ARO Output the active region to an interval list file"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
508 <param name="alleles" type="data" format="vcf" optional="true" label="alleles" help="--alleles / -alleles The set of alleles at which to genotype when --genotyping_mode is GENOTYPE_GIVEN_ALLELES"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
509 <param name="annotation" type="text" value="" optional="true" label="annotation" help="--annotation / -A One or more specific annotations to apply to variant calls default: ClippingRankSumTest"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
510 <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
511 <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
512 <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
513 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
514 <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
515 <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
516 <param name="downsampleRegion" type="integer" value="1000" optional="true" label="downsampleRegion" help="--downsampleRegion / -dr coverage, per-sample, to downsample each active region to"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
517 <param name="excludeAnnotation" type="text" optional="true" label="excludeAnnotation" help="--excludeAnnotation / -XA One or more specific annotations to exclude"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
518 <param name="genotyping_mode" type="select" optional="true" label="genotyping_mode" help="--genotyping_mode / -gt_mode Specifies how to determine the alternate alleles to use for genotyping">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
519 <option value="DISCOVERY" selected="True">DISCOVERY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
520 <option value="GENOTYPE_GIVEN_ALLELES">GENOTYPE_GIVEN_ALLELES</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
521 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
522 <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
523 <param name="group" type="text" optional="true" label="group" help="--group / -G One or more classes/groups of annotations to apply to variant calls"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
524 <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"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
525 <param name="minPruning" type="integer" value="1" optional="true" label="minPruning" help="--minPruning / -minPruning The minimum allowed pruning factor in assembly graph. Paths with <= X supporting kmers are pruned from the graph">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
526 <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
527 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
528 <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
529 <option value="EMIT_VARIANTS_ONLY" selected="True">EMIT_VARIANTS_ONLY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
530 <option value="EMIT_ALL_CONFIDENT_SITES">EMIT_ALL_CONFIDENT_SITES</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
531 <option value="EMIT_ALL_SITES">EMIT_ALL_SITES</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
532 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
533 <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
534 <option value="EXACT">EXACT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
535 <option value="ORIGINAL">ORIGINAL</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
536 <option value="CACHING">CACHING</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
537 <option value="LOGLESS_CACHING" selected="True">LOGLESS_CACHING</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
538 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
539 <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
540 <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
541 <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
542 <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
543 <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
544 <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
545 <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
546 <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
547 <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
548 <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
549 <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
550 <option value="EXACT_GENERAL_PLOIDY">implementation that supports any sample ploidy</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
551 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
552
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
553 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
554 <plotypes are evaluated using an affine gap penalty Pair HMM./conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
555 </inputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
556 <outputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
557 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (VCF)" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
558 <data format="vcf" name="graph_out" label="${tool.name} on ${on_string} graph" >
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
559 <filter>analysis_param_type['graphOutput'] == True</filter>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
560 </data>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
561 <data format="vcf" name="active_region_out" label="${tool.name} on ${on_string} activeRegion" >
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
562 <filter>analysis_param_type['activeRegionOut'] == True</filter>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
563 </data>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
564 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
565 </outputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
566 <tests>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
567 <test>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
568 <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
569 <param name="reference_source_selector" value="history" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
570 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
571 <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
572 <param name="gatk_param_type_selector" value="basic" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
573 <param name="analysis_param_type_selector" value="basic" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
574 <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
575 <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
576 </test>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
577 </tests>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
578 <help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
579 **What it does**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
580
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
581 HaplotypeCaller
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
582 Call SNPs and indels simultaneously via local de-novo assembly of haplotypes in an active region.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
583 Haplotypes are evaluated using an affine gap penalty Pair HMM.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
584
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
585 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
586
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
587 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
588
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
589 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
590
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
591 ------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
592
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
593 **Inputs**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
594
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
595 GenomeAnalysisTK: PrintReads accepts an aligned BAM files.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
596
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
597
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
598 **Outputs**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
599
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
600 The output is a VCF file with raw, unrecalibrated SNP and indel calls.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
601
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
602
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
603 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
604
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
605 -------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
606
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
607 **Settings**::
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
608
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
609 default_read_group If a read has no read group then default to the provided String.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
610 default_platform If a read has no platform then default to the provided String. Valid options are illumina, 454, and solid.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
611 force_read_group If provided, the read group ID of EVERY read will be forced to be the provided String. This is useful to collapse all data into a single read group.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
612 force_platform If provided, the platform of EVERY read will be forced to be the provided String. Valid options are illumina, 454, and solid.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
613 window_size_nqs The window size used by MinimumNQSCovariate for its calculation
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
614 homopolymer_nback The number of previous bases to look at in HomopolymerCovariate
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
615 exception_if_no_tile If provided, TileCovariate will throw an exception when no tile can be found. The default behavior is to use tile = -1
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
616 solid_recal_mode How should we recalibrate solid bases in whichthe reference was inserted? Options = DO_NOTHING, SET_Q_ZERO, SET_Q_ZERO_BASE_N, or REMOVE_REF_BIAS (DO_NOTHING|SET_Q_ZERO|SET_Q_ZERO_BASE_N|REMOVE_REF_BIAS)
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
617 solid_nocall_strategy Defines the behavior of the recalibrator when it encounters no calls in the color space. Options = THROW_EXCEPTION, LEAVE_READ_UNRECALIBRATED, or PURGE_READ (THROW_EXCEPTION|LEAVE_READ_UNRECALIBRATED|PURGE_READ)
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
618 recal_file Filename for the input covariates table recalibration .csv file
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
619 out The output BAM file
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
620 bam_compression Compression level to use for writing BAM files
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
621 disable_bam_indexing Turn off on-the-fly creation of indices for output BAM files.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
622 simplifyBAM If provided, output BAM files will be simplified to include just key reads for downstream variation discovery analyses (removing duplicates, PF-, non-primary reads), as well stripping all extended tags from the kept reads except the read group identifier
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
623 preserve_qscores_less_than Bases with quality scores less than this threshold won't be recalibrated, default=5. In general it's unsafe to change qualities scores below &lt; 5, since base callers use these values to indicate random or bad bases
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
624 smoothing Number of imaginary counts to add to each bin bin order to smooth out bins with few data points, default=1
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
625 max_quality_score The integer value at which to cap the quality scores, default=50
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
626 doNotWriteOriginalQuals If true, we will not write the original quality (OQ) tag for each read
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
627
12
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
628 *HaplotypeCaller specific arguments*::
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
629 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
630 activeRegionOut Output the active region to this interval list file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
631 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
632 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
633 comp comparison VCF file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
634 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
635 dbsnp dbSNP file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
636 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
637 downsampleRegion coverage, per-sample, to downsample each active region to
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
638 excludeAnnotation One or more specific annotations to exclude
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
639 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
640 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
641 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
642 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
643 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
644 output_mode Specifies which type of calls we should output
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
645 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
646 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
647 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
648 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
649 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
650 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
651 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
652 max_alternate_alleles Maximum number of alternate alleles to genotype
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
653 p_nonref_model Non-reference probability calculation model to employ
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
654
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
655 ------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
656
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
657 **Citation**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
658
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
659 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
660
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
661 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
662
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
663 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
664
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
665 </help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
666 </tool>