get_gene_xrefs
Fetch cross-database references for a plant locus from Ensembl Plants. Returns identifiers from UniProt, NCBI Gene, TAIR, and more, grouped by database for easy lookup.
Instructions
Fetch cross-database references (UniProt, NCBI Gene, TAIR, ArrayExpress, …) for a plant locus from Ensembl Plants. Defaults to arabidopsis_thaliana; pass organism= for other Ensembl Plants species. Returns count + raw xref list + a by_db rollup keyed on Ensembl's dbname (e.g. 'Uniprot_gn', 'EntrezGene') for fast lookup of a single foreign identifier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus | Yes | e.g. AT1G01010 (Arabidopsis), Os01g0100100 (rice) | |
| organism | No | Plant organism — accepts canonical slug (arabidopsis_thaliana), scientific or common name, or NCBI taxid | arabidopsis_thaliana |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus | Yes | ||
| organism | Yes | ||
| count | Yes | Number of xref records returned | |
| xrefs | Yes | Raw Ensembl xref records | |
| by_db | Yes | dbname → primary_ids[]; e.g. {'Uniprot_gn': ['Q0WV96']} |