distiller-nf icon indicating copy to clipboard operation
distiller-nf copied to clipboard

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

Open agalitsyna opened this issue 3 years ago • 1 comments

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!

agalitsyna avatar Oct 16 '20 12:10 agalitsyna

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

Phlya avatar Jul 30 '21 14:07 Phlya