Batch: Gramene Homologs
batch_gramene_homologsRetrieve homologs for up to 50 plant gene loci in one batch call. Filter by ortholog, paralog, or all homology types.
Instructions
Batch version of gramene_homologs. Up to 50 loci per call; shares the homology_type filter across all loci. Returns the standard batch envelope (count + results dict + errors dict).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loci | Yes | List of locus identifiers (max 50) | |
| homology_type | No | ortholog |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | The batch tool name, e.g. batch_resolve_locus_to_uniprot | |
| count | Yes | Number of distinct loci queried, returned (== len(results) + len(errors)). The input list is de-duplicated first, so this is LOWER than the number of loci you sent if you sent a duplicate — that is de-duplication, not a dropped locus. | |
| errors | Yes | locus → '[ClassName] message' for PlantGenomicsError failures | |
| results | Yes | locus → per-locus result dict (same shape as the single-locus tool) |