GET /genetree/id/{id}

ensembl.org:ensembl-rest-api

Summary: Get gene tree
Operation ID: getGeneTree
Auth: none

Retrieve a phylogenetic gene tree for a given Ensembl gene ID. Returns the full tree structure showing evolutionary relationships between orthologous and paralogous genes across species. Includes branch lengths, bootstrap values, and gene events (duplications, speciations). Use for evolutionary analysis, orthology prediction, and understanding gene family expansion.

Original spec description

Retrieve a gene tree using a stable identifier.

Usage Tips

- Returns very large trees (can be 500KB+) for ancient gene families - Trees are rooted and include timing information for duplication events - The `tree` field contains Newick or NHX format (depending on accept header) - Use `?nh_format=full` to get extended NHX format with more metadata - Sequences can optionally be included with `?sequence=protein` or `sequence=cdna`

Parameters (1)

id (string, path, required)

Gene tree stable ID

Examples (1)

TitleTypeURLAction
Get gene tree for BRCA2 probe-gate https://rest.ensembl.org/genetree/id/ENSGT00390000003602?content-type=application/json

No probe data for this endpoint yet.