Gramene Homologs
gramene_homologsRetrieve orthologs and paralogs for a plant locus from Gramene compara. Filter by homology type or target organism to identify evolutionary counterparts and gene tree relationships.
Instructions
Fetch orthologs and paralogs for a plant locus from Gramene compara (data.gramene.org v69). Default homology_type='ortholog'; pass 'paralog' for in-species duplicates or 'all' for everything. 'ortholog' includes syntenic_ortholog_* rows; homoeologs (polyploid subgenome copies) come back only under 'all', and excluded_categories counts every category the filter left out. Returns target_locus + homology category (type) + shared gene_tree_id per hit. Rows carry no taxon unless with_organism=true (adds 'organism' per row) or target_organism is given, which filters to one organism before the cap and adds 'organism' per row. Paralogs here are within_species_paralog only: Gramene drops Compara's other_paralog ('ancient paralogues'); ensembl_plants_paralogs lists both. Pair with resolve_locus_to_uniprot for protein-level enrichment and with blast_sequence for sequence similarity discovery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max homolog rows to return. 'total' always reports the true pre-cap count and 'truncated' says whether the cap bit. | |
| locus | Yes | e.g. AT1G01010 (Arabidopsis), Os01g0100100 (rice) | |
| cursor | No | next_cursor from the previous page; omit for the first (#123) | |
| homology_type | No | Filter on homology kind | ortholog |
| with_organism | No | Add 'organism' (Gramene species slug, null when unknown) to every row without filtering; one extra call per 100 rows (#130) | |
| target_organism | No | Keep only homologs in this organism (slug, scientific/common name, or NCBI taxid), filtered BEFORE the cap so a hub gene's rice or wheat orthologs cannot be pushed past 'limit' by other species. Adds 'organism' to every row and 'total_all_organisms'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus | Yes | ||
| total | Yes | How many homologs (after any target_organism filter) exist upstream for this query, all pages (pre-cap) (#123) | |
| release | Yes | Gramene release identifier, e.g. v69 | |
| homologs | Yes | ||
| returned | Yes | Rows in this payload (#123) | |
| truncated | No | True when the row list was capped (< total); pass limit= to change the cap | |
| 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) | |
| target_organism | No | Canonical organism the rows were filtered to, when target_organism was passed | |
| upstream_version | No | Gramene release that produced THIS response, as stated by the release pinned in the request path (e.g. 'v69'); same value as release. null means Gramene 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. | |
| excluded_categories | Yes | Homologs Gramene returned that homology_type left out, counted per category (e.g. {'within_species_paralog': 3, 'homoeolog_one2one': 2} under 'ortholog'); empty under 'all'. Counted over every organism, before any target_organism filter | |
| total_all_organisms | No | Homolog total before the organism filter; present only when filtered |