Closed ChristianRohde closed 1 year ago
I can confirm that. The funny thing is that I downloaded 3.2.0 just fine a couple of days ago, and I actually have a container in my cache that is labeled docker.io-google-deepvariant-1.5.0.img
, so I'm not sure why it was even trying ...
Has anything changed with Docker Hub?
I got a slightly different error msg:
nf-core download sarek --outdir nf-core-sarek --container singularity --compress none --revision 3.2.1 --force
,--./,-.
___ __ __ __ ___ /,-._.--~\
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
nf-core/tools version 2.8 - https://nf-co.re
INFO Saving 'nf-core/sarek'
Pipeline revision: '3.2.1'
Pull containers: 'singularity'
Using $NXF_SINGULARITY_CACHEDIR': /home/ubuntu/nxf_singularity_cache
Output directory: 'nf-core-sarek'
INFO Downloading workflow files from GitHub
INFO Downloading centralised configs from GitHub
INFO Found 35 containers
Pulling singularity images ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━ 94% • 33/35 completed
nf-core/deepvariant:1.5.0 Copying from cache to target directory ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CRITICAL [Errno 2] No such file or directory: '/home/ubuntu/nxf_singularity_cache/nf-core-deepvariant-1.5.0.img'
@ChristianRohde @tdanhorn, thanks for letting us now the issue.
I'm afraid this had to do with the recent update to the modules repo and the pipeline that switched the default custom registry from docker.io to quay.io.
We're looking into it, and trying to fix nf-core/tools as soon as possible.
In the meantime, you could try to run singularity pull quay.io/nf-core/deepvariant:1.5.0
?
I get the same message:
$ singularity pull quay.io/nf-core/deepvariant:1.5.0
FATAL: While pulling library image: error fetching image: request did not succeed: UNAUTHORIZED: project quay.io not found: project quay.io not found (401 Unauthorized)
I get the same message:
$ singularity pull quay.io/nf-core/deepvariant:1.5.0
FATAL: While pulling library image: error fetching image: request did not succeed: UNAUTHORIZED: project quay.io not found: project quay.io not found (401 Unauthorized)
Me too. Perhaps the syntax is not quite right.
This cmd from Maxime seems to work:
singularity pull docker://quay.io/nf-core/deepvariant:1.5.0
Sorry, was hard to figure the proper syntax without having Singularity on my machine, I need to reinstall it
Yep, docker://
works.
Yes, I can confirm that I can download deepvariant:1.5.0 singularity image separately with the command above. However, this does not help to install sarek. I am not sure if I understand your advice correctly.
For the meantime I decided to download the previous version of sarek with the command "nf-core download sarek --outdir nf-core-sarek --container singularity --compress none --revision 3.2.0 --force". This seemed to work since it finished without any errors.
Next I run this pipeline with "nextflow run /path/2/my/nf-core-sarek/workflow/ --input /path/2/my/samplesheet.csv --outdir /path/2/my/results". Unfortunately, here the pipeline crashes at the very first step: "Workflow execution completed unsuccessfully! The exit status of the task that caused the workflow execution to fail was: 127." and finally "Command error: .command.sh: line 5: fastqc: command not found". This is unexpected since I do have a singularity image for fastqc in my singularity-images folder right within the folder where I stored the pipeline.
Where should I start troubleshooting? Unfortunately, as a beginner on this platform for me this looks a bit crowded.
Best, Christian
you probably need to add -profile singularity
to tell nextflow to use those as far as I know there is no flag --container
Apologies for the issues with the download command. We are working on a fix in nf-core/tools
you probably need to add
-profile singularity
to tell nextflow to use those as far as I know there is no flag--container
right, it was just written below the download part in the manual: https://nf-co.re/tools/#downloading-pipelines-for-offline-use. I added this information and somehow the containers are now recognized if I interpret the tasks table from my execution_report correctly.
On the other hand now I run into another very similar but not the same error 127:
"Error executing process > 'NFCORE_SAREK:SAREK:FASTP"
Command error: env: 'singularity': No such file or directory
I have no idea what could be wrong
Is singularity available where you're running Sarek?
Hi Christian, the sarek channel on the nf-core Slack might be a better place to discuss this, since there are more people with experience, see https://nf-co.re/join if don't have an account there already. GitHub is better suited to flag specific bugs/issues with the code itself. Regarding your specific error, is there something like a module that you have to load for singularity to work (if it is installed at all)?
Hi Christian, the sarek channel on the nf-core Slack might be a better place to discuss this, since there are more people with experience, see https://nf-co.re/join if don't have an account there already. GitHub is better suited to flag specific bugs/issues with the code itself. Regarding your specific error, is there something like a module that you have to load for singularity to work (if it is installed at all)?
good points, I will join there. You spotted the problem: OMG, I forgot to load the singularity module. Now I am excited to see progress in running the pipeline
you probably need to add
-profile singularity
to tell nextflow to use those as far as I know there is no flag--container
right, it was just written below the download part in the manual: https://nf-co.re/tools/#downloading-pipelines-for-offline-use. I added this information and somehow the containers are now recognized if I interpret the tasks table from my execution_report correctly.
On the other hand now I run into another very similar but not the same error 127: "Error executing process > 'NFCORE_SAREK:SAREK:FASTP" Command error: env: 'singularity': No such file or directory
I have no idea what could be wrong
Hi, did you manage to solve the error?
you probably need to add
-profile singularity
to tell nextflow to use those as far as I know there is no flag--container
right, it was just written below the download part in the manual: https://nf-co.re/tools/#downloading-pipelines-for-offline-use. I added this information and somehow the containers are now recognized if I interpret the tasks table from my execution_report correctly. On the other hand now I run into another very similar but not the same error 127: "Error executing process > 'NFCORE_SAREK:SAREK:FASTP" Command error: env: 'singularity': No such file or directory I have no idea what could be wrong
Hi, did you manage to solve the error?
yes, all issues resolved is the short answer. In a long answer I can add: I probably could have used sarek 3.2.1 by putting the manually downloaded image into the sarek/singularity-images/ directory. However, this was not fully clear to me as a beginner and I decided to use 3.2.0, which could be installed easily. But with later issues solved with some help on SLACK I followed this approach. The other question was a bit stupid: I forgot to load the singularity module in my script on the HPC. Once I did the pipeline was running. Now I am trying to find the configuration which works with all files available (Ensembl.GRh37 > GATK.GRCh37 > GATK.GRCh38) and how I need to format my WES regions file, but this is another story.
Best, Christian
With the new tools release this should be fixed now without any needed workarounds :)
Closing this issue as with the tools update all should work as expected. Please re-open if you encounter any more issues
Description of the bug
Hi,
this is my first time to use not only nf-core but also nextflow. My task is to make the software running on a HPC from our university. I decided to first download the code as Singularity container. Somehow I cannot retrieve nf-core/deepvariant:1.5.0, please see below.
Best, Christian
Command used and terminal output
Relevant files
No response
System information