This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Annovar Check Version Database

Hi, I would check if my database of annovar is up-to date. This link show the date of the last update Annovar download

How can i do it ? without download the last database and compare it with the version use ? How print the creation's date of my database ? Thanks a lot.

annovar database

1 answer

In the humandb folder there is a annovar_downdb.log that will show the version of the database download.

Please note that this will only show the version of the database being downloaded, so it must be checked for each time after it completes.

You can also use

 perl annotate_variation.pl -webfrom annovar -downdb avdblist -buildver hg19 .

to get a list of all db versions.

Hope this helps :).

Hi, I didn't know the file "annovar_downdb.log". But i search a command for get dynamically the version of database. However i guess this task isn't possible....

You could use the command above and that would return a file with all the hg19 databases. From there you could visually compare or maybe even have a script do it (I am trying to do the later, but have just begun).

Yes of course. I think "diff" can do this. I hope command as :

perl <perl script=""> <file db="">(ex : refgene) -v | --version

Log in to answer this question.