Repository navigation
Installation
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.
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 catAlternatively, to install into a new environment, run:
conda create -n envname catwith envname being the name of the desired environment.
To install CAT pack via pip, run:
python -m pip install cat-packIf 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/activateThen run:
python -m pip install cat-packTo check if the installation is successful run:
CAT_pack --versionIf you have installed CAT pack via pip install. You will need to install the following dependencies.
-
DIAMOND (default aligner), https://github.com/bbuchfink/diamond.
-
MMseqs2 (alternative aligner), https://github.com/soedinglab/MMseqs2.
RAT further requires (not needed for CAT and BAT):
Use either BWA or BWA-MEM2 when mapping reads. BWA-MEM2 is recommended due to its speed increase. No mapper is required when supplying existing mappings.
-
BWA-MEM2, https://github.com/bwa-mem2/bwa-mem2
-
SAMtools, http://www.htslib.org/download/.
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