biocontext_kb.core.reactome
===========================

.. py:module:: biocontext_kb.core.reactome


Attributes
----------

.. autoapisummary::

   biocontext_kb.core.reactome.core_mcp


Functions
---------

.. autoapisummary::

   biocontext_kb.core.reactome.get_reactome_info_by_identifier


Package Contents
----------------

.. py:data:: core_mcp

.. py:function:: get_reactome_info_by_identifier(identifier, base_url = 'https://reactome.org/AnalysisService', interactors = False, species = None, page_size = 20, page = 1, sort_by = 'ENTITIES_PVALUE', order = 'ASC', resource = 'TOTAL', p_value = 1.0, include_disease = True, min_entities = None, max_entities = None, importable_only = False, timeout = 30)

   Query the Reactome API identifier endpoint.

   Use this endpoint to retrieve pathways associated with a given identifier.
   Always provide the species parameter to ensure the correct protein is returned.

   :param identifier: The identifier of the element to be retrieved
   :type identifier: str
   :param base_url: Base URL for the Reactome API
   :type base_url: str
   :param interactors: Include interactors
   :type interactors: bool
   :param species: List of species to filter the result (accepts taxonomy ids, species names and dbId)
   :type species: str or list
   :param page_size: Pathways per page
   :type page_size: int
   :param page: Page number
   :type page: int
   :param sort_by: Field to sort results by (e.g., "ENTITIES_PVALUE", "ENTITIES_FDR")
   :type sort_by: str
   :param order: Sort order ("ASC" or "DESC")
   :type order: str
   :param resource: Resource to filter by (TOTAL includes all molecule types)
   :type resource: str
   :param p_value: P-value threshold (only pathways with p-value <= threshold will be returned)
   :type p_value: float
   :param include_disease: Set to False to exclude disease pathways
   :type include_disease: bool
   :param min_entities: Minimum number of contained entities per pathway
   :type min_entities: int
   :param max_entities: Maximum number of contained entities per pathway
   :type max_entities: int
   :param importable_only: Filter to only include importable resources
   :type importable_only: bool
   :param timeout: Request timeout in seconds
   :type timeout: int

   :returns: API response data or error information
   :rtype: dict


