torognes / swarm

A robust and fast clustering method for amplicon-based studies
GNU Affero General Public License v3.0
123 stars 23 forks source link

swarm 3.0 on conda #157

Closed Gian77 closed 3 years ago

Gian77 commented 3 years ago

What is the best way to install the last version of SAWRM via conda/bioconda? Thanks, G.

frederic-mahe commented 3 years ago

the install command should be like that:

conda install -c <channel> <package_name>=<version>=<build_string>

so, after using

conda search -c bioconda swarm

the proper command for the latest version of swarm should be:

conda install -c bioconda swarm=3.0.0=hc9558a2_0
Gian77 commented 3 years ago

It worked!

I strongly suggest to add an how to install using conda/bioconda in the README for people like me running it on a computer cluster instead my own desktop/laptop.

This is what I did: Activate an environment with Python 3

conda activate py3

Made sure I have all the channels for the Bioconda packages

conda config --add channels defaults conda config --add channels bioconda conda config --add channels conda-forge

The installed SWARM 3 using

conda install -c bioconda swarm=3.0.0=hc9558a2_0

Thanks a lot,

Gian

frederic-mahe commented 3 years ago

Thanks @Gian77 I've added a section in the README (see commit 5af96638e5acb9075d16fec126c174b301ceaaa4).