From proteins to relationships
Start with one protein FASTA file per species. The analysis groups related genes and investigates their evolutionary history through sequence comparisons and phylogenetic inference.
OrthoFinder is a comprehensive phylogenomic analysis tool designed to identify orthogroups, infer orthologous genes, reconstruct evolutionary trees, and characterize gene duplication events. Its integrated computational framework enables comparative genomics research and systematic investigation of evolutionary relationships across multiple species.
OrthoFinder is a comparative genomics tool that reconstructs relationships among genes from multiple species. It helps turn a collection of protein sequences into interpretable gene families and evolutionary histories.
Start with one protein FASTA file per species. The analysis groups related genes and investigates their evolutionary history through sequence comparisons and phylogenetic inference.
Use the results to investigate conserved families, duplication patterns, and relationships across lineages. Evolutionary assignments guide further study; they do not alone prove identical function or an adaptive mechanism.
OrthoFinder is developed by David Emms and Steven Kelly at the University of Oxford. Citing the OrthoFinder paper credits the methods behind your orthogroups, gene trees and species tree. Version 3 is described in “OrthoFinder: scalable phylogenetic orthology inference for comparative genomics”.
Emms, D.M. & Kelly, S. OrthoFinder: phylogenetic orthology inference for comparative genomics. Genome Biology 20, 238 (2019).doi: 10.1186/s13059-019-1832-y
OrthoFinder combines accuracy, speed and complete phylogenetic output, which is why it has become a standard tool in comparative genomics.
OrthoFinder normalises for gene length bias before clustering, which gives more accurate orthogroups than raw BLAST scores.
OrthoFinder infers orthologs from rooted gene trees, separating orthologs from paralogs with evolutionary context.
OrthoFinder infers a species tree and investigates its root using duplication evidence. The tree inference method depends on the release and workflow.
OrthoFinder maps every well-supported duplication to its branch on both the gene tree and the species tree.
OrthoFinder uses DIAMOND for searches, running far faster than BLAST with comparable sensitivity.
OrthoFinder writes overall and per-species statistics, ready for tables and figures in your paper.
OrthoFinder runs the complete phylogenetic orthology pipeline from a single command, passing each stage's output straight to the next.
One FASTA file per species in a single folder.
Every protein compared against every other.
Normalised scores clustered into gene families.
A tree built for each orthogroup.
Inferred and rooted from gene trees.
Pairwise orthologs and mapped duplication events.
OrthoFinder conda installs are the quickest route because the bioconda package brings every default dependency with it. Pick the method that fits your machine or cluster.
OrthoFinder conda environments keep the tool and its aligners isolated from other software on your system.
$ conda create -n of3_env python=3.12 $ conda activate of3_env $ conda install -c bioconda orthofinder $ orthofinder -f ExampleData
After extracting the ZIP archive, open a terminal in its source folder and install the local package into a virtual environment.
$ python3 -m venv of3_env $ . of3_env/bin/activate $ pip install . $ orthofinder --version
OrthoFinder Docker images bundle every dependency, so the same analysis runs identically on a laptop, server or cloud instance.
$ docker pull davidemms/orthofinder $ docker run -it --rm -v $(pwd):/input:Z davidemms/orthofinder orthofinder -f /input
Extract the ZIP archive first. From its parent directory, enter the extracted source folder and run the commands below; adjust the folder name if needed.
$ cd OrthoFinder-main $ python3 -m venv of3_env $ . of3_env/bin/activate $ pip install .
Choose your analysis settings, then copy the command to run OrthoFinder.
OrthoFinder runs on Linux and macOS, and on Windows through WSL. Default settings need DIAMOND, FAMSA, FastTree and MCL, which conda and Docker include.
Choose the output that matches the biological question, then inspect the relevant sequences, annotations, and trees before drawing a conclusion.
Compare the distribution and copy counts of families across selected species. Check annotation quality before interpreting an apparent gain, expansion, or loss.
Investigate relationships between genes in a reference species and a focal organism. Review duplicated branches before transferring a precise functional annotation.
Use gene trees and mapped events to develop hypotheses about ancestral and recent duplications. Distinguish the inferred event from its proposed biological effect.
Inspect comparable gene sets and their alignments for evolutionary analysis. Single copy status is useful context, but alignment quality and sampling still matter.
OrthoFinder writes its output to OrthoFinder/Results_<date>/ inside your proteome folder. Click a folder to see what each file holds.
OrthoFinder outgroup choice is automatic by default: STRIDE finds the root from gene duplication events. When your study needs a fixed root, give OrthoFinder a rooted species tree instead.
-s species_tree_rooted.nwk, or rerun from earlier results with -ft.$ orthofinder -f proteomes/ -s species_tree_rooted.nwk
OrthoFinder input from NCBI is easy to collect with the NCBI Datasets command-line tool, which downloads the annotated protein FASTA for any assembly accession.
$ datasets download genome accession GCF_000001405.40 --include protein $ unzip ncbi_dataset.zip
Use the Download button in the header or hero to request the ZIP source archive. After the file is saved, extract it before installing OrthoFinder.
Click Download in the header or hero. Your browser will request the archive; depending on your browser settings, it may ask where to save the file.
Extract the ZIP, open a terminal inside the extracted source folder, and use the local source steps in the Installation section. The ZIP contains source code, not a standalone installer.
Platform support depends on the installed release and its dependencies. Check your processor architecture as well as the operating system.
Linux is supported. Bundled analysis programs target Intel/AMD x86-64; ARM systems need compatible dependency installations.
macOS is supported with compatible analysis programs. On Apple silicon, install dependencies for the selected environment and architecture.
Use the Linux workflow inside WSL2. Validate its environment and file paths before launching a complete analysis.
A similarity search finds sequence matches. OrthoFinder combines sequence evidence with grouping and phylogenetic analysis to investigate orthogroups, orthology, and duplication histories. A best scoring match alone does not establish an evolutionary relationship.
Version 3 supports core assignment for larger species collections. Earlier workflows may be needed to reproduce an existing study. Record the release and check its output schema before reusing old scripts; compatible inputs do not guarantee identical results.
Keep the first relevant error, command, log, and software version. Test one explanation at a time and preserve valid intermediate results.
Activate the environment where the package was installed. Check the executable path and run orthofinder --version in that same terminal or scheduled job.
Identify the first failed analysis program in the log. Confirm that the selected tool can execute in the actual environment and that its input and output paths are accessible.
Check FASTA formatting, empty records, duplicate identifiers, and sequence type. Keep a mapping to the original annotation when correcting names or representative selection.
Inspect the exit reason, scheduler limits, memory use, free disk space, and permissions. A stopped job does not necessarily indicate a biological problem with the dataset.
Review per-species recovery and the families behind the pattern. Incomplete annotations, sparse sampling, and fragmentary sequences can affect interpretation.
Use the continuation instructions for your installed release and completed stage. Preserve its working files and avoid reusing state after silently changing the input collection.
The software requirements below describe the current 3.2 release. Older versions and optional methods can differ; inspect the help and dependencies for the release you actually install.
A useful safety check covers the software source, execution environment, permissions, and the data included in diagnostic reports. It is not a guarantee that every archive or result is risk free.
Record where the archive came from and which release or source revision you installed. Inspect the extracted files before executing commands; do not treat a familiar filename as verification.
Use a dedicated environment and ordinary user permissions. Read commands before running them, especially when they access local folders or modify an existing result directory.
Keep unpublished sequences and sensitive metadata in an appropriate location. Remove access tokens, private paths, and unrelated information before sharing error reports.
Review input quality, sampling, and family evidence before publication. A completed run establishes execution success, while biological claims still require appropriate validation.
Evaluate the workflow against your question, available data, and computing resources rather than expecting one configuration to suit every project.
OrthoFinder supports comparative genomics by identifying related gene groups and reconstructing evolutionary relationships. Its outputs help researchers investigate orthology, gene family history, and duplication patterns.
Prepare one FASTA file of protein sequences per species and place the files together in an input directory. Keep identifiers traceable to their source annotations.
Use a documented representative selection policy for each locus. Including redundant transcript isoforms can inflate apparent copy counts and complicate comparisons between species.
Use clear, distinct filenames and preserve a record of which species and annotation each file represents. Avoid ambiguous names that become difficult to distinguish in output tables.
Create and activate an isolated environment, then install the OrthoFinder package using the appropriate configured channels. Record the resolved package version and environment specification.
Run orthofinder --version in the same environment you will use for analysis. Save the reported version with your research records.
Run orthofinder -f ExampleData on the example dataset available with the project. Confirm that the analysis finishes, rather than checking only that the help message opens.
Use a compatible Linux environment such as WSL and validate the required dependencies there. Keep the input paths and working directory accessible from that environment.
Choose a validated release suited to your workflow. When reproducing published results, match the original software and dependency versions as closely as possible.
Audit sequence identifiers, empty records, representative selection, and annotation provenance. Finish a small test first and confirm that adequate memory, storage, and runtime are available.
An orthogroup contains genes descended from one ancestral gene at the chosen species comparison level. It can include multiple copies from a species following duplication.
No. An orthogroup is an ancestral grouping, while orthology is a relationship associated with speciation. Genes in one group are not necessarily all pairwise orthologs.
Hierarchical orthogroups describe ancestral gene groups at particular species tree nodes. Select a node whose descendant species match the clade relevant to your question.
Yes. The -s option accepts a supplied species tree. Verify its rooting and ensure that its species labels match the analyzed dataset.
Choose taxa that address the evolutionary question and cover relevant diversity. Check whether uneven annotation quality or excessive representation of one clade could distort interpretation.
The core assignment workflow supports larger collections by adding species to an existing core analysis. Core selection and available computing resources remain important design decisions.
The -t and -a options control different aspects of parallel execution. Check the installed help and keep settings within your allocated resources.
Inspect the gene count table in the orthogroup results. Confirm the output schema for your installed release before using the table in downstream scripts.
No. Incomplete models, divergence, limited sampling, and detection limits can also explain an unassigned record. Investigate sequence and genomic evidence before claiming a new gene.
Runtime depends on sequence counts, family sizes, selected methods, and hardware. Measure a representative pilot rather than relying on a fixed estimate for every dataset. Clear documentation helps reproducibility across independent analyses.