Resolve Gene Symbol
resolve_symbolResolves gene symbols or HGNC IDs to their canonical HGNC records, returning the approved symbol and match type. Handles aliases and withdrawn symbols with clear error messages.
Instructions
Resolve any gene symbol or HGNC id to its canonical record. Accepts a current symbol, a previous (withdrawn) symbol, an alias, or an HGNC id in either form (HGNC:1100 or 1100), case-insensitively. Returns {hgnc_id, approved_symbol, match_type (hgnc_id|current|previous|alias)}. An alias shared by several genes returns an ambiguous_query error with the candidate list (not silently picked); a withdrawn/merged symbol returns a not_found error that redirects to the successor record. Signature: resolve_symbol(query, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A gene symbol (current/previous/alias, case-insensitive) or HGNC id (HGNC:1100 or 1100). | |
| response_mode | No | Verbosity: minimal | compact | standard | full (default compact). | compact |