a-h-b / dadasnake

Amplicon sequencing workflow heavily using DADA2 and implemented in snakemake
GNU General Public License v3.0
45 stars 19 forks source link

install instructions using cluster snakemake module #29

Closed bishopia closed 1 year ago

bishopia commented 2 years ago

Do you have any particular instructions for installing and running dadasnake using an already installed snakemake module (6.10.0) on our cluster? I get the following while attempting the test run, after completing steps 1-3.


user@cpu018:/dadasnake$ ./dadasnake -l -n "TESTRUN" -r config/config.test.yaml
Running workflow in current session - don't use this setting except with small datasets (e.g. the test data set is okay).
Removing uri version main
Loading uri version main
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`.
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`.```
a-h-b commented 2 years ago

Hi, thanks for reaching out. You may try filling the VARIABLE_CONFIG file to have this: SNAKEMAKE_EXTRA_ARGUMENTS --conda-frontend conda (the two things separated by tab) Let me know if that works. -A