Activate conda environment on execution of Singularity container in Nextflow
问题 I am using Singularity containers to run commands from Nextflow workflow management system. I have a conda environment inside Singularity which I can activate when I shell into the container singularity pull shub://brucemoran/Singularity:pcgr.centos7 singularity shell brucemoran-Singularity-pcgr.centos7.img #<inside container> source activate pcgr When Nextflow executes I have defined to source activate pcgr which I think should activate the conda env. But I get an unbound variable HOST