Resolve Gene by Cross-Reference
resolve_gene_by_xrefResolve any external gene identifier from databases like Ensembl or UniProt to its official HGNC gene symbol. Provide the source and identifier value to get curated nomenclature.
Instructions
Reverse identifier mapping: find the HGNC gene(s) for an external database id. source is the database (entrez_id/ncbi, ensembl_gene_id, uniprot, refseq, omim, ucsc, vega, ccds, mgi, rgd) and value is the id (e.g. source='ensembl_gene_id', value='ENSG00000157764'). Signature: resolve_gene_by_xref(source, value, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The external identifier value to look up. | |
| source | Yes | Cross-reference database, e.g. entrez_id, ensembl_gene_id, uniprot. | |
| response_mode | No | Verbosity: minimal | compact | standard | full (default compact). | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| _meta | No | ||
| count | No | ||
| field | No | ||
| value | No | ||
| source | No | ||
| message | No | ||
| results | No | ||
| success | No | ||
| obsolete | No | ||
| retryable | No | ||
| candidates | No | ||
| error_code | No | ||
| replaced_by | No | ||
| source_label | No | ||
| allowed_values | No | ||
| recovery_action | No |