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

[WIP] add conda environment for Perl into snakemake execution #13

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Jun 30, 2022

Note, merge into #11.

@ctb
Copy link
Contributor Author

ctb commented Jun 30, 2022

@abradyIGS would be interested to know if this works for ya. Just try running make.

Base automatically changed from add_new_plugins to main July 1, 2022 15:58
@abradyIGS
Copy link
Contributor

checking

@abradyIGS
Copy link
Contributor

Building DAG of jobs...
CreateCondaEnvironmentException:
Your conda installation is not configured to use strict channel priorities. This is however crucial for having robust and correct environments (for details, see https://conda-forge.org/docs/user/tipsandtricks.html). Please configure strict priorities by executing 'conda config --set channel_priority strict'.
make: *** [all] Error 1

@ctb
Copy link
Contributor Author

ctb commented Jul 1, 2022 via email

@abradyIGS
Copy link
Contributor

make ran okay, make update and subsequent rebuild command propagated successfully to dev website. i think you were updating at the same time and we clobbered each other, but once i was sure that had stopped, it worked fine.

note my base environment already has access to perl -- the conda flow did install the YML for the dependency and i assume it pointed itself to the right place, but i can't swear to it without dumping a bunch of debug logic that would prolly be overkill.

@raynamharris
Copy link
Contributor

I don't have mamba installed so I'm getting this message:

snakemake -j 1 --use-conda
Error: mamba package manager is not available. The mamba package manager (https://github.com/mamba-org/mamba) is an extremely fast and robust conda replacement. It is the recommended way of using Snakemake's conda integration. It can be installed with `conda install -n base -c conda-forge mamba`. If you still prefer to use conda, you can enforce that by setting `--conda-frontend conda`.
make: *** [all] Error 1

@raynamharris
Copy link
Contributor

raynamharris commented Jul 1, 2022

mamba is not easy to install.... 20 min later still trying...

(content-reg) raynamharris@ip update-content-registry % conda install -n base -c conda-forge mamba
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 

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

Successfully merging this pull request may close these issues.

3 participants