Skip to content

Installation

Chloë Cornelissen edited this page Nov 23, 2026 · 5 revisions

CAT pack (v7.0.0b0) requires Python 3.11 or newer. CAT pack has been tested on Linux (Ubuntu 24), and the tools are expected to run on macOS.

Install via CONDA

You need a conda-compatible package manager (currently either pixi, conda, or micromamba) and the Bioconda channel already activated (see Usage). Below is shown how how to install with conda (for micromamba and mamba, commands are the same as with conda, just replace 'conda' with e.g. 'mamba').

With conda installed and the Bioconda channel set up (see Usage), to install into an existing and activated environment, run:

conda install cat_pack -c bioconda -c conda-forge

Alternatively, to install into a new environment, run:

conda create -n envname cat_pack -c bioconda -c conda-forge

with envname being the name of the desired environment.

Install via pip

To install CAT pack via pip, run:

python -m pip install cat-pack

If run on an externally managed server or cluster. A virtual environment is highly recommended (and sometimes required) you can do that by running:

python -m venv .venv
source .venv/bin/activate

Then run:

python -m pip install cat-pack

To check if the installation is successful run:

CAT_pack --version

Dependencies and where to get them

If you have installed CAT pack via pip install, you will also need to install the following dependencies (not required for conda installation).

RAT further requires (not needed for CAT and BAT):

Use either BWA or BWA-MEM2 when mapping reads. We recommend BWA-MEM2 due to its speed increase. No mapper is required when supplying existing mappings.

For MMseqs2 GPU searches, install the optional Python dependency:

python -m pip install 'cat-pack[gpu]'

For further GPU setup, see MMseqs2 GPU search.

Put the executables on your PATH or supply their paths with --path_to_diamond, --path_to_mmseqs, --path_to_bwa, or --path_to_samtools on commands that use them.

If the executables are on your PATH you can check the dependencies by running:

CAT_pack --check_dependencies

Clone this wiki locally