Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "micromamba" as an option for --conda-frontend #2322

Open
magmir71 opened this issue Jun 27, 2023 · 6 comments
Open

Add "micromamba" as an option for --conda-frontend #2322

magmir71 opened this issue Jun 27, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@magmir71
Copy link

Dear Snakemake team,
thanks for an awesome software.
I am using snakemake to run jobs on a HPC cluster with SLURM, and mostly use singularity mode. However, for some rules, I need to install a set of packages, for which no ready-to-use docker or singularity image exists. For such rules, I specify docker://continuumio/miniconda3:latest image and a .yaml file with conda packages, as shown in the "Distribution and Reproducibility" docs. Thus, snakemake activates a conda environment within the image with installed conda. The only issue is that installation with conda is very slow.

As an alternative, one could use an official micromamba image: https://hub.docker.com/r/mambaorg/micromamba
Unfortunately, specifying "mamba" as --conda-frontend does not work with that image.

Describe the solution you'd like
Could you add "micromamba" as an option for --conda-frontend?

Thanks a lot!
Aleksei

@magmir71 magmir71 added the enhancement New feature or request label Jun 27, 2023
@fgvieira
Copy link
Contributor

I started PR #1889 for that but it turned out to be a bit more complicated than I had expected (and I don't have a lot of time now), mostly because the conda/mamba/micromamba sub-commands are not consistent.

But you are more than welcome to contribute to the PR. 😄

@ammaraziz
Copy link

@fgvieira could you rerun the checks? They have expired, can't see what the issue was.

@fgvieira
Copy link
Contributor

fgvieira commented Oct 1, 2023

Just rebased the branch.

@f0t1h
Copy link

f0t1h commented Jan 22, 2024

bump

@mfansler
Copy link

mfansler commented Feb 5, 2024

This is a duplicate of #1038.

@charmoniumQ
Copy link

We've been working on this in PR #2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants