Entering edit mode
16 days ago
meetmet
▴
10
Hi everyone,
I’m currently working with Singularity containers for a bioinformatics project and using Snakemake to manage workflows. My goal is to make sure that my Conda environment is created within the Singularity container (which includes Miniconda3), but I’m running into an issue where it seems like the Conda environment is still being created on my local machine instead.
Here are the logs I’m seeing:
Activating singularity image /data/SaMD/.snakemake/singularity/d9...simg
Activating conda environment: .snakemake/conda/49a724..
Docker Image: "docker://continuumio/miniconda3:25.1.1-2"
How can I check that the conda env is created within the container?
Thanks for your futur help.
Ps: I declare the global env. container in the Snakefile as:
container: "docker://continuumio/miniconda3:25.1.1-2"
How are you running snakemake?
Hello,
I run snakemake from the main directory of the workflow:
The profile file content:
You can try to add
software-deployment-method: conda singularity
to you profile, this should work accordin to https://snakemake.readthedocs.io/en/stable/snakefiles/deployment.html#ad-hoc-combination-of-conda-package-management-with-containersMany thanks!
I completely missed this option.
Cheers.