How to Install RELATE on macOS

RELATE is a package for inferring population genetic parameters from next-generation sequencing data. It can be installed on macOS, but there are several steps you need to follow.

Prerequisites

Before you can install RELATE on macOS, you need to have the following software installed:

If you don't have any of these installed, you can follow the relevant installation instructions.

Installation Steps

Follow the instructions below to install RELATE on macOS:

  1. Open the Terminal app on your macOS.
  2. Install the following packages using Homebrew:
    brew install boost
    brew install cmake
  1. Clone the RELATE repository from GitHub using git clone command:
    git clone https://github.com/leonardo-ubc/relate.git
  1. Change directory to relate:
    cd relate
  1. Build the coalHMM package:
    cd coalHMM
    ./compile.sh
    cd ..
  1. Install RELATE using the setup script:
    python3 setup.py build_ext --inplace
    sudo python3 setup.py install
  1. Test your installation by running the following command:
    relate -h

You should see a list of available options.

Congratulations! You have installed RELATE on macOS. You can now use it for analyzing population genetic data.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!