primekg

Query PrimeKG for genes, drugs, diseases, and phenotypes.

Updated May 8, 2026
One-click install
npx skills add https://github.com/Zeyuyang-0420/bio-ai-research-skills --skill primekg-zeyuyang-0420
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: primekg
Source: https://github.com/Zeyuyang-0420/bio-ai-research-skills/tree/main/categories/drug-discovery-molecular-modeling/primekg
Command: npx skills add https://github.com/Zeyuyang-0420/bio-ai-research-skills --skill primekg-zeyuyang-0420

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, and includes scripts (resource) components.

What problem does it solve?

This Skill provides access to the Precision Medicine Knowledge Graph (PrimeKG), enabling users to query and analyze biological data including genes, drugs, diseases, and phenotypes.

Core Features & Use Cases

  • Search for Nodes: Search for genes, proteins, drugs, diseases, and phenotypes within PrimeKG.
  • Retrieve Neighbors: Retrieve associated entities and clinical evidence for given nodes.
  • Analyze Disease Context: Summarize associations for a disease, including related genes, drugs, and phenotypes.
  • Identify Drug-Disease Paths: Discover potential drug-repurposing opportunities.
  • Use Cases: Ideal for drug discovery, drug repurposing, phenotype analysis, and network pharmacology.

Quick Start

Query PrimeKG for information on a specific disease, such as '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 biological data?

To query a precision medicine knowledge graph for biological data, you can search for specific genes, drugs, diseases, and phenotypes. The Skill retrieves associated entities and clinical evidence to provide neighbors and context for the requested nodes.

What's the best way to find drug-disease paths for drug repurposing?

The best way to find drug-disease paths for drug repurposing is to query the knowledge graph to identify potential connections. This Skill discovers paths between drugs and diseases to highlight repurposing opportunities using network pharmacology.

How do I retrieve associated genes and phenotypes for a specific disease?

To retrieve associated genes and phenotypes for a specific disease, you query the knowledge graph to analyze disease context. This Skill summarizes associations by returning related genes, drugs, and phenotypes for the given disease node.

Can I use pandas for network pharmacology data manipulation with this Skill?

Yes, you can use pandas for network pharmacology data manipulation because pandas is a required dependency. You need Python and pandas installed to handle the biological data structures and perform the data manipulation required for querying.

Does PrimeKG support searching for both drugs and phenotypes in the same query?

PrimeKG supports searching for drugs and phenotypes within the same knowledge graph structure. You can search across genes, proteins, drugs, diseases, and phenotypes to retrieve associated entities and clinical evidence for comprehensive analysis.

What are the limitations of using a knowledge graph for drug discovery queries?

A limitation of using this knowledge graph for drug discovery queries is that it requires Python and pandas to process the data. Results depend on the existing biological data connections within PrimeKG, and complex queries may require additional data manipulation outside the Skill.