Get Position Tolerance
get_position_toleranceRetrieve missense tolerance, Pfam domain affiliation, and variant counts for a specific protein residue position using a pre-built tolerance landscape.
Instructions
Return one residue's missense tolerance (sw_dn_ds + sliding-window coverage), its Pfam/meta-domain membership, and gnomAD/ClinVar variant counts on a built tolerance landscape. Out-of-range positions raise invalid_input; a not-yet-built landscape raises not_found (request_tolerance_landscape first). Signature: get_position_tolerance(transcript_id=, position=, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transcript_id | Yes | A versioned Ensembl transcript id (the .N version suffix is required), e.g. ENST00000269305.4. Resolve a gene symbol with resolve_transcript first. | |
| position | Yes | 1-based protein residue position. | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| _meta | No | ||
| error_code | No | ||
| message | No | ||
| retryable | No | ||
| recovery_action | No | ||
| field | No | ||
| hint | No | ||
| candidates | No | ||
| recommended_citation | No | ||
| data_versions | No | ||
| transcript_id | No | ||
| protein_pos | No | ||
| ref_aa | No | ||
| sw_dn_ds | No | ||
| sw_coverage | No | ||
| sw_size | No | ||
| domain_ids | No | ||
| variant_count_total | No |