bc_get_efo_id_by_disease_name
Retrieve EFO, Mondo, or HP ontology IDs for a specific disease name by querying the Ontology Lookup Service. Supports customizable search parameters for exact matches and result limits.
Instructions
Query the Ontology Lookup Service (OLS) for EFO/Mondo/HP IDs related to a disease name.
This function searches for EFO IDs associated with a given disease name using the OLS API. Always use this function if you need EFO IDs, e.g., for use in the Open Targets API.
Args: disease_name (str): The name of the disease to search for (e.g., "SIDS"). size (int): Maximum number of results to return (default: 5). exact_match (bool): Whether to perform an exact match search (default: False).
Returns: dict: Dictionary containing EFO IDs and information or error message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
disease_name | Yes | The name of the disease to search for (e.g., 'choledocholithiasis') | |
exact_match | No | Whether to perform an exact match search | |
size | No | The maximum number of results to return |