connor-lab / ncov2019-artic-nf

A Nextflow pipeline for running the ARTIC network's fieldbioinformatics tools (https://github.com/artic-network/fieldbioinformatics), with a focus on ncov2019
GNU Affero General Public License v3.0
89 stars 89 forks source link

conda profile can't find extras.yml #40

Closed sb10 closed 4 years ago

sb10 commented 4 years ago

I think conda profile was broken by c4c617be46553bb75654c37fbeb2ea16af8312bc?

$ ./nextflow run ncov2019-artic-nf -profile conda --illumina --directory testrun/fastq --outdir testrun/quick --prefix test
N E X T F L O W  ~  version 20.01.0
Launching `ncov2019-artic-nf/main.nf` [loving_thompson] - revision: 52dfb7b20f
WARN: DSL 2 IS AN EXPERIMENTAL FEATURE UNDER DEVELOPMENT -- SYNTAX MAY CHANGE IN FUTURE RELEASE
[-        ] process > ncovIllumina:prepareReferenceFiles:articDownloadScheme -
executor >  local (2)
executor >  local (3)
executor >  local (3)
executor >  local (3)
executor >  local (7)
[e0/13f3fa] process > ncovIllumina:prepareReferenceFiles:articDownloadScheme [100%] 1 of 1 ✔
[c1/f36429] process > ncovIllumina:prepareReferenceFiles:indexReference      [100%] 1 of 1 ✔
[2d/7ce7e1] process > ncovIllumina:sequenceAnalysis:readTrimming             [100%] 1 of 1 ✔
[b0/087f8a] process > ncovIllumina:sequenceAnalysis:readMapping              [100%] 1 of 1 ✔
[0a/4e9aec] process > ncovIllumina:sequenceAnalysis:trimPrimerSequences      [100%] 1 of 1 ✔
[-        ] process > ncovIllumina:sequenceAnalysis:callVariants             -
[56/24ec3a] process > ncovIllumina:sequenceAnalysis:makeConsensus            [100%] 1 of 1 ✔
[-        ] process > ncovIllumina:sequenceAnalysis:makeQCCSV                -
[-        ] process > ncovIllumina:sequenceAnalysis:writeQCSummaryCSV        -
[-        ] process > ncovIllumina:sequenceAnalysis:collateSamples           -
WARN: Killing pending tasks (1)
Error executing process > 'ncovIllumina:sequenceAnalysis:makeQCCSV (33945_1#11)'

Caused by:
  Conda environment file does not exist: environments/extras.yml

Building the singularity images and using the singularity profile worked fine.

(I don't know why the github test was able to pass, but if fails for me running it manually; perhaps I'm doing something wrong?)