0
|
1 <tool id="Annovar" name="ANNOVAR" version="2013aug">
|
|
2 <description> Annotate a file using ANNOVAR </description>
|
|
3
|
|
4 <requirements>
|
1
|
5 <requirement type="package" version="1.7">cgatools</requirement>
|
0
|
6 </requirements>
|
|
7
|
|
8 <command interpreter="bash">
|
|
9 annovar.sh
|
|
10 --impactscores ${impactscores}
|
|
11 --esp ${esp}
|
|
12 --gerp ${gerp}
|
|
13 --cosmic61 ${cosmic61}
|
|
14 --cosmic63 ${cosmic63}
|
|
15 --cosmic64 ${cosmic64}
|
|
16 --cosmic65 ${cosmic65}
|
|
17 --outall ${annotated}
|
|
18 --outinvalid ${invalid}
|
|
19 --dorunannovar ${dorun}
|
|
20 --inputfile ${infile}
|
|
21 --buildver ${reference.fields.dbkey}
|
|
22 --humandb ${reference.fields.ANNOVAR_humandb}
|
|
23 --scriptsdir ${reference.fields.ANNOVAR_scripts}
|
|
24 --verdbsnp ${verdbsnp}
|
|
25 --geneanno ${geneanno}
|
|
26 --tfbs ${tfbs}
|
|
27 --mce ${mce}
|
|
28 --cytoband ${cytoband}
|
|
29 --segdup ${segdup}
|
|
30 --dgv ${dgv}
|
|
31 --gwas ${gwas}
|
|
32 #if $filetype.type == "other"
|
|
33 --varfile N
|
|
34 --VCF N
|
|
35 --chrcol ${filetype.col_chr}
|
|
36 --startcol ${filetype.col_start}
|
|
37 --endcol ${filetype.col_end}
|
|
38 --obscol ${filetype.col_obs}
|
|
39 --refcol ${filetype.col_ref}
|
|
40
|
|
41 #if $filetype.convertcoords.convert == "Y"
|
|
42 --vartypecol ${filetype.convertcoords.col_vartype}
|
|
43 --convertcoords Y
|
|
44 #else
|
|
45 --convertcoords N
|
|
46 #end if
|
|
47 #end if
|
|
48 #if $filetype.type == "vcf"
|
|
49 --varfile N
|
|
50 --VCF Y
|
|
51 --convertcoords N
|
|
52 #end if
|
|
53 #if $filetype.type == "varfile"
|
|
54 --varfile Y
|
|
55 --VCF N
|
|
56 #end if
|
|
57 --cg46 ${cgfortysix}
|
|
58 --cg69 ${cgsixtynine}
|
|
59 --ver1000g ${ver1000g}
|
|
60
|
|
61 </command>
|
|
62
|
|
63 <inputs>
|
|
64 <param name="dorun" type="hidden" value="Y"/> <!-- will add tool in future to filter on annovar columns, then will call annovar.sh with dorun==N -->
|
|
65 <param name="reference" type="select" label="Reference">
|
|
66 <options from_data_table="annovar_loc" />
|
|
67 </param>
|
|
68
|
|
69 <param name="infile" type="data" label="Select file to annotate" help="Must be CG varfile or a tab-separated file with a 1 line header"/>
|
|
70 <conditional name="filetype">
|
|
71 <param name="type" type="select" label="Select filetype" >
|
|
72 <option value="vcf" selected="false"> VCF4 file </option>
|
|
73 <option value="varfile" selected="false"> CG varfile </option>
|
|
74 <option value="other" selected="false"> Other </option>
|
|
75 </param>
|
|
76 <when value="other">
|
|
77 <param name="col_chr" type="data_column" data_ref="infile" multiple="False" label="Chromosome Column" />
|
|
78 <param name="col_start" type="data_column" data_ref="infile" multiple="False" label="Start Column" />
|
|
79 <param name="col_end" type="data_column" data_ref="infile" multiple="False" label="End Column" />
|
|
80 <param name="col_ref" type="data_column" data_ref="infile" multiple="False" label="Reference Allele Column" />
|
|
81 <param name="col_obs" type="data_column" data_ref="infile" multiple="False" label="Observed Allele Column" />
|
|
82 <conditional name="convertcoords">
|
|
83 <param name="convert" type="select" label="Is this file using Complete Genomics (0-based half-open) cooridinates?" >
|
|
84 <option value="Y"> Yes </option>
|
|
85 <option value="N" selected="True"> No </option>
|
|
86 </param>
|
|
87 <when value="Y">
|
|
88 <param name="col_vartype" type="data_column" data_ref="infile" multiple="False" label="varType Column" />
|
|
89 </when>
|
|
90 </conditional>
|
|
91 </when>
|
|
92 </conditional>
|
|
93
|
|
94
|
|
95
|
|
96 <param name="geneanno" type="select" label="Select Gene Annotation(s)" multiple="true" optional="true" display="checkboxes">
|
|
97 <option value="refSeq" selected="true" > RefSeq </option>
|
|
98 <option value="knowngene"> UCSC KnownGene </option>
|
|
99 <option value="ensgene" > Ensembl </option>
|
|
100 </param>
|
|
101
|
|
102
|
|
103 <!-- region-based annotation -->
|
|
104 <param name="cytoband" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Cytogenic band Annotation?" help="This option identifies Giemsa-stained chromosomes bands, (e.g. 1q21.1-q23.3)."/>
|
|
105 <param name="tfbs" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Transcription Factor Binding Site Annotation?"/>
|
|
106 <param name="mce" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Most Conserved Elements Annotation?" help="This option phastCons 44-way alignments to annotate variants that fall within conserved genomic regions."/>
|
|
107 <param name="segdup" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Segmental Duplication Annotation?" help="Genetic variants that are mapped to segmental duplications are most likely sequence alignment errors and should be treated with extreme caution."/>
|
|
108 <param name="dgv" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="DGV (Database of Genomic Variants) Annotation?" help="Identify previously reported structural variants in DGV (Database of Genomic Variants) "/>
|
|
109 <param name="gwas" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="GWAS studies Annotation?" help="Identify variants reported in previously published GWAS (Genome-wide association studies) "/>
|
|
110
|
|
111
|
|
112
|
|
113 <!-- filter-based annotation -->
|
|
114 <param name="verdbsnp" type="select" label="Select dbSNP version(s) to annotate with" multiple="true" display="checkboxes" optional="true" help="SNPs in dbSNP may be flagged as Clinically Associated, Select the NonFlagged version if you do not wish to annotate with these SNPs ">
|
|
115 <option value="snp128" > 128 (hg18/hg19) </option>
|
|
116 <option value="snp128NonFlagged"> 128 NonFlagged </option>
|
|
117 <option value="snp129" > 129 (hg18/hg19) </option>
|
|
118 <option value="snp129NonFlagged"> 129 NonFlagged </option>
|
|
119 <option value="snp130" > 130 (hg18/hg19) </option>
|
|
120 <option value="snp130NonFlagged"> 130 NonFlagged </option>
|
|
121 <option value="snp131" > 131 (hg18/hg19) </option>
|
|
122 <option value="snp131NonFlagged"> 131 NonFlagged </option>
|
|
123 <option value="snp132" > 132 (hg18/hg19) </option>
|
|
124 <option value="snp132NonFlagged"> 132 NonFlagged </option>
|
|
125 <option value="snp135" > 135 (hg19 only) </option>
|
|
126 <option value="snp135NonFlagged"> 135 NonFlagged </option>
|
|
127 <option value="snp137" > 137 (hg19 only) </option>
|
|
128 <option value="snp137NonFlagged"> 137 NonFlagged </option>
|
|
129 </param>
|
|
130
|
|
131 <param name="ver1000g" type="select" label="Select 1000Genomes Annotation(s)" multiple="true" display="checkboxes" optional="true" help="2012april database for ALL populations was converted to hg18 using the UCSC liftover program">
|
|
132 <option value="1000g2012apr"> 2012apr (hg18/hg19) (5 populations: AMR,AFR,ASN,CEU,ALL) </option>
|
|
133 <option value="1000g2012feb"> 2012feb (hg19) (1 population: ALL) </option>
|
|
134 <option value="1000g2010nov"> 2010nov (hg19) (1 population: ALL) </option>
|
|
135 <option value="1000g2010jul"> 2010jul (hg18) (4 populations: YRI,JPT,CHB,CEU)</option>
|
|
136 </param>
|
|
137 <!--
|
|
138 <param name="g1000" type="boolean" checked="True" truevalue="Y" falsevalue="N" label="Annotate with 1000genomes project? (version 2012april)"/>
|
|
139 -->
|
|
140
|
|
141
|
|
142 <param name="esp" type="select" label="Select Exome Variant Server version(s) to annotate with" multiple="true" display="checkboxes" optional="true" help="si versions of databases contain indels and chrY calls">
|
|
143 <option value="esp6500si_all" > ESP6500si ALL </option>
|
|
144 <option value="esp6500si_ea" > ESP6500si European Americans </option>
|
|
145 <option value="esp6500si_aa" > ESP6500si African Americans </option>
|
|
146 <option value="esp6500_all" > ESP6500 ALL </option>
|
|
147 <option value="esp6500_ea" > ESP6500 European Americans </option>
|
|
148 <option value="esp6500_aa" > ESP6500 African Americans </option>
|
|
149 <option value="esp5400_all" > ESP5400 ALL </option>
|
|
150 <option value="esp5400_ea" > ESP5400 European Americans </option>
|
|
151 <option value="esp5400_aa" > ESP5400 African Americans </option>
|
|
152 </param>
|
|
153
|
|
154
|
|
155 <param name="gerp" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="GERP++ Annotation?" help="GERP identifies constrained elements in multiple alignments by quantifying substitution deficits (see http://mendel.stanford.edu/SidowLab/downloads/gerp/ for details) This option annotates those variants having GERP++>2 in human genome, as this threshold is typically regarded as evolutionarily conserved and potentially functional"/>
|
|
156
|
|
157 <param name="cgfortysix" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Complete Genomics 46 Genomes?" help="Diversity Panel; 46 unrelated individuals"/>
|
|
158 <param name="cgsixtynine" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Complete Genomics 69 Genomes?" help="Diversity Panel, Pedigree, YRI trio and PUR trio"/>
|
|
159 <param name="cosmic61" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Annotate with COSMIC61? (hg19 only)"/>
|
|
160 <param name="cosmic63" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Annotate with COSMIC63? (hg19 only)"/>
|
|
161 <param name="cosmic64" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Annotate with COSMIC64? (hg19 only)"/>
|
|
162 <param name="cosmic65" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Annotate with COSMIC65? (hg19 only)"/>
|
|
163
|
|
164 <param name="impactscores" type="select" label="Select functional impact scores annotate with" multiple="true" display="checkboxes" optional="true" help="LJB refers to Liu, Jian, Boerwinkle paper in Human Mutation, pubmed ID 21520341.">
|
|
165 <option value="avsift"> AV SIFT </option>
|
|
166 <option value="ljbsift"> LJB SIFT (corresponds to 1-SIFT)</option>
|
|
167 <option value="pp2"> PolyPhen2 </option>
|
|
168 <option value="mutationtaster" > MutationTaster </option>
|
|
169 <option value="lrt"> LRT (Likelihood Ratio Test) </option>
|
|
170 <option value="phylop"> PhyloP </option>
|
|
171 </param>
|
|
172
|
|
173
|
|
174 <!-- prefix for output file so you dont have to manually rename history items -->
|
|
175 <param name="fname" type="text" value="" label="Prefix for your output file" help="Optional"/>
|
|
176
|
|
177 </inputs>
|
|
178
|
|
179 <outputs>
|
|
180 <data format="tabular" name="invalid" label="$fname ANNOVAR Invalid input on ${on_string}"/>
|
|
181 <data format="tabular" name="annotated" label="$fname ANNOVAR Annotated variants on ${on_string}"/>
|
|
182 </outputs>
|
|
183
|
|
184 <help>
|
|
185 **What it does**
|
|
186
|
|
187 This tool will annotate a file using ANNOVAR.
|
|
188
|
|
189 **ANNOVAR Website and Documentation**
|
|
190
|
|
191 Website: http://www.openbioinformatics.org/annovar/
|
|
192
|
|
193 Paper: http://nar.oxfordjournals.org/content/38/16/e164
|
|
194
|
|
195 **Input Formats**
|
|
196
|
|
197 Input Formats may be one of the following:
|
|
198
|
|
199 VCF file
|
|
200
|
|
201 Complete Genomics varfile
|
|
202
|
|
203 Custom tab-delimited file (specify chromosome, start, end, reference allele, observed allele columns)
|
|
204
|
|
205 Custom tab-delimited CG-derived file (specify chromosome, start, end, reference allele, observed allele, varType columns)
|
|
206
|
|
207 </help>
|
|
208
|
|
209 </tool>
|
|
210
|
|
211
|