Closed ghost closed 5 years ago
Did you already login using docker once on that machine?
docker logout
should help in such a case.
docker is not installed on the machine, anything with $ docker
such as login, logout returns: command not found
and I am pretty sure It was never installer, therefore probably not a path problem
Which version of the pipeline are you using?
I'm asking because that here doesn't pull from the correct Docker Hub URL,
docker://nf-core/rnaseq
which should be:
docker://nfcore/rnaseq
nf-core/rnaseq v1.3
via Nextflow 19.04.1
Can you post a full command line and how you pulled the version?
For pulling, I forked then:
$ git clone https://github.com/Al3xEP/rnaseq
# I prefer to work with gitlab, so I did a
$ cd rnaseq
$ git remote rm origin
$ git remote add nfcore-rnaseq https://gitlab.com/Al3xEP/nfcore-rnaseq.git
$ git push nfcore-rnaseq master
# Then on another machine (my HPC)
$ git clone https://gitlab.com/Al3xEP/nfcore-rnaseq.git
# Then, having my fastq.gz files in the same parent directory as the one where I cloned the nfcore-rnaseq subdirectory, did a
$ nextflow run nfcore-rnaseq/ --reads 'rnaseqreads/*.fastq.gz' --genome GRCm38 -profile singularity --singleEnd
I also did change the base.config
file by adding:
process.executor = 'SLURM'
singularity.enabled = true
process.container = "nf-core/rnaseq"
singularity.runOptions = '-B /data/Al3xEP'
I thought it could be a problem of using SLURM since the HPC might try to download from a compute node but I did run it as local and it doesn't change the error output
process.container = "nf-core/rnaseq"
That's exactly what broke the entire thing! This changes which container to download, which isn't existing on DockerHub - change that back to utilizing the standard process.container = nfcore/rnaseq
or it won't work.
If you don't need to modify something in the pipeline itself, I don't really see a reason for having your own copy anyways: Pulling from github works in Nextflow directly, e.g.:
nextflow run nf-core/rnaseq -r 1.3 ....
without you having to do anything of the above and a guarantee that it should run 👍
When running
nextflow run nf-core/rnaseq -profile singularity
I get the following error message:The only fix I know requires
docker login
but this wouldn't make sense since as the doc precisely states the whole point of using singularity is not having docker available (and not wanting or being able to install it) and therefore not being able to run a docker command in order to use singularity.