Batch: BAR Predicted Interactions
batch_bar_aiv_interactionsBatch retrieve gene regulatory network papers for Arabidopsis or protein-protein interaction partners for rice across up to 50 loci.
Instructions
Batch variant of bar_aiv_interactions. Fans out per-locus BAR AIV calls in parallel (up to 50 loci); all loci in a single call share the same organism. Each results[locus] is the full single-locus payload (kind=grn_papers for Arabidopsis with papers list, kind=ppi_predictions for rice with partners list).
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 | arabidopsis_thaliana or oryza_sativa — slug, scientific/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) |