bc_get_kegg_id_by_gene_symbol
Convert a gene symbol to a KEGG gene ID for subsequent KEGG queries. Specify the gene symbol and organism code (e.g., 9606 for human) to retrieve the ID.
Instructions
Convert gene symbol to KEGG ID for use in subsequent API calls. Returns KEGG gene ID required for query_kegg().
Returns: str or dict: KEGG gene ID string (e.g., 'hsa:7157') or error dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gene_symbol | Yes | Gene symbol (e.g., 'TP53' for human, 'Trp53' for mouse) | |
| organism_code | Yes | Taxonomy ID: 9606 (human), 10090 (mouse), 10116 (rat), 562 (E. coli), 4932 (yeast) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |