Skip to content

JLSteenwyk/orthohmm

Repository files navigation

Logo

Docs · Report Bug · Request Feature


OrthoHMM infers gene orthology using Hidden Markov Models.

If you found orthohmm useful, please cite OrthoHMM: Improved Inference of Ortholog Groups using Hidden Markov Models. Steenwyk et al. 2024, bioRxiv. doi: 10.1101/2024.12.07.627370.



This documentation covers downloading and installing OrthoHMM. Details about each function as well as tutorials for using OrthoHMM are available in the online documentation.


Quick Start

1. Install external dependencies

OrthoHMM has two external dependencies — HMMER and mcl — that can't be installed using pip. Download and install these programs from their respective websites, which are linked in the previous sentence.


2. Install OrthoHMM

# install
pip install orthohmm 
# run
orthohmm <path_to_directory_of_FASTA_files>

Installation

If you are having trouble installing OrthoHMM, please contact the lead developer, Jacob L. Steenwyk, via email or Bluesky to get help.

1. Install external dependencies

OrthoHMM has two external dependencies — HMMER and mcl — that can't be installed using pip. Download and install these programs from their respective websites, which are linked in the previous sentence.


2a. Install OrthoHMM from pip

To install using pip, we recommend building a virtual environment to avoid software dependency issues. To do so, execute the following commands:

# create virtual environment
python -m venv venv
# activate virtual environment
source venv/bin/activate
# install orthohmm
pip install orthohmm

Note, the virtual environment must be activated to use orthohmm.

After using OrthoHMM, you may wish to deactivate your virtual environment and can do so using the following command:

# deactivate virtual environment
deactivate

2b. Install OrthoHMM from source

Similarly, to install from source, we recommend using a virtual environment. To do so, use the following commands:

# download
git clone https://github.com/JLSteenwyk/orthohmm.git
cd orthohmm/
# create virtual environment
python -m venv venv
# activate virtual environment
source venv/bin/activate
# install
make install

To deactivate your virtual environment, use the following command:

# deactivate virtual environment
deactivate

Note, the virtual environment must be activated to use orthohmm.