togovar_search_gene
Resolve a human gene symbol or alias to its HGNC ID for use in variant search.
Instructions
Resolve a human gene symbol/alias to its HGNC ID for variant search.
This is the FIRST step of the two-step variant workflow: the hgnc_id
returned here is what search_variant takes as gene_hgnc_id.
The TogoVar endpoint does loose token matching with no relevance order (it
returns the same set for "ALDH2" and the non-existent "ALDH2A1"), so this
tool RE-RANKS client-side: exact symbol match first, then prefix, then other
matches. Each result carries match_type ("exact"|"prefix"|"word"|"fuzzy")
against your query — CHECK IT: if the top hit is not exact, the exact
symbol you asked for does not exist and the rows are loose false positives,
so do not blindly feed the first hgnc_id downstream. (The endpoint echoes
the matched token as symbol and the HGNC approved gene name as name; it
does not expose approved-vs-alias status, so use name to sanity-check.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches to return, in [1, 100]. Default 10. | |
| query | No | Gene symbol or alias, e.g. 'ALDH2'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |