Sara Monzon
04/01/2025, 10:27 AMUse of uninitialized value $curl in concatenation (.) or string at /opt/conda/bin/update_blastdb.pl line 599.
Downloading https://ftp.ncbi.nlm.nih.gov/blast/db/mito.tar.gz...Can't exec "--user": No such file or directory at /opt/conda/bin/update_blastdb.pl line 602.
too many failures, aborting download! Please try again later or use the --source aws option
So i said, easy let's use aws. When you try to use aws:
Error: /opt/conda/bin/update_blastdb.pl depends on curl to fetch data from cloud storage, please install this utility to access this data source.
Makes complete sense, and something was telling me that this error was also related to $curl not being initialized. So i created a mulled container including curl besides blast. but..the same error remains, the script is still not able to find curl.
Checking the script code I see that it looks for curl in /usr/bin or /usr/local/bin , and curl is correctly in the path inside the container but it's installed in /opt/conda/bin . I don't have permissions in run time to create a symbolic link..so I'm out of ideas.
Someone has faced something similar? How can i get the tests running for update_blastdb? Is it ok to keep update_blastdb in the prior version, and the rest of the modules in the latest?
https://github.com/nf-core/modules/pull/8179Simon Pearce
04/01/2025, 1:03 PMSimon Pearce
04/01/2025, 1:04 PMSara Monzon
04/01/2025, 1:07 PMSara Monzon
04/01/2025, 1:07 PMSara Monzon
04/01/2025, 1:08 PMNiklas Schandry
04/02/2025, 1:23 PMChecking the script code I see that it looks for curl inThis happens with conda installed packages quite frequently, the easiest solution is to add something likeor/usr/bin, and curl is correctly in the path inside the container but it's installed in/usr/local/bin. I don't have permissions in run time to create a symbolic link..so I'm out of ideas./opt/conda/bin
ENV PATH="$PATH:/opt/conda/bin" to your DockerfileNiklas Schandry
04/02/2025, 1:24 PMNiklas Schandry
04/02/2025, 1:26 PMSara Monzon
04/02/2025, 1:27 PMNiklas Schandry
04/02/2025, 1:27 PMSara Monzon
04/02/2025, 1:27 PMSara Monzon
04/02/2025, 1:28 PMSara Monzon
04/02/2025, 1:29 PM