map_ids
Map identifiers between databases via UniProt's async ID-mapping service. Returns matched pairs and unmapped input IDs.
Instructions
Map identifiers between databases via UniProt's async ID-mapping service.
Submits a job, polls until it finishes, then returns the mapped pairs plus
any unmapped input ids. When to_db is 'UniProtKB'/'UniProtKB-Swiss-Prot'
each result is enriched with the protein name, entry name, and organism.
Use 'UniProtKB_AC-ID' as from_db when starting from UniProt accessions.
Validates the database pair against the live UniProt config and, on an
invalid value, returns the allowed databases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_db | Yes | Source database id, e.g. 'UniProtKB_AC-ID', 'Gene_Name', 'RefSeq_Protein', 'Ensembl', 'PDB', 'GeneID', 'KEGG'. An invalid value returns the full allowed list. | |
| to_db | Yes | Target database id, e.g. 'UniProtKB' (enriched entries), 'PDB', 'Ensembl', 'KEGG', 'RefSeq_Protein'. | |
| ids | Yes | One id (string) or many (list), e.g. ['P38398', 'P04637']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |