annotate variant_annotator.xml @ 0:340633249b3d draft

Uploaded
author bgruening
date Mon, 02 Dec 2013 06:18:36 -0500
parents
children 8bcc13094767
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
1 <tool id="gatk2_variant_annotator" name="Variant Annotator" version="0.0.7">
340633249b3d Uploaded
bgruening
parents:
diff changeset
2 <description></description>
340633249b3d Uploaded
bgruening
parents:
diff changeset
3 <expand macro="requirements" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
4 <macros>
340633249b3d Uploaded
bgruening
parents:
diff changeset
5 <import>gatk2_macros.xml</import>
340633249b3d Uploaded
bgruening
parents:
diff changeset
6 </macros>
340633249b3d Uploaded
bgruening
parents:
diff changeset
7 <command interpreter="python">
340633249b3d Uploaded
bgruening
parents:
diff changeset
8 gatk2_wrapper.py
340633249b3d Uploaded
bgruening
parents:
diff changeset
9 --stdout "${output_log}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
10 #if str( $reference_source.input_bam ) != "None":
340633249b3d Uploaded
bgruening
parents:
diff changeset
11 -d "-I" "${reference_source.input_bam}" "${reference_source.input_bam.ext}" "gatk_input"
340633249b3d Uploaded
bgruening
parents:
diff changeset
12 #if str( $reference_source.input_bam.metadata.bam_index ) != "None":
340633249b3d Uploaded
bgruening
parents:
diff changeset
13 -d "" "${reference_source.input_bam.metadata.bam_index}" "bam_index" "gatk_input" ##hardcode galaxy ext type as bam_index
340633249b3d Uploaded
bgruening
parents:
diff changeset
14 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
15 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
16 -d "--variant" "${reference_source.input_variant}" "${reference_source.input_variant.ext}" "input_variant"
340633249b3d Uploaded
bgruening
parents:
diff changeset
17 -p '
340633249b3d Uploaded
bgruening
parents:
diff changeset
18 @JAR_PATH@
340633249b3d Uploaded
bgruening
parents:
diff changeset
19 -T "VariantAnnotator"
340633249b3d Uploaded
bgruening
parents:
diff changeset
20 \$GATK2_SITE_OPTIONS
340633249b3d Uploaded
bgruening
parents:
diff changeset
21
340633249b3d Uploaded
bgruening
parents:
diff changeset
22 @THREADS@
340633249b3d Uploaded
bgruening
parents:
diff changeset
23
340633249b3d Uploaded
bgruening
parents:
diff changeset
24 #if $reference_source.reference_source_selector != "history":
340633249b3d Uploaded
bgruening
parents:
diff changeset
25 -R "${reference_source.ref_file.fields.path}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
26 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
27 -o "${output_vcf}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
28 #if str( $annotations_type.annotations_type_selector ) == "use_all_annotations":
340633249b3d Uploaded
bgruening
parents:
diff changeset
29 --useAllAnnotations
340633249b3d Uploaded
bgruening
parents:
diff changeset
30 #else:
340633249b3d Uploaded
bgruening
parents:
diff changeset
31 #if $annotations_type.annotations:
340633249b3d Uploaded
bgruening
parents:
diff changeset
32 #for $annotation in str( $annotations_type.annotations.fields.gatk_value ).split( ',' ):
340633249b3d Uploaded
bgruening
parents:
diff changeset
33 --annotation "${annotation}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
34 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
35 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
36 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
37 #if $exclude_annotations:
340633249b3d Uploaded
bgruening
parents:
diff changeset
38 #for $annotation in str( $exclude_annotations.fields.gatk_value ).split( ',' ):
340633249b3d Uploaded
bgruening
parents:
diff changeset
39 --excludeAnnotation "${annotation}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
40 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
41 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
42 #for $additional_annotation in $additional_annotations:
340633249b3d Uploaded
bgruening
parents:
diff changeset
43 --annotation "${additional_annotation.additional_annotation_name}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
44 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
45 '
340633249b3d Uploaded
bgruening
parents:
diff changeset
46 #if $reference_source.input_variant_bti:
340633249b3d Uploaded
bgruening
parents:
diff changeset
47 -d "--intervals" "${reference_source.input_variant}" "${reference_source.input_variant.ext}" "input_variant_bti"
340633249b3d Uploaded
bgruening
parents:
diff changeset
48 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
49
340633249b3d Uploaded
bgruening
parents:
diff changeset
50 #for $rod_binding in $comp_rod_bind:
340633249b3d Uploaded
bgruening
parents:
diff changeset
51 -d "--comp:${rod_binding.comp_rod_name},%(file_type)s" "${rod_binding.comp_input_rod}" "${rod_binding.comp_input_rod.ext}" "input_comp_${rod_binding.comp_rod_name}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
52 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
53
340633249b3d Uploaded
bgruening
parents:
diff changeset
54 #if str( $dbsnp_rod_bind_type.dbsnp_rod_bind_type_selector ) == 'set_dbsnp':
340633249b3d Uploaded
bgruening
parents:
diff changeset
55 -d "--dbsnp:${dbsnp_rod_bind_type.dbsnp_rod_name},%(file_type)s" "${dbsnp_rod_bind_type.dbsnp_input_rod}" "${dbsnp_rod_bind_type.dbsnp_input_rod.ext}" "input_dbsnp_${dbsnp_rod_bind_type.dbsnp_rod_name}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
56 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
57
340633249b3d Uploaded
bgruening
parents:
diff changeset
58
340633249b3d Uploaded
bgruening
parents:
diff changeset
59 #for $rod_binding in $resource_rod_bind:
340633249b3d Uploaded
bgruening
parents:
diff changeset
60 -d "--resource:${rod_binding.resource_rod_name},%(file_type)s" "${rod_binding.resource_input_rod}" "${rod_binding.resource_input_rod.ext}" "input_resource_${rod_binding.resource_rod_name}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
61 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
62
340633249b3d Uploaded
bgruening
parents:
diff changeset
63 #if str( $snpEff_rod_bind_type.snpEff_rod_bind_type_selector ) == 'set_snpEff':
340633249b3d Uploaded
bgruening
parents:
diff changeset
64 -p '--annotation "SnpEff"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
65 -d "--snpEffFile:${snpEff_rod_bind_type.snpEff_rod_name},%(file_type)s" "${snpEff_rod_bind_type.snpEff_input_rod}" "${snpEff_rod_bind_type.snpEff_input_rod.ext}" "input_snpEff_${snpEff_rod_bind_type.snpEff_rod_name}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
66 #else:
340633249b3d Uploaded
bgruening
parents:
diff changeset
67 -p '--excludeAnnotation "SnpEff"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
68 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
69
340633249b3d Uploaded
bgruening
parents:
diff changeset
70 #for $expression in $expressions:
340633249b3d Uploaded
bgruening
parents:
diff changeset
71 -p '--expression "${expression.expression}"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
72 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
73
340633249b3d Uploaded
bgruening
parents:
diff changeset
74 #include source=$standard_gatk_options#
340633249b3d Uploaded
bgruening
parents:
diff changeset
75
340633249b3d Uploaded
bgruening
parents:
diff changeset
76 -p '
340633249b3d Uploaded
bgruening
parents:
diff changeset
77 #if str( $annotation_group ) != "None":
340633249b3d Uploaded
bgruening
parents:
diff changeset
78 #for $group in str( $annotation_group ).split( ',' ):
340633249b3d Uploaded
bgruening
parents:
diff changeset
79 --group "${group}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
80 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
81 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
82 #if str( $family_string ) != "":
340633249b3d Uploaded
bgruening
parents:
diff changeset
83 --family_string "${family_string}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
84 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
85 --MendelViolationGenotypeQualityThreshold "${mendel_violation_genotype_quality_threshold}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
86 '
340633249b3d Uploaded
bgruening
parents:
diff changeset
87 </command>
340633249b3d Uploaded
bgruening
parents:
diff changeset
88 <inputs>
340633249b3d Uploaded
bgruening
parents:
diff changeset
89 <conditional name="reference_source">
340633249b3d Uploaded
bgruening
parents:
diff changeset
90 <expand macro="reference_source_selector_param" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
91 <when value="cached">
340633249b3d Uploaded
bgruening
parents:
diff changeset
92 <param name="input_variant" type="data" format="vcf" label="Variant file to annotate" help="-V,--variant &amp;lt;variant&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
93 <param name="input_variant_bti" type="boolean" truevalue="-BTI variant" falsevalue="" label="Increase efficiency for small variant files." help="-BTI variant"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
94 <param name="input_bam" type="data" format="bam" label="BAM file" optional="True" help="Not needed for all annotations. (-I,--input_file &amp;lt;input_file&amp;gt;)" >
340633249b3d Uploaded
bgruening
parents:
diff changeset
95 <validator type="unspecified_build" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
96 <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 -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
97 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
98 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
99 <options from_data_table="gatk2_picard_indexes">
340633249b3d Uploaded
bgruening
parents:
diff changeset
100 <filter type="data_meta" key="dbkey" ref="input_variant" column="dbkey"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
101 </options>
340633249b3d Uploaded
bgruening
parents:
diff changeset
102 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
103 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
104 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
105 <when value="history"> <!-- FIX ME!!!! -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
106 <param name="input_variant" type="data" format="vcf" label="Variant file to annotate" help="-V,--variant &amp;lt;variant&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
107 <param name="input_variant_bti" type="boolean" truevalue="-BTI variant" falsevalue="" label="Increase efficiency for small variant files." help="-BTI variant"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
108 <param name="input_bam" type="data" format="bam" label="BAM file" optional="True" help="Not needed for all annotations. (-I,--input_file &amp;lt;input_file&amp;gt;)" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
109 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
110 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
111 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
112 <conditional name="annotations_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
113 <param name="annotations_type_selector" type="select" label="Use all possible annotations">
340633249b3d Uploaded
bgruening
parents:
diff changeset
114 <option value="use_all_annotations">Use all</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
115 <option value="choose" selected="True">Use selected</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
116 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
117 <when value="use_all_annotations">
340633249b3d Uploaded
bgruening
parents:
diff changeset
118 <!-- no extra options here -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
119 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
120 <when value="choose">
340633249b3d Uploaded
bgruening
parents:
diff changeset
121 <param name="annotations" type="select" multiple="True" display="checkboxes" label="Annotations to apply" help="-A,--annotation &amp;lt;annotation&amp;gt;" >
340633249b3d Uploaded
bgruening
parents:
diff changeset
122 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
123 <options from_data_table="gatk2_annotations">
340633249b3d Uploaded
bgruening
parents:
diff changeset
124 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
125 <filter type="static_value" value="VariantAnnotator" column="tools_valid_for"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
126 </options>
340633249b3d Uploaded
bgruening
parents:
diff changeset
127 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
128 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
129 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
130
340633249b3d Uploaded
bgruening
parents:
diff changeset
131 <repeat name="additional_annotations" title="Additional annotation" help="-A,--annotation &amp;lt;annotation&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
132 <param name="additional_annotation_name" type="text" value="" label="Annotation name" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
133 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
134
340633249b3d Uploaded
bgruening
parents:
diff changeset
135 <repeat name="comp_rod_bind" title="Binding for reference-ordered comparison data" help="-comp,--comp &amp;lt;comp&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
136 <param name="comp_input_rod" type="data" format="vcf" label="ROD file" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
137 <param name="comp_rod_name" type="text" value="Unnamed" label="ROD Name"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
138 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
139
340633249b3d Uploaded
bgruening
parents:
diff changeset
140 <conditional name="dbsnp_rod_bind_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
141 <param name="dbsnp_rod_bind_type_selector" type="select" label="Provide a dbSNP reference-ordered data file" help="-D,--dbsnp &amp;lt;dbsnp&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
142 <option value="set_dbsnp" selected="True">Set dbSNP</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
143 <option value="exclude_dbsnp">Don't set dbSNP</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
144 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
145 <when value="exclude_dbsnp">
340633249b3d Uploaded
bgruening
parents:
diff changeset
146 <!-- Do nothing here -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
147 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
148 <when value="set_dbsnp">
340633249b3d Uploaded
bgruening
parents:
diff changeset
149 <param name="dbsnp_input_rod" type="data" format="vcf" label="ROD file" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
150 <param name="dbsnp_rod_name" type="hidden" value="dbsnp" label="ROD Name"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
151 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
152 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
153
340633249b3d Uploaded
bgruening
parents:
diff changeset
154 <repeat name="resource_rod_bind" title="Binding for reference-ordered resource data" help="-resource,--resource &amp;lt;resource&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
155 <param name="resource_input_rod" type="data" format="vcf" label="ROD file" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
156 <param name="resource_rod_name" type="text" value="Unnamed" label="ROD Name"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
157 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
158
340633249b3d Uploaded
bgruening
parents:
diff changeset
159 <conditional name="snpEff_rod_bind_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
160 <param name="snpEff_rod_bind_type_selector" type="select" label="Provide a snpEff reference-ordered data file (VCF)" help="-snpEffFile,--snpEffFile &amp;lt;snpEffFile&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
161 <option value="set_snpEff">Set snpEff</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
162 <option value="exclude_snpEff" selected="True">Don't set snpEff</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
163 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
164 <when value="exclude_snpEff">
340633249b3d Uploaded
bgruening
parents:
diff changeset
165 <!-- Do nothing here -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
166 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
167 <when value="set_snpEff">
340633249b3d Uploaded
bgruening
parents:
diff changeset
168 <param name="snpEff_input_rod" type="data" format="vcf" label="ROD file" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
169 <param name="snpEff_rod_name" type="hidden" value="snpEff" label="ROD Name"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
170 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
171 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
172
340633249b3d Uploaded
bgruening
parents:
diff changeset
173 <repeat name="expressions" title="Expression" help="-E,--expression &amp;lt;expression&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
174 <param name="expression" type="text" value="" label="Expression"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
175 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
176
340633249b3d Uploaded
bgruening
parents:
diff changeset
177 <expand macro="gatk_param_type_conditional" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
178
340633249b3d Uploaded
bgruening
parents:
diff changeset
179 <param name="annotation_group" type="select" multiple="True" display="checkboxes" label="annotation interfaces/groups to apply to variant calls" help="-G,--group &amp;lt;group&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
180 <option value="RodRequiringAnnotation">RodRequiringAnnotation</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
181 <option value="Standard">Standard</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
182 <option value="Experimental">Experimental</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
183 <option value="WorkInProgress">WorkInProgress</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
184 <option value="RankSumTest">RankSumTest</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
185 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
186 <param name="family_string" type="text" value="" label="Family String" help="--family_string"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
187 <param name="mendel_violation_genotype_quality_threshold" type="float" value="0.0" label="genotype quality treshold in order to annotate mendelian violation ratio." help="-mvq,--MendelViolationGenotypeQualityThreshold &amp;lt;MendelViolationGenotypeQualityThreshold&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
188 <param name="exclude_annotations" type="select" multiple="True" display="checkboxes" label="Annotations to exclude" help="-XA,--excludeAnnotation &amp;lt;excludeAnnotation&amp;gt;" >
340633249b3d Uploaded
bgruening
parents:
diff changeset
189 <!-- load the available annotations from an external configuration file, since additional ones can be added to local installs -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
190 <options from_data_table="gatk2_annotations">
340633249b3d Uploaded
bgruening
parents:
diff changeset
191 <filter type="multiple_splitter" column="tools_valid_for" separator=","/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
192 <filter type="static_value" value="VariantAnnotator" column="tools_valid_for"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
193 </options>
340633249b3d Uploaded
bgruening
parents:
diff changeset
194 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
195
340633249b3d Uploaded
bgruening
parents:
diff changeset
196 </inputs>
340633249b3d Uploaded
bgruening
parents:
diff changeset
197 <outputs>
340633249b3d Uploaded
bgruening
parents:
diff changeset
198 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (Variant File)" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
199 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
200 </outputs>
340633249b3d Uploaded
bgruening
parents:
diff changeset
201 <tests>
340633249b3d Uploaded
bgruening
parents:
diff changeset
202 <test>
340633249b3d Uploaded
bgruening
parents:
diff changeset
203 <param name="reference_source_selector" value="history" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
204 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
205 <param name="input_bam" value="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.bam" ftype="bam" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
206 <param name="input_variant" value="gatk/gatk_unified_genotyper/gatk_unified_genotyper_out_1.vcf" ftype="vcf" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
207 <param name="input_variant_bti" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
208 <param name="annotations_type_selector" value="choose" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
209 <param name="annotations" value="AlleleBalance,BaseQualityRankSumTest,DepthOfCoverage,HomopolymerRun,MappingQualityRankSumTest,MappingQualityZero,QualByDepth,RMSMappingQuality,SpanningDeletions,HaplotypeScore" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
210 <param name="additional_annotations" value="0" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
211 <param name="dbsnp_rod_bind_type_selector" value="set_dbsnp" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
212 <param name="dbsnp_input_rod" value="gatk/fake_phiX_variant_locations.vcf" ftype="vcf" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
213 <param name="snpEff_rod_bind_type_selector" value="exclude_snpEff" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
214 <param name="gatk_param_type_selector" value="basic" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
215 <output name="output_vcf" file="gatk/gatk_variant_annotator/gatk_variant_annotator_out_1.vcf" lines_diff="4" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
216 <output name="output_log" file="gatk/gatk_variant_annotator/gatk_variant_annotator_out_1.log.contains" compare="contains" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
217 <param name="comp_rod_bind" value="0" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
218 <param name="resource_rod_bind" value="0" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
219 <param name="expressions" value="0" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
220 <!-- <param name="annotation_group" /> -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
221 </test>
340633249b3d Uploaded
bgruening
parents:
diff changeset
222 </tests>
340633249b3d Uploaded
bgruening
parents:
diff changeset
223 <help>
340633249b3d Uploaded
bgruening
parents:
diff changeset
224 **What it does**
340633249b3d Uploaded
bgruening
parents:
diff changeset
225
340633249b3d Uploaded
bgruening
parents:
diff changeset
226 Annotates variant calls with context information. Users can specify which of the available annotations to use.
340633249b3d Uploaded
bgruening
parents:
diff changeset
227
340633249b3d Uploaded
bgruening
parents:
diff changeset
228 For more information on using the VariantAnnotator, see this `tool specific page &lt;http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_annotator_VariantAnnotator.html&gt;`_.
340633249b3d Uploaded
bgruening
parents:
diff changeset
229
340633249b3d Uploaded
bgruening
parents:
diff changeset
230 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;`_.
340633249b3d Uploaded
bgruening
parents:
diff changeset
231
340633249b3d Uploaded
bgruening
parents:
diff changeset
232 If you encounter errors, please view the `GATK FAQ &lt;http://www.broadinstitute.org/gatk/guide/topic?name=faqs&gt;`_.
340633249b3d Uploaded
bgruening
parents:
diff changeset
233
340633249b3d Uploaded
bgruening
parents:
diff changeset
234 ------
340633249b3d Uploaded
bgruening
parents:
diff changeset
235
340633249b3d Uploaded
bgruening
parents:
diff changeset
236
340633249b3d Uploaded
bgruening
parents:
diff changeset
237 **Inputs**
340633249b3d Uploaded
bgruening
parents:
diff changeset
238
340633249b3d Uploaded
bgruening
parents:
diff changeset
239 GenomeAnalysisTK: VariantAnnotator accepts a variant input file.
340633249b3d Uploaded
bgruening
parents:
diff changeset
240
340633249b3d Uploaded
bgruening
parents:
diff changeset
241
340633249b3d Uploaded
bgruening
parents:
diff changeset
242 **Outputs**
340633249b3d Uploaded
bgruening
parents:
diff changeset
243
340633249b3d Uploaded
bgruening
parents:
diff changeset
244 The output is in VCF format.
340633249b3d Uploaded
bgruening
parents:
diff changeset
245
340633249b3d Uploaded
bgruening
parents:
diff changeset
246
340633249b3d Uploaded
bgruening
parents:
diff changeset
247 Go `here &lt;http://www.broadinstitute.org/gatk/guide/topic?name=intro&gt;`_ for details on GATK file formats.
340633249b3d Uploaded
bgruening
parents:
diff changeset
248
340633249b3d Uploaded
bgruening
parents:
diff changeset
249 -------
340633249b3d Uploaded
bgruening
parents:
diff changeset
250
340633249b3d Uploaded
bgruening
parents:
diff changeset
251 **Settings**::
340633249b3d Uploaded
bgruening
parents:
diff changeset
252
340633249b3d Uploaded
bgruening
parents:
diff changeset
253
340633249b3d Uploaded
bgruening
parents:
diff changeset
254 sampleName The sample (NA-ID) corresponding to the variant input (for non-VCF input only)
340633249b3d Uploaded
bgruening
parents:
diff changeset
255 annotation One or more specific annotations to apply to variant calls
340633249b3d Uploaded
bgruening
parents:
diff changeset
256 group One or more classes/groups of annotations to apply to variant calls
340633249b3d Uploaded
bgruening
parents:
diff changeset
257 expression One or more specific expressions to apply to variant calls; see documentation for more details
340633249b3d Uploaded
bgruening
parents:
diff changeset
258 useAllAnnotations Use all possible annotations (not for the faint of heart)
340633249b3d Uploaded
bgruening
parents:
diff changeset
259
340633249b3d Uploaded
bgruening
parents:
diff changeset
260 @CITATION_SECTION@
340633249b3d Uploaded
bgruening
parents:
diff changeset
261 </help>
340633249b3d Uploaded
bgruening
parents:
diff changeset
262 </tool>