annotate variant_annotator.xml @ 0:ae9d0a543e9b draft default tip

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