Get Protein Features
get_protein_featuresRetrieve sequence features with coordinates from UniProt: domains, regions, binding sites, PTMs, signal peptides, and more. Filter by type or include secondary structure.
Instructions
Return sequence features with begin/end coordinates (FALDO) for an entry: domains, regions, transmembrane segments, binding/active sites, PTMs, signal peptides, secondary structure, mutagenesis sites, and more. feature_types=['domain'] returns positional domain extents; each returned type round-trips to the filter vocabulary. Filter keys come from capabilities (feature_types); a zero-match filter echoes the accepted keys as a filter_hint. Secondary-structure features (helix/strand/turn) are hidden by default and disclosed under excluded_secondary_structure; set include_secondary_structure=true (or name them in feature_types) to return them. Signature: get_protein_features(accession, feature_types=, limit=, include_secondary_structure=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accession | Yes | UniProtKB accession, e.g. P05067 (isoforms like P05067-2 accepted). | |
| feature_types | No | Feature-type keys to keep (omit for all). | |
| limit | No | Max features to return (default 200). | |
| include_secondary_structure | No | Include helix/strand/turn features (hidden by default). |
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 | ||
| accession | No | ||
| count | No | ||
| features | No | ||
| filter_hint | No | ||
| truncated | No | ||
| excluded_secondary_structure | No |