annotate unified_genotyper.xml @ 0:66dd4d4c1743 draft default tip

Imported from capsule None
author devteam
date Tue, 01 Apr 2014 10:49:12 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="gatk_unified_genotyper" name="Unified Genotyper" version="0.0.6">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
2 <description>SNP and indel caller</description>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="1.4">gatk</requirement>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="0.1.18">samtools</requirement>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
7 <macros>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
8 <import>gatk_macros.xml</import>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
9 </macros>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
10 <command interpreter="python">gatk_wrapper.py
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
11 --max_jvm_heap_fraction "1"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
12 --stdout "${output_log}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
13 #for $i, $input_bam in enumerate( $reference_source.input_bams ):
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
14 -d "-I" "${input_bam.input_bam}" "${input_bam.input_bam.ext}" "gatk_input_${i}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
15 #if str( $input_bam.input_bam.metadata.bam_index ) != "None":
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
16 -d "" "${input_bam.input_bam.metadata.bam_index}" "bam_index" "gatk_input_${i}" ##hardcode galaxy ext type as bam_index
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
17 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
18 #end for
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
19 -p 'java
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
20 -jar "\$JAVA_JAR_PATH/GenomeAnalysisTK.jar"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
21 -T "UnifiedGenotyper"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
22 --num_threads \${GALAXY_SLOTS:-4}
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
23 --out "${output_vcf}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
24 --metrics_file "${output_metrics}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
25 -et "NO_ET" ##ET no phone home
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
26 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
27 #if $reference_source.reference_source_selector != "history":
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
28 -R "${reference_source.ref_file.fields.path}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
29 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
30 --genotype_likelihoods_model "${genotype_likelihoods_model}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
31 --standard_min_confidence_threshold_for_calling "${standard_min_confidence_threshold_for_calling}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
32 --standard_min_confidence_threshold_for_emitting "${standard_min_confidence_threshold_for_emitting}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
33 '
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
34 #set $rod_binding_names = dict()
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
35 #for $rod_binding in $rod_bind:
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
36 #if str( $rod_binding.rod_bind_type.rod_bind_type_selector ) == 'custom':
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
37 #set $rod_bind_name = $rod_binding.rod_bind_type.custom_rod_name
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
38 #else
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
39 #set $rod_bind_name = $rod_binding.rod_bind_type.rod_bind_type_selector
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
40 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
41 #set $rod_binding_names[$rod_bind_name] = $rod_binding_names.get( $rod_bind_name, -1 ) + 1
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
42 -d "--dbsnp:${rod_bind_name},%(file_type)s" "${rod_binding.rod_bind_type.input_rod}" "${rod_binding.rod_bind_type.input_rod.ext}" "input_${rod_bind_name}_${rod_binding_names[$rod_bind_name]}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
43 #end for
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
44
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
45 #include source=$standard_gatk_options#
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
46 ##start analysis specific options
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
47 #if $analysis_param_type.analysis_param_type_selector == "advanced":
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
48 -p '
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
49 --p_nonref_model "${analysis_param_type.p_nonref_model}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
50 --heterozygosity "${analysis_param_type.heterozygosity}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
51 --pcr_error_rate "${analysis_param_type.pcr_error_rate}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
52 --genotyping_mode "${analysis_param_type.genotyping_mode_type.genotyping_mode}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
53 #if str( $analysis_param_type.genotyping_mode_type.genotyping_mode ) == 'GENOTYPE_GIVEN_ALLELES':
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
54 --alleles "${analysis_param_type.genotyping_mode_type.input_alleles_rod}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
55 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
56 --output_mode "${analysis_param_type.output_mode}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
57 ${analysis_param_type.compute_SLOD}
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
58 --min_base_quality_score "${analysis_param_type.min_base_quality_score}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
59 --max_deletion_fraction "${analysis_param_type.max_deletion_fraction}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
60 --max_alternate_alleles "${analysis_param_type.max_alternate_alleles}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
61 --min_indel_count_for_genotyping "${analysis_param_type.min_indel_count_for_genotyping}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
62 --indel_heterozygosity "${analysis_param_type.indel_heterozygosity}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
63 --indelGapContinuationPenalty "${analysis_param_type.indelGapContinuationPenalty}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
64 --indelGapOpenPenalty "${analysis_param_type.indelGapOpenPenalty}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
65 --indelHaplotypeSize "${analysis_param_type.indelHaplotypeSize}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
66 ${analysis_param_type.doContextDependentGapPenalties}
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
67 #if str( $analysis_param_type.annotation ) != "None":
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
68 #for $annotation in str( $analysis_param_type.annotation.fields.gatk_value ).split( ','):
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
69 --annotation "${annotation}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
70 #end for
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
71 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
72 #for $additional_annotation in $analysis_param_type.additional_annotations:
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
73 --annotation "${additional_annotation.additional_annotation_name}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
74 #end for
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
75 #if str( $analysis_param_type.group ) != "None":
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
76 #for $group in str( $analysis_param_type.group ).split( ','):
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
77 --group "${group}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
78 #end for
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
79 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
80 #if str( $analysis_param_type.exclude_annotations ) != "None":
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
81 #for $annotation in str( $analysis_param_type.exclude_annotations.fields.gatk_value ).split( ','):
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
82 --excludeAnnotation "${annotation}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
83 #end for
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
84 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
85 ${analysis_param_type.multiallelic}
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
86 '
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
87 ## #if str( $analysis_param_type.snpEff_rod_bind_type.snpEff_rod_bind_type_selector ) == 'set_snpEff':
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
88 ## -p '--annotation "SnpEff"'
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
89 ## -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}"
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
90 ## #else:
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
91 ## -p '--excludeAnnotation "SnpEff"'
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
92 ## #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
93 #end if
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
94 </command>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
95 <inputs>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
96 <conditional name="reference_source">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
97 <expand macro="reference_source_selector_param" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
98 <when value="cached">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
99 <repeat name="input_bams" title="BAM file" min="1" help="-I,--input_file &amp;lt;input_file&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
100 <param name="input_bam" type="data" format="bam" label="BAM file">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
101 <validator type="unspecified_build" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
102 <validator type="dataset_metadata_in_data_table" table_name="gatk_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 -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
103 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
104 </repeat>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
105 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
106 <options from_data_table="gatk_picard_indexes">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
107 <!-- <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/> does not yet work in a repeat...-->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
108 </options>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
109 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
110 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
111 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
112 <when value="history"> <!-- FIX ME!!!! -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
113 <repeat name="input_bams" title="BAM file" min="1" help="-I,--input_file &amp;lt;input_file&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
114 <param name="input_bam" type="data" format="bam" label="BAM file" >
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
115 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
116 </repeat>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
117 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
118 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
119 </conditional>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
120
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
121 <repeat name="rod_bind" title="Binding for reference-ordered data" help="-D,--dbsnp &amp;lt;dbsnp&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
122 <conditional name="rod_bind_type">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
123 <param name="rod_bind_type_selector" type="select" label="Binding Type">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
124 <option value="dbsnp" selected="True">dbSNP</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
125 <option value="snps">SNPs</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
126 <option value="indels">INDELs</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
127 <option value="custom">Custom</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
128 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
129 <when value="dbsnp">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
130 <param name="input_rod" type="data" format="vcf" label="ROD file" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
131 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
132 <when value="snps">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
133 <param name="input_rod" type="data" format="vcf" label="ROD file" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
134 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
135 <when value="indels">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
136 <param name="input_rod" type="data" format="vcf" label="ROD file" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
137 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
138 <when value="custom">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
139 <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
140 <param name="input_rod" type="data" format="vcf" label="ROD file" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
141 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
142 </conditional>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
143 </repeat>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
144
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
145 <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;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
146 <option value="BOTH" selected="True">BOTH</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
147 <option value="SNP">SNP</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
148 <option value="INDEL">INDEL</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
149 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
150
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
151 <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;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
152 <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;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
153
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
154
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
155 <expand macro="gatk_param_type_conditional" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
156
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
157 <expand macro="analysis_type_conditional">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
158 <param name="p_nonref_model" type="select" label="Non-reference probability calculation model to employ" help="-pnrm,--p_nonref_model &amp;lt;p_nonref_model&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
159 <option value="EXACT" selected="True">EXACT</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
160 <option value="GRID_SEARCH">GRID_SEARCH</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
161 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
162 <param name="heterozygosity" type="float" value="1e-3" label="Heterozygosity value used to compute prior likelihoods for any locus" help="-hets,--heterozygosity &amp;lt;heterozygosity&amp;gt;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
163 <param name="pcr_error_rate" type="float" value="1e-4" label="The PCR error rate to be used for computing fragment-based likelihoods" help="-pcr_error,--pcr_error_rate &amp;lt;pcr_error_rate&amp;gt;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
164 <conditional name="genotyping_mode_type">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
165 <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;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
166 <option value="DISCOVERY" selected="True">DISCOVERY</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
167 <option value="GENOTYPE_GIVEN_ALLELES">GENOTYPE_GIVEN_ALLELES</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
168 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
169 <when value="DISCOVERY">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
170 <!-- Do nothing here -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
171 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
172 <when value="GENOTYPE_GIVEN_ALLELES">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
173 <param name="input_alleles_rod" type="data" format="vcf" label="Alleles ROD file" help="-alleles,--alleles &amp;lt;alleles&amp;gt;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
174 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
175 </conditional>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
176 <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;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
177 <option value="EMIT_VARIANTS_ONLY" selected="True">EMIT_VARIANTS_ONLY</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
178 <option value="EMIT_ALL_CONFIDENT_SITES">EMIT_ALL_CONFIDENT_SITES</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
179 <option value="EMIT_ALL_SITES">EMIT_ALL_SITES</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
180 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
181 <param name="compute_SLOD" type="boolean" truevalue="--computeSLOD" falsevalue="" label="Compute the SLOD" help="--computeSLOD" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
182 <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;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
183 <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;)" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
184 <param name="max_alternate_alleles" type="integer" value="5" label="Maximum number of alternate alleles to genotype" help="-maxAlleles,--max_alternate_alleles &amp;lt;max_alternate_alleles&amp;gt;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
185 <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;" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
186 <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;)"/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
187 <param name="indelGapContinuationPenalty" type="float" value="10.0" label="Indel gap continuation penalty" help="--indelGapContinuationPenalty" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
188 <param name="indelGapOpenPenalty" type="float" value="45.0" label="Indel gap open penalty" help="--indelGapOpenPenalty" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
189 <param name="indelHaplotypeSize" type="integer" value="80" label="Indel haplotype size" help="--indelHaplotypeSize" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
190 <param name="doContextDependentGapPenalties" type="boolean" truevalue="--doContextDependentGapPenalties" falsevalue="" label="Vary gap penalties by context" help="--doContextDependentGapPenalties" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
191 <param name="annotation" type="select" multiple="True" display="checkboxes" label="Annotation Types" help="-A,--annotation &amp;lt;annotation&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
192 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
193 <options from_data_table="gatk_annotations">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
194 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
195 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
196 </options>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
197 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
198 <repeat name="additional_annotations" title="Additional annotation" help="-A,--annotation &amp;lt;annotation&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
199 <param name="additional_annotation_name" type="text" value="" label="Annotation name" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
200 </repeat>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
201 <!--
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
202 <conditional name="snpEff_rod_bind_type">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
203 <param name="snpEff_rod_bind_type_selector" type="select" label="Provide a snpEff reference-ordered data file">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
204 <option value="set_snpEff">Set snpEff</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
205 <option value="exclude_snpEff" selected="True">Don't set snpEff</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
206 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
207 <when value="exclude_snpEff">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
208 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
209 <when value="set_snpEff">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
210 <param name="snpEff_input_rod" type="data" format="vcf" label="ROD file" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
211 <param name="snpEff_rod_name" type="hidden" value="snpEff" label="ROD Name"/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
212 </when>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
213 </conditional>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
214 -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
215 <param name="group" type="select" multiple="True" display="checkboxes" label="Annotation Interfaces/Groups" help="-G,--group &amp;lt;group&amp;gt;">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
216 <option value="RodRequiringAnnotation">RodRequiringAnnotation</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
217 <option value="Standard">Standard</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
218 <option value="Experimental">Experimental</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
219 <option value="WorkInProgress">WorkInProgress</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
220 <option value="RankSumTest">RankSumTest</option>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
221 <!-- <option value="none">none</option> -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
222 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
223 <!-- <param name="family_string" type="text" value="" label="Family String"/> -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
224 <param name="exclude_annotations" type="select" multiple="True" display="checkboxes" label="Annotations to exclude" help="-XA,--excludeAnnotation &amp;lt;excludeAnnotation&amp;gt;" >
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
225 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
226 <options from_data_table="gatk_annotations">
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
227 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
228 <filter type="static_value" value="UnifiedGenotyper" column="tools_valid_for"/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
229 </options>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
230 </param>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
231 <param name="multiallelic" type="boolean" truevalue="--multiallelic" falsevalue="" label="Allow the discovery of multiple alleles (SNPs only)" help="--multiallelic" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
232 </expand>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
233 </inputs>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
234 <outputs>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
235 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (VCF)" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
236 <data format="txt" name="output_metrics" label="${tool.name} on ${on_string} (metrics)" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
237 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
238 </outputs>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
239 <trackster_conf/>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
240 <tests>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
241 <test>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
242 <param name="reference_source_selector" value="history" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
243 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
244 <param name="input_bam" value="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.bam" ftype="bam" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
245 <param name="rod_bind_type_selector" value="dbsnp" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
246 <param name="input_rod" value="gatk/fake_phiX_variant_locations.vcf" ftype="vcf" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
247 <param name="standard_min_confidence_threshold_for_calling" value="0" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
248 <param name="standard_min_confidence_threshold_for_emitting" value="4" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
249 <param name="gatk_param_type_selector" value="basic" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
250 <param name="analysis_param_type_selector" value="advanced" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
251 <param name="genotype_likelihoods_model" value="BOTH" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
252 <param name="p_nonref_model" value="EXACT" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
253 <param name="heterozygosity" value="0.001" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
254 <param name="pcr_error_rate" value="0.0001" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
255 <param name="genotyping_mode" value="DISCOVERY" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
256 <param name="output_mode" value="EMIT_ALL_CONFIDENT_SITES" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
257 <param name="compute_SLOD" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
258 <param name="min_base_quality_score" value="17" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
259 <param name="max_deletion_fraction" value="-1" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
260 <param name="min_indel_count_for_genotyping" value="2" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
261 <param name="indel_heterozygosity" value="0.000125" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
262 <param name="indelGapContinuationPenalty" value="10" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
263 <param name="indelGapOpenPenalty" value="3" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
264 <param name="indelHaplotypeSize" value="80" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
265 <param name="doContextDependentGapPenalties" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
266 <!-- <param name="annotation" value="" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
267 <param name="group" value="" /> -->
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
268 <output name="output_vcf" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.vcf" lines_diff="4" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
269 <output name="output_metrics" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.metrics" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
270 <output name="output_log" file="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.log.contains" compare="contains" />
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
271 </test>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
272 </tests>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
273 <help>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
274 **What it does**
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
275
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
276 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.
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
277
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
278 For more information on the GATK Unified Genotyper, see this `tool specific page &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Unified_genotyper&gt;`_.
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
279
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
280 To learn about best practices for variant detection using GATK, see this `overview &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Best_Practice_Variant_Detection_with_the_GATK_v3&gt;`_.
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
281
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
282 If you encounter errors, please view the `GATK FAQ &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Frequently_Asked_Questions&gt;`_.
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
283
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
284 ------
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
285
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
286 **Inputs**
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
287
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
288 GenomeAnalysisTK: UnifiedGenotyper accepts an aligned BAM input file.
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
289
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
290
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
291 **Outputs**
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
292
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
293 The output is in VCF format.
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
294
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
295
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
296 Go `here &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Input_files_for_the_GATK&gt;`_ for details on GATK file formats.
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
297
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
298 -------
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
299
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
300 **Settings**::
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
301
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
302 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)
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
303 p_nonref_model Non-reference probability calculation model to employ -- EXACT is the default option, while GRID_SEARCH is also available. (EXACT|GRID_SEARCH)
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
304 heterozygosity Heterozygosity value used to compute prior likelihoods for any locus
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
305 pcr_error_rate The PCR error rate to be used for computing fragment-based likelihoods
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
306 genotyping_mode Should we output confident genotypes (i.e. including ref calls) or just the variants? (DISCOVERY|GENOTYPE_GIVEN_ALLELES)
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
307 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)
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
308 standard_min_confidence_threshold_for_calling The minimum phred-scaled confidence threshold at which variants not at 'trigger' track sites should be called
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
309 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)
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
310 noSLOD If provided, we will not calculate the SLOD
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
311 min_base_quality_score Minimum base quality required to consider a base for calling
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
312 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]
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
313 min_indel_count_for_genotyping Minimum number of consensus indels required to trigger genotyping run
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
314 indel_heterozygosity Heterozygosity for indel calling
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
315 indelGapContinuationPenalty Indel gap continuation penalty
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
316 indelGapOpenPenalty Indel gap open penalty
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
317 indelHaplotypeSize Indel haplotype size
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
318 doContextDependentGapPenalties Vary gap penalties by context
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
319 indel_recal_file Filename for the input covariates table recalibration .csv file - EXPERIMENTAL, DO NO USE
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
320 indelDebug Output indel debug info
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
321 out File to which variants should be written
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
322 annotation One or more specific annotations to apply to variant calls
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
323 group One or more classes/groups of annotations to apply to variant calls
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
324
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
325 @CITATION_SECTION@
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
326 </help>
66dd4d4c1743 Imported from capsule None
devteam
parents:
diff changeset
327 </tool>