batch_resolve_locus_to_uniprot
Resolves up to 50 plant locus identifiers to UniProtKB records in a single batch, providing accession IDs, gene names, organism details, and sequence length.
Instructions
Batch variant of resolve_locus_to_uniprot. Fans out per-locus UniProtKB searches in parallel (up to 50 loci). Each results[locus] is the full single-locus record (primaryAccession + uniProtkbId + entryType + geneNames + organism + sequenceLength + web_url + …).
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 |
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 |