openvax / pyensembl

Python interface to access reference genome features (such as genes, transcripts, and exons) from Ensembl
Apache License 2.0
374 stars 65 forks source link

Specifying install location #145

Closed rpadmanabhan closed 8 years ago

rpadmanabhan commented 8 years ago

Hi, Is there a way to specify a prefix when using pyensembl install to install the ensembl data to a particular directory.

Thank You

iskandr commented 8 years ago

@rpadmanabhan

It's not currently possible to do that in a sane way but is sort-of possible if you don't mind reaching into the internals of pyensembl: you can pass a cache_directory_path argument when building a Genome. Unfortunately, we never exposed that as an option in EnsemblRelease.

I'll fix this for you in the next few days (at least from the Python interface for EnsemblRelease).

rpadmanabhan commented 8 years ago

ah i see , i will try messing around with it and see if it works for me. Thanks