arq5x / gemini

a lightweight db framework for exploring genetic variation.
http://gemini.readthedocs.org
MIT License
317 stars 119 forks source link

Connecting to PostgreSQL or other databases? #916

Closed JHibbard closed 5 years ago

JHibbard commented 5 years ago

Hello, I've been experimenting with vcf2db to create non-sqlite databases for gemini, but I'm not sure how to connect to the newly created database with gemini. I'm having trouble finding documentation for this, is there an example or piece of documentation? Thanks! This is an amazing tool :)

brentp commented 5 years ago

instead of using a sqlite.db path as the final argument, just use, e.g. "postgres://brentp:password@localhost/gemini"

JHibbard commented 5 years ago

Thank you! I didn't realize that was a sqlalchemy connection string and not a file path.