Compare Positions
compare_positionsCompare missense tolerance, domain annotations, and variant counts across multiple protein positions in a transcript with a side-by-side table.
Instructions
Return a side-by-side tolerance table (sw_dn_ds, ref_aa, domain ids, variant counts) for a batch of residue positions on a built landscape. Out-of-range positions get a per-item error row -- the whole batch never fails for one bad position; the batch size is capped. Signature: compare_positions(transcript_id=, positions=, 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. | |
| positions | Yes | A batch of 1-based protein residue positions to compare side by side. | |
| 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 | ||
| comparison | No |