OrthoDB: Orthologs
orthodb_orthologsResolve a plant gene locus to its OrthoDB ortholog group and cross-species member genes. Returns group metadata and per-organism gene lists, with optional target_organism filtering.
Instructions
Resolve a locus to its OrthoDB ortholog group and cross-species member genes (data.orthodb.org; free, no key). Searches at the Viridiplantae level, then returns the group metadata (name, evolutionary rate) and member genes grouped by organism (organism, gene id, description). organism_count is the true cluster total; the member list is capped with truncated flagged. found=false when the locus maps to no ortholog group. Works for all 12 organisms. NOTE: unlike the other locus tools, organism= does NOT scope the search — the group is resolved from the locus id alone at the Viridiplantae level, and organism is only validated and echoed back. Passing a mismatched organism therefore still returns the locus's real group. target_organism= DOES filter: it keeps only that organism's members, before the cap, so a 2,000-member group cannot hide rice or wheat behind 'limit'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max ortholog member rows to return. 'member_count' always reports the true pre-cap total and 'truncated' says whether the cap bit. | |
| locus | Yes | e.g. AT1G01060 (Arabidopsis), Os01g0100100 (rice RAP-DB) | |
| cursor | No | next_cursor from the previous page; omit for the first (#123) | |
| organism | No | Plant organism — accepts canonical slug (arabidopsis_thaliana), scientific or common name, or NCBI taxid. Validated and echoed only: it does NOT scope the OrthoDB search, which keys on the locus id at the Viridiplantae level | arabidopsis_thaliana |
| target_organism | No | Keep only this organism's members (slug, scientific/common name, or NCBI taxid), filtered BEFORE the cap. Adds 'member_count_all_organisms' for the whole group. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | True if the locus maps to an ortholog group | |
| group | No | Group metadata {id, name, evolutionary_rate, level_name, …} | |
| locus | Yes | ||
| total | Yes | How many members (all organisms, or target_organism when given) exist upstream for this query, all pages (pre-cap) (#123) | |
| members | No | Per-gene {organism, gene_id, xref, description} | |
| organism | Yes | Canonical organism as requested — echoed, not inferred from the hit. Does not scope the search (see class docstring) | |
| returned | Yes | Rows in this payload (#123) | |
| truncated | Yes | True if the member list was capped | |
| next_cursor | No | Pass back as cursor= to get the rows after this page; null on the last page. Opaque, and bound to this tool and query (#123) | |
| member_count | Yes | Member genes before the cap (pre-cap; = total) | |
| organism_count | Yes | Number of member organisms in the whole ortholog group (pre-cap) — the true cluster total, unaffected by the member cap below | |
| target_organism | No | Canonical organism the members were filtered to, when target_organism was passed | |
| upstream_version | No | OrthoDB release that produced THIS response, as stated by the release pinned in every request path (/v12/). null means OrthoDB did not state one — never that no release exists, and never inferred from a separate metadata call, which can describe a different release than the one that answered. | |
| member_count_all_organisms | No | Whole-group member total (pre-filter, pre-cap); present only when filtered |