liveBook · Manning

Drug repurposing

As explained in Knowledge Graphs and LLMs in Action

Drug repurposing is the investigation of an existing drug for a new therapeutic use.

Drug repurposing investigates an existing drug for a new therapeutic use. It reduces the time, cost, and failure risk of developing treatments by reusing evidence from toxicology, preclinical models, clinical trials, and post-release surveillance. section 4.3

A knowledge-graph repurposing workflow proceeds through these stages:

  • Assemble a heterogeneous graph connecting compounds, diseases, genes, pathways, biological processes, anatomy, symptoms, side effects, and pharmacological classes. section 4.3
  • Represent each compound–disease pair with metapaths of lengths two to four, including binding, gene association, pathway participation, and anatomy relationships. section 10.2.2
  • Count paths and calculate degree-weighted path counts such as DWPC, reducing the influence of highly connected nodes. section 10.2.2
  • Train a machine-learning model to translate network connectivity into a probability that a compound treats a disease. section 10.2.2

Metformin and type 2 diabetes

A Cypher query matches metformin to type 2 diabetes mellitus through the Compound–binds–Gene–associates–Disease metapath, counts matching paths, and returns the path count and DWPC. Longer alternatives can traverse anatomy or biological pathways.

How Knowledge Graphs and LLMs in Action covers it

How deep it goes
Explains motivation, graph schema, metapath features, DWPC calculations, and model objectives without detailing full model training.
Examples
Uses Hetionet, metformin, type 2 diabetes mellitus, and metapaths through genes, anatomy, and pathways.
What it assumes
Assumes familiarity with biomedical knowledge graphs and machine learning while teaching metagraphs, metapaths, and path-based features through examples.
What you can do after
Evaluate candidate drug–disease treatments by engineering metapath features and querying path counts and DWPC scores.
How it connects
Connects knowledge graphs, recommendation systems, collaborative filtering, machine learning, metapaths, drug–target interactions, and drug–disease associations.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Knowledge Graphs and LLMs in Action. The section links point to the parts of the book it draws on.