Resolve Gene or Transcript ID
resolve_transcriptResolve a gene symbol or Ensembl transcript ID to MetaDome transcript candidates, sorted by protein length with canonical flag. Validate versioned ENST IDs for tolerance landscape queries.
Instructions
Resolve a gene symbol or versioned Ensembl transcript id to MetaDome GRCh37 transcript candidate(s). A gene symbol returns all transcripts sorted by protein length (aa_length descending) with the longest protein-coding entry flagged canonical. A bare ENST id (version suffix required) is validated and echoed directly. Use the canonical_transcript_id with request_tolerance_landscape to start a tolerance-landscape build. Signature: resolve_transcript(query=, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A gene symbol (e.g. TP53) or a versioned Ensembl transcript id (e.g. ENST00000269305.4). Gene symbols are resolved to candidate transcripts; a bare ENST id is validated and echoed. | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| _meta | No | ||
| field | No | ||
| query | No | ||
| total | No | ||
| message | No | ||
| success | Yes | ||
| retryable | No | ||
| candidates | No | ||
| error_code | No | ||
| transcripts | No | ||
| data_versions | No | ||
| recovery_action | No | ||
| recommended_citation | No | ||
| canonical_transcript_id | No |