batch_locus_go_annotations
Retrieve Gene Ontology annotations for up to 50 plant loci by resolving each to UniProt and querying QuickGO. Handles errors per locus, returning results and failures separately.
Instructions
Batch variant of locus_go_annotations. Two-stage fanout — each locus is resolved to UniProt and then queried in QuickGO. Per-locus NotFoundError from either stage lands in errors[] with the typed prefix preserved. Capped at 50 loci.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loci | Yes | List of locus identifiers (1–50). Successes land in results[locus]; PlantGenomicsError failures in errors[locus]. | |
| organism | No | Plant organism — accepts canonical slug (arabidopsis_thaliana), scientific or common name, or NCBI taxid | arabidopsis_thaliana |
| limit | No | Max annotations per locus from QuickGO (1–100, default 50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | The batch tool name, e.g. batch_resolve_locus_to_uniprot | |
| count | Yes | Number of loci in the input list | |
| results | Yes | locus → per-locus result dict (same shape as the single-locus tool) | |
| errors | Yes | locus → '[ClassName] message' for PlantGenomicsError failures |