Skip to content
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

PostgreSQL, what driver/gemini version(s) are compatible? #923

Open
JHibbard opened this issue Mar 14, 2019 · 1 comment
Open

PostgreSQL, what driver/gemini version(s) are compatible? #923

JHibbard opened this issue Mar 14, 2019 · 1 comment

Comments

@JHibbard
Copy link

Hello, I loaded a gemini database into PostgreSQL with vcf2db, but cannot find a compatible driver/gemini combination. I get various errors based on the combination used, most centered on how strings are handled (text_factory) or on decompressing fields. I've tried psycopg2, pg8000, and pygresql drivers with gemini v0.20.1 and v0.30.2. Is there a recommended setup for PostgreSQL databases? If not, what non-sqlite database systems are likely to work with the new vcfanno/vcf2db workflow? If it helps, I can provide a docker images and a compose file with my exact setup. Thanks again for all your help!

@brentp
Copy link
Collaborator

brentp commented Mar 14, 2019

I think probably the code for non-sqlite DBs has bitrot and does not support other databases. I will accept PR's to fix this, but I can not maintain across DBs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants