Skip to content

Installing Mercat2

Ivy Mateos-Guevara edited this page May 31, 2024 · 4 revisions

Getting started

There are two different ways of installing mercat2: Bioconda Installer and Source Installer

Note

Installing Conda should be done first before running any of these options on the terminal, download Conda to install the latest version to your device


Option 1: Bioconda Installer

  1. Install mamba using conda
conda activate base
conda install mamba

Important

Make sure you install mamba in your base conda environment. We have found that mamba is faster than conda for installing packages and creating environments. Using conda might fail to resolve dependencies.

  1. Install MerCat2

This step is done via Bioconda

mamba create -n mercat2 -c conda-forge -c bioconda mercat2
conda activate mercat2

Option 2: Source Installer

  1. Clone mercat2 from github

  2. Run install_mercat2.sh to install all required dependencies

This script creates a conda environment for you

git clone https://github.com/raw-lab/mercat2.git
cd mercat2
bash install_mercat2.sh
conda activate mercat2