annotate haplotype_caller.xml @ 37:dd9f8ea2b718 draft

unified_genotyper - indelGap penalty param need to be integer values
author Jim Johnson <jj@umn.edu>
date Fri, 01 Mar 2013 12:43:41 -0600
parents 14d47237bb0a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34
b99c25b0ad4d Update tool version to 0.0.7
Jim Johnson <jj@umn.edu>
parents: 28
diff changeset
1 <tool id="gatk2_haplotype_caller" name="Haplotype Caller" version="0.0.7">
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <description>Call SNPs and indels simultaneously via local de-novo assembly of haplotypes in an active region</description>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <requirements>
18
7533db8dfb5b Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
4 <requirement type="package" version="2.3">gatk</requirement>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 <requirement type="package" version="0.1.18">samtools</requirement>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 </requirements>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
7 <command interpreter="python">gatk2_wrapper.py
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8 --max_jvm_heap_fraction "1"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 --stdout "${output_log}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10 -d "-I" "${reference_source.input_bam}" "${reference_source.input_bam.ext}" "gatk_input"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 #if str( $reference_source.input_bam.metadata.bam_index ) != "None":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 -d "" "${reference_source.input_bam.metadata.bam_index}" "bam_index" "gatk_input" ##hardcode galaxy ext type as bam_index
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 -p 'java
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 -jar "\$GATK2_PATH/GenomeAnalysisTK.jar"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 -T "HaplotypeCaller"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 -o "${output_vcf}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 ## \$GATK2_SITE_OPTIONS
28
6ef8eb568700 Move GATK tool_dependency to a repository dependency, use 2 env vars: GATK2_NUM_THREADS and GATK2_NUM_CPU_THREADS for site threading values
Jim Johnson <jj@umn.edu>
parents: 18
diff changeset
19 ## \$GATK2_NUM_THREADS
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 ##-et "NO_ET" -K "/data/galaxy/appList/GenomeAnalysisTK-2.0-36-gf5c1c1a/gatk2_key_file" ##ET no phone home
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 ##--num_threads 4 ##not supported yet
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 #if $reference_source.reference_source_selector != "history":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 -R "${reference_source.ref_file.fields.path}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 #if str($input_recal) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 --BQSR "${input_recal}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 ##start standard gatk options
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 #if $gatk_param_type.gatk_param_type_selector == "advanced":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 #for $pedigree in $gatk_param_type.pedigree:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33 -p '--pedigree "${pedigree.pedigree_file}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
36 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
35
a29c7d7d962d Fix default read filter screening
Jim Johnson <jj@umn.edu>
parents: 34
diff changeset
39 #set default_read_filters = ['DuplicateRead','FailsVendorQualityCheck','NotPrimaryAlignment','MalformedRead','UnmappedRead']
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 #for $read_filter in $gatk_param_type.read_filter:
35
a29c7d7d962d Fix default read filter screening
Jim Johnson <jj@umn.edu>
parents: 34
diff changeset
41 -p '
a29c7d7d962d Fix default read filter screening
Jim Johnson <jj@umn.edu>
parents: 34
diff changeset
42 #if $read_filter.read_filter_type.read_filter_type_selector not in $default_read_filters:
a29c7d7d962d Fix default read filter screening
Jim Johnson <jj@umn.edu>
parents: 34
diff changeset
43 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
36
14d47237bb0a Fix commandline template
Jim Johnson <jj@umn.edu>
parents: 35
diff changeset
44 #end if
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 ###raise Exception( str( dir( $read_filter ) ) )
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
46 #for $name, $param in $read_filter.read_filter_type.iteritems():
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 #if hasattr( $param.input, 'truevalue' ):
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49 ${param}
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
50 #else:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 --${name} "${param}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
54 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_interval_repeat ):
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 -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
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 #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
62 -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
63 #end for
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 -p '--interval_set_rule "${gatk_param_type.interval_set_rule}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"'
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
69 -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
70 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
71 -p '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
72 --baq "${gatk_param_type.baq}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
73 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
74 ${gatk_param_type.use_original_qualities}
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
75 --defaultBaseQualities "${gatk_param_type.default_base_qualities}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
76 --validation_strictness "${gatk_param_type.validation_strictness}"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
77 --interval_merging "${gatk_param_type.interval_merging}"
18
7533db8dfb5b Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
78 ${gatk_param_type.fix_misencoded_quality_scores}
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
79 ${gatk_param_type.non_deterministic_random_seed}
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
80 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
81 #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
82 #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
83 -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
84 #else
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
85 -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
86 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
87 #end for
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
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
90 #if str( $reference_source.reference_source_selector ) == "history":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
91 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
92 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
93 ##end standard gatk options
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
94
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
95 ##start analysis specific options
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
96 #if $analysis_param_type.analysis_param_type_selector == "advanced":
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
97 -p '
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
98 #if $analysis_param_type.p_nonref_model.__str__ != "None" and len($analysis_param_type.p_nonref_model.__str__) > 0:
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
99 --p_nonref_model $analysis_param_type.p_nonref_model
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
100 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
101 #if $analysis_param_type.heterozygosity.__str__.strip() != '':
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
102 --heterozygosity $analysis_param_type.heterozygosity
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
103 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
104 --genotyping_mode "${analysis_param_type.genotyping_mode_type.genotyping_mode}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
105 #if str( $analysis_param_type.genotyping_mode_type.genotyping_mode ) == 'GENOTYPE_GIVEN_ALLELES':
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
106 --alleles "${analysis_param_type.genotyping_mode_type.input_alleles_rod}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
107 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
108 #if $analysis_param_type.output_mode.__str__ != "None" and len($analysis_param_type.output_mode.__str__) > 0:
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
109 --output_mode $analysis_param_type.output_mode
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
110 #end if
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
111
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
112 ## files
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
113 #if str($analysis_param_type.activeRegionIn) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
114 --activeRegionIn "$analysis_param_type.activeRegionIn"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
115 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
116 #if str($analysis_param_type.comp) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
117 --comp "$analysis_param_type.comp"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
118 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
119 #if str($analysis_param_type.dbsnp) != 'None':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
120 --dbsnp "$analysis_param_type.dbsnp"
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
121 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
122 ##
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
123 #if str( $analysis_param_type.annotation ) != "None":
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
124 #for $annotation in str( $analysis_param_type.annotation.fields.gatk_value ).split( ','):
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
125 --annotation "${annotation}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
126 #end for
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
127 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
128 #for $additional_annotation in $analysis_param_type.additional_annotations:
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
129 --annotation "${additional_annotation.additional_annotation_name}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
130 #end for
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
131 #if str( $analysis_param_type.group ) != "None":
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
132 #for $group in str( $analysis_param_type.group ).split( ','):
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
133 --group "${group}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
134 #end for
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
135 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
136 #if str( $analysis_param_type.exclude_annotations ) != "None":
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
137 #for $annotation in str( $analysis_param_type.exclude_annotations.fields.gatk_value ).split( ','):
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
138 --excludeAnnotation "${annotation}"
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
139 #end for
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
140 #end if
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
141
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
142 ## value setings
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
143 #if $analysis_param_type.contamination_fraction_to_filter.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
144 --contamination_fraction_to_filter $analysis_param_type.contamination_fraction_to_filter
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.downsampleRegion.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
147 --downsampleRegion $analysis_param_type.downsampleRegion
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.minPruning.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
150 --minPruning $analysis_param_type.minPruning
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.standard_min_confidence_threshold_for_calling.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
153 --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
154 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
155 #if $analysis_param_type.standard_min_confidence_threshold_for_emitting.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
156 --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
157 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
158 #if $analysis_param_type.gcpHMM.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
159 --gcpHMM $analysis_param_type.gcpHMM
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
160 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
161 #if $analysis_param_type.max_alternate_alleles.__str__.strip() != '':
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
162 --max_alternate_alleles $analysis_param_type.max_alternate_alleles
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
163 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
164 ## mode selections
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
165 #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
166 --genotyping_mode $analysis_param_type.genotyping_mode
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
167 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
168 #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
169 --pair_hmm_implementation $analysis_param_type.pair_hmm_implementation
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
170 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
171 ## optional outputs
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
172 #if $analysis_param_type.activeRegionOut:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
173 --activeRegionOut $active_region_out
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
174 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
175 #if $analysis_param_type.graphOutput:
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
176 --graphOutput $graph_out
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
177 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
178 ## flags
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
179 $analysis_param_type.useAllelesTrigger
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
180 $analysis_param_type.fullHaplotype
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
181 $analysis_param_type.genotypeFullActiveRegion
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
182 $analysis_param_type.debug
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
183 '
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
184 #end if
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
185 </command>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
186 <inputs>
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
187 <param name="input_recal" type="data" format="gatk_report" optional="true" label="Covariates table recalibration file" help="-BQSR,--BQSR &amp;lt;recal_file&amp;gt;" >
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
188 <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
189 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
190 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
191 </help>
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 <conditional name="reference_source">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
194 <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
195 <option value="cached">Locally cached</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
196 <option value="history">History</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
197 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
198 <when value="cached">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
199 <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
200 <validator type="unspecified_build" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
201 <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
202 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
203 <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
204 <options from_data_table="gatk2_picard_indexes">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
205 <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
206 </options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
207 <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
208 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
209 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
210 <when value="history">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
211 <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
212 <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
213 <options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
214 <filter type="data_meta" key="dbkey" ref="input_bam" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
215 </options>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
216 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
217 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
218 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
219
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
220 <conditional name="gatk_param_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
221 <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
222 <option value="basic" selected="True">Basic</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
223 <option value="advanced">Advanced</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
224 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
225 <when value="basic">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
226 <!-- Do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
227 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
228 <when value="advanced">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
229 <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
230 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
231 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
232 <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
233 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
234 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
235 <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
236 <option value="STRICT" selected="True">STRICT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
237 <option value="SILENT">SILENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
238 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
239 <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
240 <conditional name="read_filter_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
241 <param name="read_filter_type_selector" type="select" label="Read Filter Type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
242 <option value="BadCigar">BadCigar</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
243 <option value="BadMate">BadMate</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
244 <option value="DuplicateRead">DuplicateRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
245 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
246 <option value="MalformedRead">MalformedRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
247 <option value="MappingQuality">MappingQuality</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
248 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
249 <option value="MappingQualityZero">MappingQualityZero</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
250 <option value="MateSameStrand">MateSameStrand</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
251 <option value="MaxInsertSize">MaxInsertSize</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
252 <option value="MaxReadLength" selected="True">MaxReadLength</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
253 <option value="MissingReadGroup">MissingReadGroup</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
254 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
255 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
256 <option value="Platform454">Platform454</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
257 <option value="Platform">Platform</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
258 <option value="PlatformUnit">PlatformUnit</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
259 <option value="ReadGroupBlackList">ReadGroupBlackList</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
260 <option value="ReadName">ReadName</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
261 <option value="ReadStrand">ReadStrand</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
262 <option value="ReassignMappingQuality">ReassignMappingQuality</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
263 <option value="Sample">Sample</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
264 <option value="SingleReadGroup">SingleReadGroup</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
265 <option value="UnmappedRead">UnmappedRead</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
266 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
267 <when value="BadCigar">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
268 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
269 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
270 <when value="BadMate">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
271 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
272 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
273 <when value="DuplicateRead">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
274 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
275 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
276 <when value="FailsVendorQualityCheck">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
277 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
278 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
279 <when value="MalformedRead">
35
a29c7d7d962d Fix default read filter screening
Jim Johnson <jj@umn.edu>
parents: 34
diff changeset
280 <param name="filter_mismatching_base_and_quals" type="boolean" truevalue="--filter_mismatching_base_and_quals" falsevalue="" checked="false" label="filter out the reads with mismatching number of bases and base qualities" help="filter out the mismatch reads instead of quitting with an error"/>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
281 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
282 <when value="MappingQuality">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
283 <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
284 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
285 <when value="MappingQualityUnavailable">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
286 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
287 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
288 <when value="MappingQualityZero">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
289 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
290 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
291 <when value="MateSameStrand">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
292 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
293 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
294 <when value="MaxInsertSize">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
295 <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
296 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
297 <when value="MaxReadLength">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
298 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
299 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
300 <when value="MissingReadGroup">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
301 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
302 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
303 <when value="NoOriginalQualityScores">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
304 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
305 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
306 <when value="NotPrimaryAlignment">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
307 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
308 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
309 <when value="Platform454">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
310 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
311 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
312 <when value="Platform">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
313 <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
314 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
315 <when value="PlatformUnit">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
316 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
317 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
318 <when value="ReadGroupBlackList">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
319 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
320 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
321 <when value="ReadName">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
322 <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
323 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
324 <when value="ReadStrand">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
325 <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
326 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
327 <when value="ReassignMappingQuality">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
328 <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
329 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
330 <when value="Sample">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
331 <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
332 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
333 <when value="SingleReadGroup">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
334 <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
335 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
336 <when value="UnmappedRead">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
337 <!-- no extra options -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
338 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
339 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
340 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
341 <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
342 <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
343 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
344 <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
345 <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
346 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
347
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
348 <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
349 <option value="UNION" selected="True">UNION</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
350 <option value="INTERSECTION">INTERSECTION</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
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
353 <conditional name="downsampling_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
354 <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
355 <option value="NONE" selected="True">NONE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
356 <option value="ALL_READS">ALL_READS</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
357 <option value="BY_SAMPLE">BY_SAMPLE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
358 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
359 <when value="NONE">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
360 <!-- no more options here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
361 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
362 <when value="ALL_READS">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
363 <conditional name="downsample_to_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
364 <param name="downsample_to_type_selector" type="select" label="Downsample method">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
365 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
366 <option value="downsample_to_coverage">Downsample by Coverage</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
367 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
368 <when value="downsample_to_fraction">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
369 <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
370 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
371 <when value="downsample_to_coverage">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
372 <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
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 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
376 <when value="BY_SAMPLE">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
377 <conditional name="downsample_to_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
378 <param name="downsample_to_type_selector" type="select" label="Downsample method">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
379 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
380 <option value="downsample_to_coverage">Downsample by Coverage</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
381 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
382 <when value="downsample_to_fraction">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
383 <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
384 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
385 <when value="downsample_to_coverage">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
386 <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
387 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
388 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
389 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
390 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
391 <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
392 <option value="OFF" selected="True">OFF</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
393 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
394 <option value="RECALCULATE">RECALCULATE</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
395 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
396 <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
397 <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
398 <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
399 <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
400 <option value="STRICT" selected="True">STRICT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
401 <option value="LENIENT">LENIENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
402 <option value="SILENT">SILENT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
403 <!-- <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
404 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
405 <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
406 <option value="ALL" selected="True">ALL</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
407 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
408 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
409
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
410 <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
411 <conditional name="read_group_black_list_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
412 <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
413 <option value="file" selected="True">Filters in file</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
414 <option value="text">Specify filters as a string</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
415 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
416 <when value="file">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
417 <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
418 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
419 <when value="text">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
420 <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
421 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
422 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
423 </repeat>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
424
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
425 <param name="non_deterministic_random_seed" type="boolean" truevalue="--nonDeterministicRandomSeed" falsevalue="" label="Makes the GATK behave non deterministically, that is, the random numbers generated will be different in every run" checked="False" help="-ndrs,--nonDeterministicRandomSeed"/>
18
7533db8dfb5b Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
426 <param name="fix_misencoded_quality_scores" type="boolean" truevalue="--fix_misencoded_quality_scores" falsevalue="" label="Fix mis-encoded base quality scores. Q0 == ASCII 33 according to the SAM specification, whereas Illumina encoding starts at Q64. The idea here is simple: we just iterate over all reads and subtract 31 from every quality score." checked="False" help="-fixMisencodedQuals / --fix_misencoded_quality_scores"/>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
427
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
428 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
429 </conditional>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
430
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
431 <conditional name="analysis_param_type">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
432 <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
433 <option value="basic" selected="True">Basic</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
434 <option value="advanced">Advanced</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
435 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
436 <when value="basic">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
437 <!-- Do nothing here -->
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
438 </when>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
439 <when value="advanced">
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
440
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
441 <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
442 <param name="activeRegionOut" type="boolean" checked="False" truevalue="" falsevalue="" label="activeRegionOut" help="--activeRegionOut / -ARO Output the active region to an interval list file"/>
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
443
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
444 <param name="annotation" type="select" multiple="True" display="checkboxes" label="Annotation Types" help="-A,--annotation &amp;lt;annotation&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
445 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
446 <options from_data_table="gatk2_annotations">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
447 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
448 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
449 </options>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
450 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
451 <repeat name="additional_annotations" title="Additional annotation" help="-A,--annotation &amp;lt;annotation&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
452 <param name="additional_annotation_name" type="text" value="" label="Annotation name" />
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
453 </repeat>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
454 <!--
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
455 <conditional name="snpEff_rod_bind_type">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
456 <param name="snpEff_rod_bind_type_selector" type="select" label="Provide a snpEff reference-ordered data file">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
457 <option value="set_snpEff">Set snpEff</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
458 <option value="exclude_snpEff" selected="True">Don't set snpEff</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
459 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
460 <when value="exclude_snpEff">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
461 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
462 <when value="set_snpEff">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
463 <param name="snpEff_input_rod" type="data" format="vcf" label="ROD file" />
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
464 <param name="snpEff_rod_name" type="hidden" value="snpEff" label="ROD Name"/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
465 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
466 </conditional>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
467 -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
468 <param name="group" type="select" multiple="True" display="checkboxes" label="Annotation Interfaces/Groups" help="-G,--group &amp;lt;group&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
469 <option value="RodRequiringAnnotation">RodRequiringAnnotation</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
470 <option value="Standard">Standard</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
471 <option value="Experimental">Experimental</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
472 <option value="WorkInProgress">WorkInProgress</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
473 <option value="RankSumTest">RankSumTest</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
474 <!-- <option value="none">none</option> -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
475 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
476 <!-- <param name="family_string" type="text" value="" label="Family String"/> -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
477 <param name="exclude_annotations" type="select" multiple="True" display="checkboxes" label="Annotations to exclude" help="-XA,--excludeAnnotation &amp;lt;excludeAnnotation&amp;gt;" >
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
478 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
479 <options from_data_table="gatk2_annotations">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
480 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
481 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
482 </options>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
483 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
484
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
485 <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
486 <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
487 <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
488 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
489 <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
490 <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
491 <param name="downsampleRegion" type="integer" value="1000" optional="true" label="downsampleRegion" help="--downsampleRegion / -dr coverage, per-sample, to downsample each active region to"/>
17
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
492
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
493 <conditional name="genotyping_mode_type">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
494 <param name="genotyping_mode" type="select" label="How to determine the alternate allele to use for genotyping" help="-gt_mode,--genotyping_mode &amp;lt;genotyping_mode&amp;gt;">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
495 <option value="DISCOVERY" selected="True">DISCOVERY</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
496 <option value="GENOTYPE_GIVEN_ALLELES">GENOTYPE_GIVEN_ALLELES</option>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
497 </param>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
498 <when value="DISCOVERY">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
499 <!-- Do nothing here -->
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
500 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
501 <when value="GENOTYPE_GIVEN_ALLELES">
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
502 <param name="input_alleles_rod" type="data" format="vcf" label="Alleles ROD file" help="-alleles,--alleles &amp;lt;alleles&amp;gt;" />
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
503 </when>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
504 </conditional>
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
505
f2b21dc45241 Many fixes to haplotype_caller
Jim Johnson <jj@umn.edu>
parents: 14
diff changeset
506
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
507 <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
508 <param name="heterozygosity" type="float" value="0.0010" optional="true" label="heterozygosity" help="--heterozygosity / -hets Heterozygosity value used to compute prior likelihoods for any locus"/>
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
509 <param name="minPruning" type="integer" value="1" optional="true" label="minPruning" help="--minPruning / -minPruning The minimum allowed pruning factor in assembly graph. Paths with &gt;= X supporting kmers are pruned from the graph">
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
510 <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
511 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
512 <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
513 <option value="EMIT_VARIANTS_ONLY" selected="True">EMIT_VARIANTS_ONLY</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
514 <option value="EMIT_ALL_CONFIDENT_SITES">EMIT_ALL_CONFIDENT_SITES</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
515 <option value="EMIT_ALL_SITES">EMIT_ALL_SITES</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
516 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
517 <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
518 <option value="EXACT">EXACT</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
519 <option value="ORIGINAL">ORIGINAL</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
520 <option value="CACHING">CACHING</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
521 <option value="LOGLESS_CACHING" selected="True">LOGLESS_CACHING</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
522 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
523 <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
524 <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
525 <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
526 <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
527 <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
528 <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
529 <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
530 <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
531 <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
532 <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
533 <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
534 <option value="EXACT_GENERAL_PLOIDY">implementation that supports any sample ploidy</option>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
535 </param>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
536
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
537 </when>
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
538 </conditional>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
539 </inputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
540 <outputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
541 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (VCF)" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
542 <data format="vcf" name="graph_out" label="${tool.name} on ${on_string} graph" >
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
543 <filter>analysis_param_type['analysis_param_type_selector'] == "advanced" and analysis_param_type['graphOutput'] == True</filter>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
544 </data>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
545 <data format="vcf" name="active_region_out" label="${tool.name} on ${on_string} activeRegion" >
13
da03516b528c Fix output filters
Jim Johnson <jj@umn.edu>
parents: 12
diff changeset
546 <filter>analysis_param_type['analysis_param_type_selector'] == "advanced" and analysis_param_type['activeRegionOut'] == True</filter>
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
547 </data>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
548 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
549 </outputs>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
550 <tests>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
551 <test>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
552 <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
553 <param name="reference_source_selector" value="history" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
554 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
555 <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
556 <param name="gatk_param_type_selector" value="basic" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
557 <param name="analysis_param_type_selector" value="basic" />
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
558 <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
559 <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
560 </test>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
561 </tests>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
562 <help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
563 **What it does**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
564
14
d73c92a7b0ea Remove unneeded params
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
565 **HaplotypeCaller**
d73c92a7b0ea Remove unneeded params
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
566 calls SNPs and indels simultaneously via local de-novo assembly of haplotypes in an active region.
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
567 Haplotypes are evaluated using an affine gap penalty Pair HMM.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
568
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
569 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
570
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
571 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
572
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
573 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
574
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
575 ------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
576
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
577 **Inputs**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
578
14
d73c92a7b0ea Remove unneeded params
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
579 GenomeAnalysisTK: PrintReads accepts aligned BAM files.
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
580
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
581
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
582 **Outputs**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
583
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
584 The output is a VCF file with raw, unrecalibrated SNP and indel calls.
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
585
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
586
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
587 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
588
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
589 -------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
590
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
591 **Settings**::
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
592
12
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
593 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
594 activeRegionOut Output the active region to this interval list file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
595 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
596 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
597 comp comparison VCF file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
598 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
599 dbsnp dbSNP file
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
600 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
601 downsampleRegion coverage, per-sample, to downsample each active region to
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
602 excludeAnnotation One or more specific annotations to exclude
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
603 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
604 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
605 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
606 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
607 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
608 output_mode Specifies which type of calls we should output
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
609 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
610 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
611 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
612 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
613 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
614 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
615 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
616 max_alternate_alleles Maximum number of alternate alleles to genotype
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
617 p_nonref_model Non-reference probability calculation model to employ
b40671bc73d5 Add help to HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
618
11
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
619 ------
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
620
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
621 **Citation**
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
622
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
623 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
624
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
625 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
626
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
627 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
628
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
629 </help>
5faf7ace8aee Add HaplotypeCaller
Jim Johnson <jj@umn.edu>
parents:
diff changeset
630 </tool>