annovar_installation.md
February 21, 2017 ยท View on GitHub
Annovar installation
-
Unpack the package and add ANNOVAR into your system executable path
tar xvfz annovar.latest.tar.gz export PATH="/dir/annovar/:$PATH" -
First you need to create directories for saving Annovar databases files used for the annotation:
- Create a folder (genomedb) for saving all Annovar databases, e.g. hg19db
- Create a subfolder (seqFolder) for saving the reference genome, e.g. hg19db/hg19_seq
-
Download the reference genome (by chromosomes) from UCSC for all desired builds as follows:
annotate_variation.pl -buildver <build> -downdb seq <seqFolder>buildis your prefered reference genome
seqFolderis the location where the sequences (by chromosmes) should be stored, e.g. hg19db/hg19_seq -
Download all desired databases for your builds. At least the database refGene must be downloaded.
annotate_variation.pl -buildver <build> -webfrom annovar -downdb <database> <genomedb>buildis your prefered reference genome
databaseis the name of database file to download, e.g. refGene
genomedbis the location where all database files should be stored, e.g. hg19dbThe list of available Annovar databases can be found here: http://annovar.openbioinformatics.org/en/latest/user-guide/download/
-
Edit the file build_listAVDB.txt present in mutspec folder to reflect the name and the type of the databases you have installed