annotate unified_genotyper.xml @ 15:01ff8dd37d4d draft default tip

Uploaded
author lz_hust
date Sat, 01 Jun 2019 07:20:41 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
1 <tool id="gatk2_unified_genotyper" name="Unified Genotyper" version="@VERSION@.2">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
2 <description>SNP and indel caller</description>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
3 <macros>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
4 <import>gatk2_macros.xml</import>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
5 </macros>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
6 <expand macro="requirements" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
7 <expand macro="version_command" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
8 <command interpreter="python">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
9 gatk2_wrapper.py
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
10 --stdout "${output_log}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
11 @BAM_INPUTS@
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
12 -p '
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
13 @JAR_PATH@
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
14 -T "UnifiedGenotyper"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
15 @THREADS@
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
16 --out "${output_vcf}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
17 --metrics_file "${output_metrics}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
18 \$GATK2_SITE_OPTIONS
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
19
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
20 ## according to http://www.broadinstitute.org/gatk/guide/article?id=1975
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
21 --num_cpu_threads_per_data_thread 1
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
22
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
23 #if $reference_source.reference_source_selector != "history":
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
24 -R "${reference_source.ref_file.fields.path}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
25 #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
26 --genotype_likelihoods_model "${genotype_likelihoods_model}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
27 --standard_min_confidence_threshold_for_calling "${standard_min_confidence_threshold_for_calling}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
28 --standard_min_confidence_threshold_for_emitting "${standard_min_confidence_threshold_for_emitting}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
29 '
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
30 @DBSNP_OPTIONS@
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
31 $allow_n_cigar_reads
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
32 #include source=$standard_gatk_options#
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
33 ##start analysis specific options
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
34 #if $analysis_param_type.analysis_param_type_selector == "advanced":
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
35 -p '
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
36 --heterozygosity "${analysis_param_type.heterozygosity}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
37 --pcr_error_rate "${analysis_param_type.pcr_error_rate}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
38 --genotyping_mode "${analysis_param_type.genotyping_mode_type.genotyping_mode}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
39 #if str( $analysis_param_type.genotyping_mode_type.genotyping_mode ) == 'GENOTYPE_GIVEN_ALLELES':
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
40 --alleles "${analysis_param_type.genotyping_mode_type.input_alleles_rod}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
41 #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
42 --output_mode "${analysis_param_type.output_mode}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
43 ${analysis_param_type.compute_SLOD}
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
44 --min_base_quality_score "${analysis_param_type.min_base_quality_score}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
45 --max_deletion_fraction "${analysis_param_type.max_deletion_fraction}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
46 --max_alternate_alleles "${analysis_param_type.max_alternate_alleles}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
47 --min_indel_count_for_genotyping "${analysis_param_type.min_indel_count_for_genotyping}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
48 --indel_heterozygosity "${analysis_param_type.indel_heterozygosity}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
49 --indelGapContinuationPenalty "${analysis_param_type.indelGapContinuationPenalty}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
50 --indelGapOpenPenalty "${analysis_param_type.indelGapOpenPenalty}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
51 --indelHaplotypeSize "${analysis_param_type.indelHaplotypeSize}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
52 ${analysis_param_type.doContextDependentGapPenalties}
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
53 #if str( $analysis_param_type.annotation ) != "None":
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
54 #for $annotation in str( $analysis_param_type.annotation.fields.gatk_value ).split( ','):
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
55 --annotation "${annotation}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
56 #end for
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
57 #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
58 #for $additional_annotation in $analysis_param_type.additional_annotations:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
59 --annotation "${additional_annotation.additional_annotation_name}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
60 #end for
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
61 #if str( $analysis_param_type.group ) != "None":
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
62 #for $group in str( $analysis_param_type.group ).split( ','):
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
63 --group "${group}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
64 #end for
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
65 #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
66 #if str( $analysis_param_type.exclude_annotations ) != "None":
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
67 #for $annotation in str( $analysis_param_type.exclude_annotations.fields.gatk_value ).split( ','):
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
68 --excludeAnnotation "${annotation}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
69 #end for
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
70 #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
71 #if str( $analysis_param_type.sample_ploidy ) != '':
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
72 --sample_ploidy "$analysis_param_type.sample_ploidy"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
73 #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
74 '
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
75 ## #if str( $analysis_param_type.snpEff_rod_bind_type.snpEff_rod_bind_type_selector ) == 'set_snpEff':
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
76 ## -p '--annotation "SnpEff"'
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
77 ## -d "--snpEffFile:${analysis_param_type.snpEff_rod_bind_type.snpEff_rod_name},%(file_type)s" "${analysis_param_type.snpEff_rod_bind_type.snpEff_input_rod}" "${analysis_param_type.snpEff_rod_bind_type.snpEff_input_rod.ext}" "input_snpEff_${analysis_param_type.snpEff_rod_bind_type.snpEff_rod_name}"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
78 ## #else:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
79 ## -p '--excludeAnnotation "SnpEff"'
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
80 ## #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
81 #end if
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
82 </command>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
83 <inputs>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
84 <conditional name="reference_source">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
85 <expand macro="reference_source_selector_param" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
86 <when value="cached">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
87 <expand macro="input_bams_cached" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
88 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
89 <options from_data_table="gatk2_picard_indexes">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
90 <!-- <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/> does not yet work in a repeat...-->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
91 </options>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
92 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
93 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
94 </when>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
95 <when value="history"> <!-- FIX ME!!!! -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
96 <expand macro="input_bams_history" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
97 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
98 </when>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
99 </conditional>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
100 <expand macro="dbsnp_param" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
101
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
102 <param name="genotype_likelihoods_model" type="select" label="Genotype likelihoods calculation model to employ" help="-glm,--genotype_likelihoods_model &amp;lt;genotype_likelihoods_model&amp;gt;">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
103 <option value="BOTH" selected="True">BOTH</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
104 <option value="SNP">SNP</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
105 <option value="INDEL">INDEL</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
106 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
107
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
108 <param name="standard_min_confidence_threshold_for_calling" type="float" value="30.0" label="The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be called" help="-stand_call_conf,--standard_min_confidence_threshold_for_calling &amp;lt;standard_min_confidence_threshold_for_calling&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
109 <param name="standard_min_confidence_threshold_for_emitting" type="float" value="30.0" label="The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be emitted (and filtered if less than the calling threshold)" help="-stand_emit_conf,--standard_min_confidence_threshold_for_emitting &amp;lt;standard_min_confidence_threshold_for_emitting&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
110
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
111 <expand macro="allow_n_cigar_reads" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
112 <expand macro="gatk_param_type_conditional" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
113
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
114 <expand macro="analysis_type_conditional">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
115 <param name="heterozygosity" type="float" value="1e-3" label="Heterozygosity value used to compute prior likelihoods for any locus"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
116 help="-hets,--heterozygosity &amp;lt;heterozygosity&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
117 <param name="pcr_error_rate" type="float" value="1e-4" label="The PCR error rate to be used for computing fragment-based likelihoods"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
118 help="-pcr_error,--pcr_error_rate &amp;lt;pcr_error_rate&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
119 <conditional name="genotyping_mode_type">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
120 <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;">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
121 <option value="DISCOVERY" selected="True">DISCOVERY</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
122 <option value="GENOTYPE_GIVEN_ALLELES">GENOTYPE_GIVEN_ALLELES</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
123 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
124 <when value="DISCOVERY">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
125 <!-- Do nothing here -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
126 </when>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
127 <when value="GENOTYPE_GIVEN_ALLELES">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
128 <param name="input_alleles_rod" type="data" format="vcf" label="Alleles ROD file" help="-alleles,--alleles &amp;lt;alleles&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
129 </when>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
130 </conditional>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
131 <param name="output_mode" type="select" label="Should we output confident genotypes (i.e. including ref calls) or just the variants?" help="-out_mode,--output_mode &amp;lt;output_mode&amp;gt;">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
132 <option value="EMIT_VARIANTS_ONLY" selected="True">EMIT_VARIANTS_ONLY</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
133 <option value="EMIT_ALL_CONFIDENT_SITES">EMIT_ALL_CONFIDENT_SITES</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
134 <option value="EMIT_ALL_SITES">EMIT_ALL_SITES</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
135 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
136 <param name="compute_SLOD" type="boolean" truevalue="--computeSLOD" falsevalue="" label="Compute the SLOD" help="--computeSLOD" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
137 <param name="min_base_quality_score" type="integer" value="17" label="Minimum base quality required to consider a base for calling" help="-mbq,--min_base_quality_score &amp;lt;min_base_quality_score&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
138 <param name="max_deletion_fraction" type="float" value="0.05" label="Maximum fraction of reads with deletions spanning this locus for it to be callable" help="to disable, set to &lt; 0 or &gt; 1 (-deletions,--max_deletion_fraction &amp;lt;max_deletion_fraction&amp;gt;)" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
139 <param name="max_alternate_alleles" type="integer" value="6" label="Maximum number of alternate alleles to genotype" help="-maxAlleles,--max_alternate_alleles &amp;lt;max_alternate_alleles&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
140 <param name="min_indel_count_for_genotyping" type="integer" value="5" label="Minimum number of consensus indels required to trigger genotyping run" help="-minIndelCnt,--min_indel_count_for_genotyping &amp;lt;min_indel_count_for_genotyping&amp;gt;" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
141 <param name="indel_heterozygosity" type="float" value="0.000125" label="Heterozygosity for indel calling" help="1.0/8000==0.000125 (-indelHeterozygosity,--indel_heterozygosity &amp;lt;indel_heterozygosity&amp;gt;)"/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
142 <param name="indelGapContinuationPenalty" type="integer" value="10" label="Indel gap continuation penalty" help="As Phred-scaled probability, i.e. 30 => 10^-30/10 (--indelGapContinuationPenalty)">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
143 <validator type="in_range" message="value between 0 and 255" min="0" max="255" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
144 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
145 <param name="indelGapOpenPenalty" type="integer" value="45" label="Indel gap open penalty" help="As Phred-scaled probability, i.e. 30 => 10^-30/10 (--indelGapOpenPenalty)">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
146 <validator type="in_range" message="value between 0 and 255" min="0" max="255" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
147 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
148 <!-- indelHaplotypeSize - Gone in GATK 2.4? -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
149 <param name="indelHaplotypeSize" type="integer" value="80" label="Indel haplotype size" help="--indelHaplotypeSize" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
150 <param name="doContextDependentGapPenalties" type="boolean" truevalue="--doContextDependentGapPenalties" falsevalue="" label="Vary gap penalties by context" help="--doContextDependentGapPenalties" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
151 <param name="annotation" type="select" multiple="True" display="checkboxes" label="Annotation Types" help="-A,--annotation &amp;lt;annotation&amp;gt;">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
152 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
153 <options from_data_table="gatk2_annotations">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
154 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
155 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
156 </options>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
157 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
158 <repeat name="additional_annotations" title="Additional annotation" help="-A,--annotation &amp;lt;annotation&amp;gt;">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
159 <param name="additional_annotation_name" type="text" value="" label="Annotation name" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
160 </repeat>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
161 <!--
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
162 <conditional name="snpEff_rod_bind_type">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
163 <param name="snpEff_rod_bind_type_selector" type="select" label="Provide a snpEff reference-ordered data file">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
164 <option value="set_snpEff">Set snpEff</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
165 <option value="exclude_snpEff" selected="True">Don't set snpEff</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
166 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
167 <when value="exclude_snpEff">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
168 </when>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
169 <when value="set_snpEff">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
170 <param name="snpEff_input_rod" type="data" format="vcf" label="ROD file" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
171 <param name="snpEff_rod_name" type="hidden" value="snpEff" label="ROD Name"/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
172 </when>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
173 </conditional>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
174 -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
175 <param name="group" type="select" multiple="True" display="checkboxes" label="Annotation Interfaces/Groups" help="-G,--group &amp;lt;group&amp;gt;">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
176 <option value="RodRequiringAnnotation">RodRequiringAnnotation</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
177 <option value="Standard">Standard</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
178 <option value="Experimental">Experimental</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
179 <option value="WorkInProgress">WorkInProgress</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
180 <option value="RankSumTest">RankSumTest</option>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
181 <!-- <option value="none">none</option> -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
182 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
183 <!-- <param name="family_string" type="text" value="" label="Family String"/> -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
184 <param name="exclude_annotations" type="select" multiple="True" display="checkboxes" label="Annotations to exclude"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
185 help="-XA,--excludeAnnotation &amp;lt;excludeAnnotation&amp;gt;" >
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
186 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
187 <options from_data_table="gatk2_annotations">
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
188 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
189 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
190 </options>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
191 </param>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
192 <param name="sample_ploidy" type="integer" value="2"
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
193 label="Ploidy (number of chromosomes) per sample. For pooled data, set to (Number of samples in each pool * Sample Ploidy)" help="-ploidy,--sample_ploidy" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
194 </expand>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
195 </inputs>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
196 <outputs>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
197 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (VCF)" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
198 <data format="txt" name="output_metrics" label="${tool.name} on ${on_string} (metrics)" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
199 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
200 </outputs>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
201 <trackster_conf/>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
202 <tests>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
203 <test>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
204 <param name="reference_source_selector" value="history" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
205 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
206 <param name="input_bam" value="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.bam" ftype="bam" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
207 <param name="dbsnp_rod_bind_type_selector" value="set_dbsnp" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
208 <param name="dbsnp_input_rod" value="gatk/fake_phiX_variant_locations.vcf" ftype="vcf" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
209 <param name="dbsnp_rod_name" value="dbsnp" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
210 <param name="standard_min_confidence_threshold_for_calling" value="0" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
211 <param name="standard_min_confidence_threshold_for_emitting" value="4" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
212 <param name="gatk_param_type_selector" value="basic" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
213 <param name="analysis_param_type_selector" value="advanced" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
214 <param name="genotype_likelihoods_model" value="BOTH" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
215 <param name="heterozygosity" value="0.001" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
216 <param name="pcr_error_rate" value="0.0001" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
217 <param name="genotyping_mode" value="DISCOVERY" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
218 <param name="output_mode" value="EMIT_ALL_CONFIDENT_SITES" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
219 <param name="compute_SLOD" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
220 <param name="min_base_quality_score" value="17" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
221 <param name="max_deletion_fraction" value="-1" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
222 <param name="min_indel_count_for_genotyping" value="2" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
223 <param name="indel_heterozygosity" value="0.000125" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
224 <param name="indelGapContinuationPenalty" value="10" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
225 <param name="indelGapOpenPenalty" value="3" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
226 <param name="indelHaplotypeSize" value="80" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
227 <param name="doContextDependentGapPenalties" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
228 <!-- <param name="annotation" value="" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
229 <param name="group" value="" /> -->
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
230 <output name="output_vcf" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.vcf" lines_diff="4" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
231 <output name="output_metrics" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.metrics" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
232 <output name="output_log" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.log.contains" compare="contains" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
233 </test>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
234 </tests>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
235 <help>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
236 **What it does**
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
237
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
238 A variant caller which unifies the approaches of several disparate callers. Works for single-sample and multi-sample data. The user can choose from several different incorporated calculation models.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
239
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
240 For more information on the GATK Unified Genotyper, see this `tool specific page &lt;http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_genotyper_UnifiedGenotyper.html&gt;`_.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
241
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
242 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;`_.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
243
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
244 If you encounter errors, please view the `GATK FAQ &lt;http://www.broadinstitute.org/gatk/guide/topic?name=faqs&gt;`_.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
245
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
246 ------
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
247
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
248 **Inputs**
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
249
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
250 GenomeAnalysisTK: UnifiedGenotyper accepts an aligned BAM input file.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
251
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
252
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
253 **Outputs**
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
254
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
255 The output is in VCF format.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
256
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
257
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
258 Go `here &lt;http://www.broadinstitute.org/gatk/guide/topic?name=intro&gt;`_ for details on GATK file formats.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
259
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
260 -------
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
261
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
262 **Settings**::
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
263
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
264 genotype_likelihoods_model Genotype likelihoods calculation model to employ -- BOTH is the default option, while INDEL is also available for calling indels and SNP is available for calling SNPs only (SNP|INDEL|BOTH)
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
265 heterozygosity Heterozygosity value used to compute prior likelihoods for any locus
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
266 pcr_error_rate The PCR error rate to be used for computing fragment-based likelihoods
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
267 genotyping_mode Should we output confident genotypes (i.e. including ref calls) or just the variants? (DISCOVERY|GENOTYPE_GIVEN_ALLELES)
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
268 output_mode Should we output confident genotypes (i.e. including ref calls) or just the variants? (EMIT_VARIANTS_ONLY|EMIT_ALL_CONFIDENT_SITES|EMIT_ALL_SITES)
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
269 standard_min_confidence_threshold_for_calling The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be called
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
270 standard_min_confidence_threshold_for_emitting The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be emitted (and filtered if less than the calling threshold)
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
271 noSLOD If provided, we will not calculate the SLOD
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
272 min_base_quality_score Minimum base quality required to consider a base for calling
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
273 max_deletion_fraction Maximum fraction of reads with deletions spanning this locus for it to be callable [to disable, set to &lt; 0 or &gt; 1; default:0.05]
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
274 min_indel_count_for_genotyping Minimum number of consensus indels required to trigger genotyping run
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
275 indel_heterozygosity Heterozygosity for indel calling
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
276 indelGapContinuationPenalty Indel gap continuation penalty
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
277 indelGapOpenPenalty Indel gap open penalty
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
278 indelHaplotypeSize Indel haplotype size
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
279 doContextDependentGapPenalties Vary gap penalties by context
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
280 indel_recal_file Filename for the input covariates table recalibration .csv file - EXPERIMENTAL, DO NO USE
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
281 indelDebug Output indel debug info
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
282 out File to which variants should be written
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
283 annotation One or more specific annotations to apply to variant calls
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
284 group One or more classes/groups of annotations to apply to variant calls
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
285
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
286 @CITATION_SECTION@
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
287 </help>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
288 <expand macro="citations" />
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
289 </tool>