Installation

Thor is written in Python. Thor can be installed with Python version 3.9 or later. We have tested the installation on Linux (Ubuntu and Rocky Linux), MacOS, and Windows 11.

Step1: Create a virtual environment (recommended)

  • Create a new conda environment, named “Thor”, with Python version 3.9 or above. In terminal, run

conda create -n Thor python=3.9

  • Activate the newly created environment:

conda activate Thor

Step2: Obtain Thor source code.

  • Thor will be released on GitHub under an open-source license and uploaded to Pypi. At the moment, you can download the zipped Thor source code to your machine and install it locally.

  • Unzip the downloaded file and navigate to the directory, for example, “Thor/”

cd Thor

Step3: Install Thor

  • With your virtual environment activated, install Thor using pip. Make sure you are in the Thor directory:

pip install .

  • If you would like to install packages for additional analyses such as pathway enrichment, run:

pip install ".[vis, analysis]"