build_entity_subgraph
Construct an ontological Knowledge Subgraph centered on a biological entity (PRD-21).
Instructions
Construct an ontological Knowledge Subgraph centered on a biological entity (PRD-21).
Connects the seed gene across multiple biological layers:
Encoded proteins (UniProt)
Transcripts (Ensembl)
Reactome pathways
Gene Ontology terms (processes & molecular functions)
Disease associations with evidence scores (Open Targets)
Key supporting peer-reviewed publications (Europe PMC)
Args: query: Gene symbol (e.g. 'TP53', 'BRCA1', 'EGFR') or alias. taxon_id: NCBI Taxonomy ID (default: 9606 for human). include_pathways: Include Reactome pathway nodes and edges (default: True). include_go: Include Gene Ontology nodes and edges (default: True). include_diseases: Include Open Targets disease association nodes and edges (default: True). include_literature: Include Europe PMC publication nodes and edges (default: True).
Returns: JSON string representing the connected subgraph nodes, edges, weights, and provenance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| taxon_id | No | ||
| include_go | No | ||
| include_diseases | No | ||
| include_pathways | No | ||
| include_literature | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |