Gene Tree Members
gene_tree_membersList member genes of a plant gene tree from Ensembl Compara. Query by any member locus or tree ID; returns locus, protein, species, and organism per member.
Instructions
List the member genes of an Ensembl Compara (plants) gene tree (rest.ensembl.org /genetree; free, no key). Name the tree by locus= (any member gene, with organism=) and Ensembl finds the tree that gene is in now, or by gene_tree_id=; exactly one. A gramene_homologs gene_tree_id comes from an older Compara release and may not exist here, so prefer locus=. Each member gives the locus (the id the locus-keyed tools accept), protein_id, species and taxid, and organism (the canonical slug, or null for a species outside this server's 12). target_organism= keeps one organism's members; omit it for every species. total counts members before limit; truncated=true when limit cut some off. gene_tree_id in the answer is the tree served. An unknown tree id, or a locus in no tree, is a not-found error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| locus | No | Any member gene, e.g. AT1G01010; Ensembl finds its current tree. Omit when passing gene_tree_id. | |
| organism | No | The organism of locus — canonical slug, scientific or common name, or NCBI taxid. | arabidopsis_thaliana |
| gene_tree_id | No | e.g. EPlGT00940000167082. Omit when passing locus. | |
| target_organism | No | Keep one organism's members — canonical slug, scientific or common name, or NCBI taxid. Omit for every species. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus | No | The member locus asked by; null when asked by gene_tree_id | |
| total | Yes | How many members after the organism filter exist upstream for this query, all pages (pre-cap) (#123) | |
| members | Yes | ||
| organism | No | The organism of locus; null when asked by gene_tree_id | |
| returned | Yes | Rows in this payload (#123) | |
| truncated | Yes | True when limit cut members off | |
| gene_tree_id | Yes | The tree answered, e.g. EPlGT00940000167082: the id asked for, or the tree Ensembl holds the locus in now | |
| target_organism | Yes | The organism filter; null = every species | |
| upstream_version | No | Ensembl release that produced THIS response, — always null today: this backend states no release on its responses; upstream_release(backend='ensembl_plants') reports the release its own endpoint calls current at query time, or why there is none. null means Ensembl 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. |