ERROR ~ Error executing process > 'NFCORE_TAXPROFILER:TAXPROFILER:LONGREAD_HOSTREMOVAL:MINIMAP2_INDEX'
Caused by:
Failed to create Conda environment
command: conda create --mkdir --yes --quiet --prefix /home/james/cache/conda/env-f398718d50f0fbf68c336c2cb6f533f8 bioconda::minimap2=2.24
status : 1
message:
CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic
Running the same command results in successfully creation
Ran with NXF_VER=23.04.1 nextflow run main.nf -with-conda and got as output the following:
CAPSULE: Downloading dependency io.nextflow:nextflow:jar:23.04.1
CAPSULE: Downloading dependency io.nextflow:nf-httpfs:jar:23.04.1
CAPSULE: Downloading dependency io.nextflow:nf-commons:jar:23.04.1
Nextflow 23.10.0 is available - Please consider updating your version to it
dN E X T F L O W ~ version 23.04.1
Launching `main.nf` [loving_cray] DSL2 - revision: e432c2850d
executor > local (1)
[d2/28d2f3] process > FOO [100%] 1 of 1 âś”
Creating env using conda: fastqc [cache /Users/mribeirodantas/conda-test/work/conda/env-23037893fdd4cef8d4acc5fe82ba1899]
FastQC v0.12.1
PS: I tried running nextflow run nf-core/taxprofiler -profile conda,test -r 1.1.1 --outdir ./results as you did, and it works past the NFCORE_TAXPROFILER:TAXPROFILER:LONGREAD_HOSTREMOVAL:MINIMAP2_INDEX' step so for some reason I can’t reproduce this either.
[bf/e48529] process > NFCORE_TAXPROFILER:TAXPROFILER:LONGREAD_HOSTREMOVAL:MINIMAP2_INDEX [100%] 1 of 1 âś”
I didn’t wait for it to finish, though.
I would guess this issue is related to your conda version. I’m using v23.9.
Interesting! Would you mind sharing the whole conda config? To see what I may have different…
And also try maybe with an nf-core pipeline? The only thing I can now think is there some conda conflict when it tries to make multiple envs at once…
Sorry, I meant the config of conda itself (basically what is stored in ~/.condarc, not the nextflow conda config!
I had the same error on both old and latest version
Oops sorry about the last bit - the discourse website wouldn’t load on Firefox for mobile for me so I read your response/replied via email but I guess that bit wasn’t displayed… (Now on Chrome for mobile )
nf-training -> rm -rf work; rm -rf nextflow.config; nextflow run main.nf -with-conda
N E X T F L O W ~ version 23.10.0
Launching `main.nf` [agitated_volta] DSL2 - revision: e432c2850d
executor > local (1)
[d7/d48364] process > FOO [100%] 1 of 1 âś”
Creating env using conda: fastqc [cache /workspace/gitpod/nf-training/work/conda/env-23037893fdd4cef8d4acc5fe82ba1899]
FastQC v0.12.1
i know this is a bit stale now, but i encountered this recently and found this thread… in my case at least, it seems to have been that the version of libstdc++ available to my os was older than libmamba wanted.