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
- Open the command prompt on your Windows 11 computer by pressing the Windows key + R and typing in "cmd".
- Install the NumPy package by entering the command:
pip install numpy
- Install the Cython package by entering the command:
pip install cython
- Clone the RELATE repository from GitHub using the command:
git clone https://github.com/RELATE-project/relate.git
- Navigate inside the relate directory using the command:
cd relate
- Install the required packages with the command:
pip install .
- Build the C++ extension using the command:
python setup.py build_ext --inplace
- 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!