Skip to main content

Logo

Docs · Report Bug · Request Feature

@jlsteenwyk on X
Bioconda Downloads Supported Python versions: 3.12, 3.13, 3.14, and 3.15


Orthofisher conducts automated and high-throughout identification of a predetermined set of orthologs, which can be used for phylgenomics, gene family copy number determination and more!

If you found orthofisher useful, please cite orthofisher: a broadly applicable tool for automated gene identification and retrieval. Steenwyk & Rokas 2021, G3 Genes|Genomes|Genetics. doi: 10.1093/g3journal/jkab250.



Guide

Quick Start
Performance Assessment
FAQ




Quick Start

For detailed instructions on usage and a tutorial, please see the online documentation.


1) Prerequisite

Before installing orthofisher, please first install HMMER3 and add the HMMER to your .bashrc path. For example, my .bashrc has the following:

export PATH=$PATH:/home/steenwj/SOFTWARE/hmmer-3.1b2-linux-intel-x86_64/binaries

2) Install orthofisher

Supported Python versions: 3.12, 3.13, 3.14, and 3.15.

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


To install via anaconda, execute the follwoing command:

conda install -c jlsteenwyk orthofisher

Visit here for more information: https://anaconda.org/jlsteenwyk/orthofisher


To install via pip, execute the follwoing command:

pip install orthofisher

To install from source, execute the follwoing command:

# download
git clone https://github.com/JLSteenwyk/orthofisher.git
# change dir
cd orthofisher/
# install
make install

If you run into software dependency issues, install orthofisher in a virtual environment. To do so, create your virtual environment with the following command:

# create virtual environment
python -m venv .venv
# activate virtual environment
source .venv/bin/activate

Next, install the software using your preferred method above. Thereafter, you will be able to use orthofisher.

To deactivate your virtual environment, use the following command:

# deactivate virtual environment
deactivate

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


3) Run orthofisher

orthofisher -m hmms.txt -f fasta_arg.txt

To query nucleotide sequences with nucleotide HMMs, use:

orthofisher -m hmm_nucl.txt -f fasta_nucl.txt --seq-type nucleotide

The default --seq-type auto mode infers the tool per HMM from the ALPH header:

  • ALPH DNA / ALPH RNA -> nhmmer
  • other alphabets (for example amino-acid models) -> hmmsearch

By default, orthofisher now writes a slim output:

  • scog/
  • long_summary.txt
  • short_summary.txt

To additionally write larger raw outputs (all_sequences/ and hmmsearch_output/), use:

orthofisher -m hmms.txt -f fasta_arg.txt --verbose-output

If your output directory already exists, orthofisher will stop with an error. To overwrite the existing output directory, add:

orthofisher -m hmms.txt -f fasta_arg.txt --force

You can combine both flags:

orthofisher -m hmms.txt -f fasta_arg.txt --verbose-output --force

To continue an interrupted run in an existing output directory, use:

orthofisher -m hmms.txt -f fasta_arg.txt -o orthofisher_output --resume

--resume reuses checkpoint state, skips completed FASTA/HMM pairs, and rewrites short_summary.txt from the resumed totals.




Performance Assessment

Using 1,530 sequence similarity searches across six model eukaryotic proteomes, the performance of orthofisher was compared to results obtained from BUSCO. Examination of precision and recall revealed near perfect performance. More specifically, orthofisher had a recall of 1.0 and precision of 0.99. Precision is less than 1.0 because priors of expected sequence length and sequence similarity scores--which are not implemented in orthofisher--resulted in more missing genes in the BUSCO pipeline than the orthofisher pipeline.




FAQ


I am having trouble installing orthofisher, what should I do?

Please install orthofisher using a virtual environment as described in the installation instructions. If you are still running into issues after installing in a virtual environment, please contact Jacob L. Steenwyk via email or twitter.




orthofisher is developed and maintained by Jacob Steenwyk

Metadata

Release files for orthofisher 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orthofisher 1.2.0
File Size Uploaded Provenance Actions
orthofisher-1.2.0.tar.gz 15.1 kB Without provenance Details for orthofisher-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for orthofisher 1.2.0
File Interpreter ABI Platform Actions
orthofisher-1.2.0-py3-none-any.whl Python 3 none any Details for orthofisher-1.2.0-py3-none-any.whl

Total release size: 29.3 kB

Release files / orthofisher-1.2.0.tar.gz

Download URL orthofisher-1.2.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d193a3be93e79e84c3fd7eb29324e2c9e24423b46d9e9bb5b2a8be412e5a0b3e
BLAKE2b-256 checksum
How to use checksums
a6c982a904925c758ccfd4db039f02d7158e8c685bde11c5648b97f9563e5e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / orthofisher-1.2.0-py3-none-any.whl

Download URL orthofisher-1.2.0-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb86d5b7f9f0b78a4bffdcbcd96574025e2250c3ef7689a9954e4ac1c3816e7c
BLAKE2b-256 checksum
How to use checksums
c76dd3b62e60205b0070e14f8ef34be8ecd93abe56459564ce40503d34b57316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for orthofisher 1.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page