lib-primekg

Query the Precision Medicine Knowledge Graph for genes, drugs, and diseases.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-primekg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lib-primekg
Source: https://github.com/biomaps-infra/blender-opencode/tree/main/.opencode/skills/lib-primekg
Command: npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-primekg

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides programmatic access to the Precision Medicine Knowledge Graph (PrimeKG), enabling users to query complex biological data and uncover relationships between genes, drugs, and diseases.

Core Features & Use Cases

  • Entity Search: Find genes, drugs, and diseases within the knowledge graph.
  • Neighbor Retrieval: Discover direct associations and relationships between entities.
  • Disease Context Analysis: Summarize key associated genes, drugs, and phenotypes for a given disease.
  • Use Case: Researchers can use this Skill to identify potential drug repurposing candidates by finding drugs associated with diseases that share common genetic pathways.

Quick Start

Use the lib-primekg skill to search for nodes related to 'Alzheimer's disease'.

Frequently Asked Questions about lib-primekg

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

FAQPage Schema
How do I query a knowledge graph for drug discovery and disease associations?

You can query a knowledge graph for drug discovery by retrieving direct associations between genes, drugs, and diseases to identify repurposing candidates. This Skill queries multiscale biological data from over 20 integrated databases to uncover these relationships.

Can I find drug repurposing candidates by analyzing shared genetic pathways?

Yes, finding drug repurposing candidates by analyzing shared genetic pathways is supported. You can retrieve associated drugs and genes for a specific disease to summarize its context and uncover potential therapeutic alternatives.

How do I search for biological entities like genes and drugs in PrimeKG?

Searching for biological entities like genes and drugs in PrimeKG is done through entity search and neighbor retrieval functions. These features allow you to find specific nodes and discover their direct associations within the knowledge graph.

Does this knowledge graph query tool require pandas for data manipulation?

Yes, this knowledge graph query tool requires pandas for data manipulation. It relies on pandas to efficiently query and process the CSV-based multiscale biological data that constitutes the Precision Medicine Knowledge Graph.

What is the best way to analyze disease phenotypes using a precision medicine knowledge graph?

The best way to analyze disease phenotypes using a precision medicine knowledge graph is to perform disease context analysis. This summarizes key associated genes, drugs, and phenotypes for a given disease by integrating scientific literature and database records.

Are there limitations when querying CSV-based biological data for precision medicine?

Querying CSV-based biological data for precision medicine requires local data manipulation via pandas, which limits scalability to the available memory. This approach is designed for knowledge-based discovery rather than high-performance graph database traversals.