How to Install RELATE on Windows 11

RELATE is a software package for finding and analyzing genealogies from genetic data. This tutorial will guide you on how to install RELATE on a Windows 11 computer.

Prerequisites

  • Python 3.6 or later installed
  • Git installed
  • C++ compiler installed (for Windows, Visual Studio Build Tools or Microsoft Visual C++ Redistributable for Visual Studio 2019 can be used)

Steps

  1. Open the command prompt on your Windows 11 computer by pressing the Windows key + R and typing in "cmd".
  2. Install the NumPy package by entering the command:
pip install numpy
  1. Install the Cython package by entering the command:
pip install cython
  1. Clone the RELATE repository from GitHub using the command:
git clone https://github.com/RELATE-project/relate.git
  1. Navigate inside the relate directory using the command:
cd relate
  1. Install the required packages with the command:
pip install .
  1. Build the C++ extension using the command:
python setup.py build_ext --inplace
  1. Test the installation by running the command:
python -c "import relate;print(relate.__version__)"

This command should output the version number of the installed RELATE package.

Congratulations, you have successfully installed RELATE on your Windows 11 computer!