-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difficult to understand documentation with regard to sqlite databases #2
Comments
I'm sorry about this. The document of annovarR is incomplete now, I guess you need to install the SQLite3 before installing the SQLite format exac03 database. If the # After installing SQLite3
annovarR::sql2sqlite('/path/hg19_exac03.sqlite.sql', dbname = '/path/hg19_exac03.sqlite')
# If you have downloaded the text format `hg19_exac03.txt`
sqlite.auto.build("exac03", buildver = hg19"", database.dir = "/path/humandb")` In fact, you can also use the perl version ANNOVAR to do the exac03 annotation. x <- annotation(dat = dat, anno.name = "perl_annovar_exac03", database.dir = "~/.annovarR/db", annovar.dir = "/opt/bin/annotation/annovar/20170716/") |
Dear Jianfeng,
Thank you for the help! That makes sense. I'll make sure sqlite3 is in my
path. In the interim, I used the perl version on the command line, which
worked well. In the future, I'll try to incorporate annovarR into my
workflow.
Cheers,
Robert
…On Thu, Jun 28, 2018 at 7:32 PM Jianfeng ***@***.***> wrote:
I'm sorry about this. The document of annovarR is incomplete now,
I guess you need to install the SQLite3
<https://www.sqlite.org/index.html> before installing the SQLite format
exac03 database. If the sqlite or sqlite3 not in PATH, the converting
step in download.database may not work.
# After installing SQLite3annovarR::sql2sqlite('/path/hg19_exac03.sqlite.sql', dbname = '/path/hg19_exac03.sqlite')# If you have downloaded the text format `hg19_exac03.txt`
sqlite.auto.build("exac03", buildver = hg19"", database.dir = "/path/humandb")`
In fact, you can also use the perl version ANNOVAR to do the exac03
annotation.
x <- annotation(dat = dat, anno.name = "perl_annovar_exac03", database.dir = "~/.annovarR/db", annovar.dir = "/opt/bin/annotation/annovar/20170716/")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATdmyG_yeQ1q7AzpRB_3ASU6a9q5W7MPks5uBZG7gaJpZM4U74xf>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to annotate some variants using the
exac_03
database. I retrieved it usingdownload.database()
, but it retrieved the following database:hg19_exac03.sqlite.sql
. It's now in my "annovar/humandb" directory.When I try
x <- annotation(dat = dat, anno.name = "exac03", database.dir = "annovar/humandb", db.type = "sqlite")
I get the following error:
Is there a step I am missing between retrieving the db and running
annotation
? Thanks!The text was updated successfully, but these errors were encountered: