Tooluniverse network pharmacology

From mims-harvard/ToolUniverse · View interactive version

Tooluniverse network pharmacology is an AI agent skill from the GitHub repository mims-harvard/ToolUniverse. Compound-target-disease network construction and analysis for drug repurposing, polypharmacology discovery, and multi-target drug design. Uses STRING, BioGRID, ChEMBL, DGIdb, OMIM, OpenTargets. Use for off-target effect prediction, network-based drug repurposing, and identifying molecules with desir

How to use this skill

Skill file

COMPUTE, DON'T DESCRIBE

When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.

Network Pharmacology Pipeline

Construct and analyze compound-target-disease (C-T-D) networks to identify drug repurposing opportunities, understand polypharmacology, and predict drug mechanisms using systems pharmacology approaches.

LOOK UP DON'T GUESS - Retrieve actual target lists, network data, and clinical evidence from tools. Do not infer network relationships from drug class alone.

IMPORTANT: Always use English terms in tool calls, even if the user writes in another language. Respond in the user's language.


Polypharmacology Reasoning (Start Here)

Before building any network, reason about what kind of multi-target effect you are dealing with:

A drug hitting multiple targets is either polypharmacology (desired multi-target) or promiscuity (undesired off-target). The distinction depends on whether the additional targets contribute to efficacy or cause toxicity.

Use this framework to guide the analysis:

Document this reasoning explicitly in the report before listing candidates.


When to Use This Skill

Apply when users:

NOT for (use other skills instead):


Key Principles

  1. Report-first approach - Create report file FIRST, then populate progressively
  2. Entity disambiguation FIRST - Resolve all identifiers before analysis
  3. Reason about polypharmacology type - Desired vs. promiscuous (see above)
  4. Bidirectional network - Construct C-T-D network from both directions
  5. Rank candidates - Prioritize by composite Network Pharmacology Score
  6. Mechanism prediction - Explain HOW drug could work via network paths
  7. Clinical feasibility - FDA-approved drugs ranked higher than preclinical
  8. Safety context - Flag known adverse events and off-target liabilities
  9. Evidence grading - Grade all evidence T1-T4
  10. Negative results documented - "No data" is data; empty sections are failures
  11. Source references - Every finding must cite the source tool/database

Network Pharmacology Score (0-100)

Five components with explicit reasoning at each step:

Priority tiers: 80-100 = high repurposing potential (proceed to experimental validation); 60-79 = good potential (needs mechanistic validation); 40-59 = moderate potential (high-risk/high-reward); 0-39 = low potential.

Evidence grades: T1 = human clinical proof; T2 = functional experimental evidence (IC50 < 1 uM, CRISPR screen); T3 = association/computational (GWAS hit, network proximity); T4 = prediction or text-mining only.

Full scoring details: SCORING_REFERENCE.md


Workflow Overview

Phase 0: Entity Disambiguation and Report Setup

Phase 1: Network Node Identification

Phase 2: Network Edge Construction

Phase 3: Network Analysis

Phase 4: Drug Repurposing Predictions

Phase 5: Polypharmacology Analysis

Phase 6: Safety and Toxicity Context

Phase 7: Validation Evidence

Phase 8: Report Generation

Full step-by-step code examples: ANALYSIS_PROCEDURES.md

Report template: REPORT_TEMPLATE.md


Critical Tool Parameter Notes

Full tool parameter reference and response structures: TOOL_REFERENCE.md


Fallback Strategies

When a tool fails, try the next in chain before reporting "no data":


Reference Files


Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.