Thor Installation

Thor was written using Python 3. 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 10/11.

Prerequisites

  • Python 3.9 or later

  • pip or conda package manager

Installation Steps

2. Obtain the source code

Thor will be uploaded to Pypi. At the moment, you can download the Thor source code from GitHub (https://github.com/GuangyuWangLab2021/Thor) for local installation.

Navigate to the directory:

cd Thor

3. Install Thor

With your virtual environment activated, install Thor using pip:

pip install .

For additional analyses such as pathway enrichment, run:

pip install ".[analysis]"

4. Verify the installation

To verify that Thor is installed correctly, run:

python -c "import thor; print(thor.__version__)"

If the installation is successful, you should see the following output:

0.1.4