bc_get_string_id
Map protein identifiers to STRING database IDs for consistent and reliable protein interaction queries.
Instructions
Map protein identifiers (gene names, synonyms, UniProt IDs) to STRING database IDs. Using STRING IDs improves reliability.
Returns: str or dict: STRING ID string (e.g., '9606.ENSP00000269305') or dict with error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protein_symbol | Yes | Protein name or identifier (e.g., 'TP53') | |
| species | No | Species taxonomy ID (e.g., '9606' for human) | |
| return_field | No | Field to return: 'stringId' or 'preferredName' | stringId |
| limit | No | Maximum number of matches to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |