annotate variant_annotator.xml @ 0:8498a337a2a2 draft default tip

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