clinpgx-database

Query the PharmGKB REST API for drug-gene interactions and dosing guidelines.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill clinpgx-database-jaechang-hits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinpgx-database
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/genomics-bioinformatics/clinpgx-database
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill clinpgx-database-jaechang-hits

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides programmatic access to the PharmGKB database, enabling users to retrieve crucial pharmacogenomic information for personalized medicine and drug development.

Core Features & Use Cases

  • Drug-Gene Interactions: Query for interactions between specific genes, drugs, and variants.
  • Dosing Guidelines: Access CPIC and DPWG clinical dosing recommendations.
  • Variant Annotation: Retrieve clinical significance and evidence levels for genetic variants.
  • Use Case: A researcher can use this skill to quickly find all known gene-drug interactions with Level 1A evidence for a specific pharmacogene, aiding in the design of clinical trials or the interpretation of patient data.

Quick Start

Use the clinpgx-database skill to find all Level 1A clinical annotations for the gene CYP2D6.

Frequently Asked Questions about clinpgx-database

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

FAQPage Schema
How do I query PharmGKB for drug-gene interactions and clinical annotations?

To query PharmGKB for drug-gene interactions, use this skill to access the REST API and retrieve clinical annotations, dosing guidelines, and genotype-guided prescribing information. It supports queries by gene, drug, variant, and evidence level using Python requests and pandas.

What is the best way to retrieve CPIC and DPWG dosing guidelines for pharmacogenomics?

Retrieving CPIC and DPWG dosing guidelines is done by querying the PharmGKB REST API for clinical annotations. This skill fetches genotype-guided prescribing recommendations and variant annotations to support precision medicine research.

Can I use Python pandas to find Level 1A clinical annotations for pharmacogenes like CYP2D6?

Yes, you can use Python pandas to find Level 1A clinical annotations for pharmacogenes like CYP2D6 by querying the PharmGKB REST API. The skill retrieves and manipulates pharmacogenomic data based on specific evidence levels.

How does variant annotation by rsID work for precision medicine drug development?

Variant annotation by rsID works by querying the PharmGKB database to retrieve clinical significance and evidence levels for genetic variants. This facilitates precision medicine by providing genotype-guided prescribing information for drug development.

Are there limitations to retrieving drug-gene interaction data through the PharmGKB API?

Retrieving drug-gene interaction data through the PharmGKB API is limited to the available clinical annotations and evidence levels within the database. The skill requires the requests library for API access and pandas for data manipulation.