InterPro: Protein Domains
interpro_domainsRetrieve the InterPro domain architecture for a plant gene locus. Resolves the locus to a UniProt protein and returns all InterPro entries with type, source, and residue spans, plus a count by type.
Instructions
Fetch the InterPro domain / family architecture for a locus (www.ebi.ac.uk/interpro; free, no key). Resolves the locus → UniProt accession, then returns the protein's InterPro entries — each with accession, name, type (domain / family / homologous_superfamily / …), source_database (Pfam appears here as source_database='pfam', not a separate tool), the integrated InterPro accession, and residue spans — plus a count_by_type rollup. A protein with no annotated domains returns found=true with an empty list; a locus with no UniProt entry raises a typed NotFoundError. domain_count is the true total even when the row list is page-capped. Works for all 12 organisms (UniProt-keyed). Defaults to arabidopsis_thaliana; pass organism= for other species.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus | Yes | e.g. AT4G09760 (Arabidopsis), Os01g0100100 (rice RAP-DB) | |
| organism | No | Plant organism — accepts canonical slug (arabidopsis_thaliana), scientific or common name, or NCBI taxid | arabidopsis_thaliana |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | True once the locus resolved to a UniProt entry | |
| locus | Yes | ||
| domains | Yes | ||
| accession | Yes | Resolved UniProt accession | |
| truncated | Yes | True if the row list was page-capped (< domain_count) | |
| domain_count | Yes | Total InterPro entries (pre-cap) | |
| count_by_type | Yes | Rollup of entry count by type | |
| upstream_version | No | InterPro release that produced THIS response, as stated by the upstream's own header (e.g. '109.0'). null means InterPro did not state one — never that no release exists, and never inferred from a separate metadata call, which can describe a different release than the one that answered. |