-
Notifications
You must be signed in to change notification settings - Fork 33
initializeDataSource.py dies if the --ds_foldername is an absolute path. #350
Comments
Yes, (apparently) we did not document initialize datasource well enough. Also, exac is in the next default datasource corpus, which I would have
|
Just for you (and anyone else reading this)... I had a hiccup with the Default datasources: v1.9.0.0: On Mon, Apr 18, 2016 at 7:16 PM, Lee Lichtenstein <
Lee Lichtenstein |
I'm trying to create a custom data source using an ExAC VCF file. I'm running oncotator 1.9.0 in a Docker instance created an image made using the shipped Dockerfile.
If I set the --ds_foldername to an absolute path (e.g. "--ds_foldername=/db_dir/exac"), it dies after it builds the index and gzip parts as it uses the path to create a temporary build before copying it into place. When it tries to copy the results into place, it can't create the absolute path, as it already exists, then just dies.
work-around: if I put "--ds_foldername=exac --dbDir=/db_dir" it works fine: it puts the build files in a temporary location and then creates /db_dir/exac with the expected output at the end.
Aside: it might be worth documenting how to do build new Data Sources from the Docker....
The text was updated successfully, but these errors were encountered: