traverse_biological_graph
Enumerate graph paths from a source gene to a target entity (PRD-22).
Instructions
Enumerate graph paths from a source gene to a target entity (PRD-22).
Paths follow edges drawn from curated databases; each hop reports its source database and score if the source provides one. Scores are products of source-provided weights, not probabilities. Literature edges are keyword hits and are only used when target_type is 'publication'.
Args: source_query: Origin gene symbol or alias (e.g. 'TP53'). target_query: Target identifier (e.g. 'MONDO:0005575', 'R-HSA-69563') or a whole-phrase name (e.g. 'colorectal cancer'). max_hops: Maximum edges to traverse, 1 to 6 (default: 3). min_score: Minimum product of source-provided scores, 0.0 to 1.0 (default: 0.0). target_type: Optional node type filter: gene, protein, transcript, pathway, disease, publication, go_term.
Returns: JSON string with paths, matched targets, and warnings. On invalid input, a JSON object with an 'error' field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_hops | No | ||
| min_score | No | ||
| target_type | No | ||
| source_query | Yes | ||
| target_query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |