Find Proteins (Batch)
find_proteins_batchResolve multiple gene symbols to UniProtKB entries concurrently. Returns per-gene accessions, protein lists, and identifies unmatched genes. Ideal for multi-gene protein lookups.
Instructions
Resolve SEVERAL gene symbols to UniProtKB entries in ONE call, running the lookups concurrently -- so N genes cost about one cold round-trip instead of N sequential ones. Use this for multi-gene tasks (e.g. 'get domains for PNKP and NAA10'). Returns by_gene (gene -> accessions, reviewed-first), a flat proteins list tagged with matched_gene, resolved_genes, and unresolved_genes (a symbol that matched nothing is disclosed, never silently dropped). Optionally scope by organism_taxon and reviewed. next_commands fan out to get_protein on each resolved gene's top hit. For a single gene use find_proteins. Signature: find_proteins_batch(genes, organism_taxon=, reviewed=, limit_per_gene=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genes | Yes | Gene symbols to resolve, e.g. ['PNKP','NAA10']. | |
| organism_taxon | No | NCBI taxon id, e.g. 9606 for human. | |
| reviewed | No | True = Swiss-Prot only; False = TrEMBL only. | |
| limit_per_gene | No | Max entries per gene (default 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| _meta | No | ||
| error_code | No | ||
| message | No | ||
| retryable | No | ||
| recovery_action | No | ||
| field | No | ||
| allowed_values | No | ||
| hint | No | ||
| gene_count | No | ||
| count | No | ||
| by_gene | No | ||
| proteins | No | ||
| resolved_genes | No | ||
| unresolved_genes | No |