Hello,
I work in an HPC environment which uses slurm.
I am writing nextflow pipelines. Right now, nextflow itself has been installed in a conda environment. However, some of the processes in my nextflow pipeline need to use a different conda environment, because of dependency conflicts.
I have two related questions:
How can I have processes use a conda environment that differs from the environment in which nextflow is being run?
Have I set this up wrong in the first place and is it better to have nextflow outside of the conda environment? If so, what's the best way to distribute the whole pipeline along with nextflow?
Thank you!
Use the standalone version of Nextflow and specify the process-specific conda environments paths.