Batch: Phytozome Locus Metadata
batch_phytozome_lookup_locusBatch lookup multiple Phytozome loci in parallel. Retrieves gene metadata: organism, gene name, chromosome, coordinates, strand, and description from BioMart.
Instructions
Batch variant of phytozome_lookup_locus. Fans out per-locus BioMart queries in parallel (up to 50 loci). Each results[locus] is the full single-locus row (organism_name, gene_name, chromosome, start/end/strand, description).
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 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) |