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.
Metadata
Release files for orthohmm 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| orthohmm-0.2.0.tar.gz | 439.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| orthohmm-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 883.0 kB
Release files / orthohmm-0.2.0.tar.gz
| Download URL | orthohmm-0.2.0.tar.gz |
|---|---|
| Size | 439.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
448a74ec524bb6d1f91cf5ecea13da9d84a0218d1a5b1dafea8f11f908dadaa1
|
|
BLAKE2b-256 checksum How to use checksums |
668d7f7e564e9919d417879d144320efcdae1555b2e7d763e2823c688e58b6a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|
Release files / orthohmm-0.2.0-py2.py3-none-any.whl
| Download URL | orthohmm-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 444.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
90730b970ac194d6a1d3d5841a3dcc2d660545c2eef846c42b561e8d9706b70c
|
|
BLAKE2b-256 checksum How to use checksums |
f2558cc8600c708fe51ad224b986c0e6272b180401631ced0b5bb150c5c76874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|
Security for orthohmm 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.