# Install

# Install Harpy

Harpy is hosted on Bioconda! That means to install it, you just need to have mamba (or conda) on your Linux-based system and install it with a simple command. You can install Harpy into an existing environment or create a new one for it (recommended).

# install into a new environment

# recommended

The code snippet below creates a new environment called harpy (the -n harpy part) and installs harpy into it from the bioconda channel (-c bioconda part). You can name this environment anything (e.g. haplotagging, jeanclaudevandamme, etc.).

install harpy
mamba create -n harpy -c bioconda -c conda-forge harpy

Once conda finishes the install, you can activate the environment (with whatever -n <env_name> you gave it) and harpy will be callable from the command line.

activate harpy environment
mamba activate <env_name>

# install into an existing evironment

If you want to install harpy into an existing environment, then with an environment already activated (via mamba activate <env_name>) simply use the mamba install command and harpy will be callable from the command line.

install harpy
mamba install -c bioconda -c conda-forge harpy

# Update Harpy

If you want to update Harpy, the process is quite similar:

update harpy
mamba activate <env_name>
mamba update -c conda-forge bioconda::harpy