bc_get_cell_ontology_terms
Search the Ontology Lookup Service (OLS) for specific Cell Ontology (CL) terms by specifying a cell type, with options to control result size and exact matches. Retrieve structured information for cell type identification.
Instructions
Query the Ontology Lookup Service (OLS) for Cell Ontology (CL) terms.
This function searches for Cell Ontology terms associated with cell types using the OLS API. The Cell Ontology provides a controlled vocabulary for cell types.
Args: cell_type (str): The cell type to search for (e.g., "T cell"). size (int): Maximum number of results to return (default: 10). exact_match (bool): Whether to perform an exact match search (default: False).
Returns: dict: Dictionary containing Cell Ontology terms and information or error message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cell_type | Yes | The cell type to search for (e.g., 'T cell', 'neuron', 'hepatocyte') | |
exact_match | No | Whether to perform an exact match search | |
size | No | The maximum number of results to return |