Install Genin2

Genin2 can be installed using two different methods, based on your preference and workflow. You can choose either, regardless of your operating system:

Method 1: PIP

Before proceeding, please ensure you have already installed Python and Pip (the latter is usually already included with the Python installation).

Troubleshooting tip: if you have installed Python but the pip command doen’t work, try using pip3 in its place.

Troubleshooting tip [MacOS]: if pip install fails, ensure you have gcc or clang installed (needed to build scikit-learn). If not, run xcode-select --install.

Then, open a terminal and run:

pip install genin2

To update the program and include any new genotype that might have been added, run:

pip install --upgrade genin2

Method 2: Conda/Bioconda

Genin2 is also available on the Bioconda channel. Ensure you have Conda (or Mamba) installed and run:

conda install -c bioconda genin2

Test your installation

To check if Genin2 was installed correctly, run:

genin2 --version

It should print version information and exit cleanly.