Skip to main content

HMM-based orthogroups

Project description

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.


Performance

As of v0.2.0, OrthoHMM ships a built-in profile HMM + k-mer prefilter search engine that replaces the phmmer subprocess. It scales to 100 bacterial proteomes (~352K total proteins) on a single 32-core node:

proteomes wall time peak RAM orthogroups
5 13s 0.29 GB 1,196
20 4 min 0.44 GB 8,680
60 28 min 1.65 GB 19,029
100 77 min 4.67 GB 27,328

Numbers from the bacterial scaling benchmark (RefSeq, 32 threads, 1 TB node). The legacy phmmer path is still available via --search_mode phmmer but is no longer the default.



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 one external dependency — mcl — that can't be installed using pip. Download and install it from the website linked above.

HMMER is optional and only required if you opt into the legacy --search_mode phmmer pipeline; the default built-in search engine has no HMMER dependency.


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 one external dependency — mcl — that can't be installed using pip. Download and install it from the website linked above.

HMMER is optional and only required if you opt into the legacy --search_mode phmmer pipeline; the default built-in search engine has no HMMER dependency.


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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orthohmm-0.2.0.tar.gz (439.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orthohmm-0.2.0-py2.py3-none-any.whl (444.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file orthohmm-0.2.0.tar.gz.

File metadata

  • Download URL: orthohmm-0.2.0.tar.gz
  • Upload date:
  • Size: 439.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for orthohmm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 448a74ec524bb6d1f91cf5ecea13da9d84a0218d1a5b1dafea8f11f908dadaa1
MD5 85dc5947fcf3d80bcc10e8420e49e2f8
BLAKE2b-256 668d7f7e564e9919d417879d144320efcdae1555b2e7d763e2823c688e58b6a0

See more details on using hashes here.

File details

Details for the file orthohmm-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: orthohmm-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 444.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for orthohmm-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 90730b970ac194d6a1d3d5841a3dcc2d660545c2eef846c42b561e8d9706b70c
MD5 40091af8a6f59f5ad2579571a9f6eda9
BLAKE2b-256 f2558cc8600c708fe51ad224b986c0e6272b180401631ced0b5bb150c5c76874

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page