Question: Multiple annotations using annovar?
0
gravatar for arronslacey
3.2 years ago by
arronslacey240
United Kingdom
arronslacey240 wrote:

Hi - is it possible to add multiple annotations in the same command with annovar. For example annotation with both exac and 1000g? The command for one is this:

perl annotate_variation.pl -filter -build hg19 -dbtype exac03  GLRA1.txt humandb/

so I have tried

perl annotate_variation.pl -filter -build hg19 -dbtype exac03 -dbtype 1000g2015aug_eur GLRA1.txt humandb/

and

perl annotate_variation.pl -filter -build hg19 -dbtype exac03,1000g2015aug_eur GLRA1.txt humandb/

but both do not work. I just wondered if annovar has this functionality or if I will have to write a script.

cheers!

annotation variant annovar • 1.9k views
ADD COMMENTlink modified 3.2 years ago by igor7.6k • written 3.2 years ago by arronslacey240
2
gravatar for igor
3.2 years ago by
igor7.6k
United States
igor7.6k wrote:

There is actually a separate script table_annovar.pl you can use for this. It generates an output file with many columns, each representing one set of annotations.

It's described in more detail here: http://annovar.openbioinformatics.org/en/latest/user-guide/startup/

ADD COMMENTlink modified 3.2 years ago • written 3.2 years ago by igor7.6k

excellent thanks very much!

ADD REPLYlink written 3.2 years ago by arronslacey240

just one thing - table_annovar.pl does not seem to preserve additional custom fields specified in the input file, where annotate_variation.pl appears to do this.

do you happen to know how to keep extra columns in the input? all my additional columns are in the format

comments: field1   field2
ADD REPLYlink written 3.2 years ago by arronslacey240
1

I use unix join to merge the input and output tables.

ADD REPLYlink modified 3.2 years ago • written 3.2 years ago by igor7.6k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 823 users visited in the last hour