convert_identifiers
Map KEGG gene, compound, drug, or glycan identifiers to external databases such as NCBI, UniProt, PubChem, or ChEBI. Convert IDs in either direction for cross-reference analysis.
Instructions
Convert KEGG IDs to/from external database identifiers.
Converts within one kind only, KEGG side <-> outside side: genes (organism code 'hsa' or T-number 'T01001') <-> ncbi-geneid / ncbi-proteinid / uniprot; chemistry (compound / drug / glycan) <-> pubchem / chebi. Cross-kind pairs such as compound<->uniprot are rejected by KEGG, and 'kegg' is not a database conv accepts.
Args: source_db: Source database — 'hsa', 'T01001', 'ncbi-geneid', 'ncbi-proteinid', 'uniprot', 'compound', 'drug', 'glycan', 'pubchem' or 'chebi'. target_db: Target database, from the same list and the opposite side of the pair (e.g. source_db='hsa' + target_db='uniprot', or source_db='chebi' + target_db='compound'). entry_ids: Optional list of specific IDs to convert. Bare ids are prefixed with source_db automatically ('1956' -> 'hsa:1956'). KEGG accepts at most 10 per request; only the first 10 are sent. If None, converts the full source database (large: hsa <-> ncbi-geneid is ~700 KB).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_ids | No | ||
| source_db | Yes | ||
| target_db | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |