GET /homology/id/{species}/{id}

ensembl.org:ensembl-rest-api

Summary: Get homologous genes by ID
Operation ID: getHomologyById
Auth: none

Get orthologous and paralogous genes for a specific gene in a specific species. Returns homologous genes with their locations, percent identity, and alignment coverage. This is the primary endpoint for orthology lookup - use it to find the mouse ortholog of a human gene, or paralogs within a species. The `type` parameter lets you filter for orthologs, paralogs, or projection spanned homologs.

Original spec description

Retrieves homology information (orthologs) by species and Ensembl gene ID.

Usage Tips

- Default returns all homologies including distant orthologs - filter by type for cleaner results - Each homology includes `source` and `target` percent identity and alignment coverage - Use `type=orthologues` to get only cross-species orthologs - Use `type=paralogues` to get only within-species paralogs - The `method_link_type` tells you how the homology was inferred (e.g., ENSEMBL_ORTHOLOGUES)

Parameters (4)

id (string, path, required)

Ensembl gene ID

species (string, path, required)

Species name (e.g., human)

target_species (string, query, optional)

Species to search for homologs in

type (string, query, optional, default: all)

Type of homology

Constraints: {'enum': ['orthologues', 'paralogues', 'projections', 'all']}

No probe data for this endpoint yet.