clinpgx-database

Retrieve gene-drug interactions, CPIC guidelines, allele functions, and drug labels via REST API.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill clinpgx-database-ovachiever
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinpgx-database
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/clinpgx-database
Command: npx skills add https://github.com/ovachiever/droid-tings --skill clinpgx-database-ovachiever

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Access pharmacogenomics data to inform pharmacogenetic decisions: gene-drug interactions, CPIC guidelines, allele data, and drug labels.

Core Features & Use Cases

  • Gene-drug queries with CPIC data
  • CPIC guidelines retrieval and drug labels
  • Allele and variant data with frequencies
  • Clinical annotations and pathways

Quick Start

Query a CPIC guideline for CYP2C19 and clopidogrel.

Frequently Asked Questions about clinpgx-database

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

FAQPage Schema
How do I retrieve gene-drug interactions and CPIC guidelines for pharmacogenomics analysis?

Gene-drug interactions and CPIC guidelines are retrieved programmatically via REST API endpoints that query the ClinPGx database. The Skill provides endpoints for gene, chemical, geneDrugPair, guideline, and allele queries, returning JSON-formatted results with rate limiting (2 requests per second) to support clinical decision support workflows without mandatory authentication.

Can I access allele frequencies and functions for precision medicine decisions?

Yes, the Skill includes dedicated allele endpoints that retrieve variant data, allele functions, and population-specific frequencies. This enables annotation of adverse drug risk and metabolism effects across diverse populations to inform pharmacogenetic treatment selection.

What data formats and API response structure does the pharmacogenomics database use?

The ClinPGx database implements REST API endpoints returning JSON-formatted responses. Responses include gene-drug pair data, CPIC guideline annotations, allele functional classifications, and drug label information, all structured for integration into clinical workflows.

Do I need authentication or special setup to query pharmacogenomics data?

No mandatory authentication is required for basic use of the pharmacogenomics database. The Skill implements rate limiting (2 requests per second) and optional caching to support robust access. The only dependency is the `requests` library for HTTP communication.

What are the limitations when querying large-scale allele and drug label datasets?

Rate limiting enforces 2 requests per second to prevent service overload. Optional caching can mitigate repeated queries. The REST API structure supports typical clinical decision support volumes, but high-throughput batch operations should account for rate-limit windows and use caching strategically.

How does ClinPGx pharmacogenomics data compare to other drug-gene reference sources?

ClinPGx provides CPIC guideline-aligned data, allele functional annotations, population frequencies, and drug label integration in a single programmatic interface. This combines curated clinical guidance with variant-level detail, distinguishing it from reference-only or genotype-only alternatives in precision medicine workflows.