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

fastq-dump fails with "This sra toolkit installation has not been configured." when docker is disabled #157

Open
agalitsyna opened this issue Oct 16, 2020 · 1 comment

Comments

@agalitsyna
Copy link
Member

Hi! I'm stuck with a problem that happens with my distiller-nf runs sometimes.

I usually install distiller-nf from github and create conda environment from environment.yml. Then I run distiller-nf to download from SRA with fastq-dump.
Sometimes, when I try it on a new cluster, I get:

This sra toolkit installation has not been configured.
Before continuing, please run: vdb-config --interactive

However, fastq-dump outside of distiller works perfectly, and vdb-config does not help.

It looks like some problem with the path to ncbi config (located at /home/user/.ncbi/user-settings.mkfg by default), which cannot be loaded appropriately in distiller after the change of home dir with:

HOME=`readlink -e ./`

Simple addition of cp -r /home/user/.ncbi/ . to fastqDumpCmd works like a charm.

I wouldn't say I like this dirty fix, and I wonder what might be the problem's source.
What do I miss here?
Have someone solved it more elegantly?

Thanks!

@Phlya
Copy link
Member

Phlya commented Jul 30, 2021

Why is that problematic line even required? I got this issue and commenting it out solves the problem with no apparent adverse effects...

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

No branches or pull requests

2 participants