primekg

Query PrimeKG for genes, drugs, and diseases via Python scripts.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/sagunkayastha/claude_skills_collection --skill primekg-sagunkayastha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: primekg
Source: https://github.com/sagunkayastha/claude_skills_collection/tree/main/scientific-databases/primekg
Command: npx skills add https://github.com/sagunkayastha/claude_skills_collection --skill primekg-sagunkayastha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of navigating and extracting insights from complex, multiscale biological data by providing programmatic access to the Precision Medicine Knowledge Graph (PrimeKG).

Core Features & Use Cases

  • Entity Search: Find genes, drugs, diseases, and phenotypes within the graph.
  • Relationship Exploration: Discover direct associations between entities.
  • Contextual Analysis: Understand the biological and clinical context surrounding a disease.
  • Pathfinding: Identify potential drug repurposing opportunities by finding paths between drugs and diseases.
  • Use Case: Researchers can use this Skill to identify potential drug targets for a specific disease by searching for genes associated with that disease and then exploring drugs that interact with those genes.

Quick Start

Use the primekg skill to find all genes associated with Alzheimer's disease.

Frequently Asked Questions about primekg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query a precision medicine knowledge graph for drug discovery?

To query a precision medicine knowledge graph for drug discovery, you use Python scripts to search over 100,000 nodes and 4 million edges. This programmatic access enables you to find paths between drugs and diseases for repurposing analysis.

What biological data can I retrieve for disease context analysis?

For disease context analysis, you can retrieve multiscale biological data including associated genes, drugs, and phenotypes. The graph allows you to explore direct associations to understand the clinical and biological context surrounding a specific disease.

Can I find drug repurposing opportunities by pathfinding between drugs and diseases?

Yes, you can find drug repurposing opportunities by pathfinding between drugs and diseases. The graph enables you to identify potential paths, search for genes associated with a disease, and explore drugs that interact with those genes.

Do I need Python scripts to search for genes and drugs in PrimeKG?

Yes, you need Python scripts to search for genes and drugs in PrimeKG. The skill requires programmatic scripts for searching nodes, retrieving neighbors, and analyzing multiscale biological data across the knowledge graph.