resolve_locus_to_uniprot
Resolve a plant gene locus to its canonical UniProtKB protein entry, preferring reviewed (Swiss-Prot) records with fallback to TrEMBL. Get accession, name, organism, and sequence details.
Instructions
Resolve a plant locus to its canonical UniProtKB record. Prefers reviewed (Swiss-Prot) entries; falls back to unreviewed (TrEMBL) when no curated record exists (common for non-Arabidopsis plants). organism accepts a canonical slug, scientific/common name, or NCBI taxid (default arabidopsis_thaliana; e.g. oryza_sativa, zea_mays). Returns primaryAccession, uniProtkbId, entryType, recommendedName, geneNames, organism, taxonId, sequenceLength, web_url. This is the protein-side entry point — pair with InterPro / AlphaFold / Reactome / structural-bio tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus | Yes | e.g. AT1G01010 (Arabidopsis), Os01g0100100 (rice) | |
| organism | No | Plant organism — accepts canonical slug (arabidopsis_thaliana), scientific or common name, or NCBI taxid | arabidopsis_thaliana |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus_query | Yes | The locus identifier the user asked about | |
| primaryAccession | Yes | UniProt accession, e.g. Q0WV96 | |
| uniProtkbId | Yes | UniProtKB ID, e.g. NAC1_ARATH | |
| entryType | Yes | e.g. 'UniProtKB reviewed (Swiss-Prot)' or '... (TrEMBL)' | |
| reviewed | Yes | True if Swiss-Prot (curated) | |
| recommendedName | No | Recommended protein name | |
| geneNames | No | Gene symbols, e.g. ['NAC001'] | |
| organism | No | Scientific name | |
| taxonId | No | NCBI taxonomy ID | |
| sequenceLength | No | Protein length in residues | |
| web_url | No | Browser URL for the UniProt entry |