clinpgx

Query the ClinPGx REST API for pharmacogenomic gene-drug interaction data.

Updated May 10, 2026
One-click install
npx skills add https://github.com/MubasherMohammed/opencode-BioInfo --skill clinpgx-mubashermohammed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clinpgx
Source: https://github.com/MubasherMohammed/opencode-BioInfo/tree/main/python/skills/clinpgx
Command: npx skills add https://github.com/MubasherMohammed/opencode-BioInfo --skill clinpgx-mubashermohammed

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the problem of querying the ClinPGx API for pharmacogenomic gene-drug data, clinical annotations, CPIC guidelines, and FDA drug labels, providing users with a comprehensive overview of pharmacogenomics information.

Core Features & Use Cases

  • Gene Lookup: Retrieve gene info, known alleles, and function annotations for any pharmacogene.
  • Drug Lookup: Search drugs by name and retrieve associated PGx data.
  • Gene-Drug Pair Analysis: Query specific gene-drug interactions with CPIC evidence levels.
  • Clinical Annotation Retrieval: Get curated variant-drug-phenotype annotations with evidence levels.
  • CPIC Guideline Retrieval: Fetch clinical practice guidelines for gene-drug pairs.
  • FDA Drug Label Lookup: Find pharmacogenomic information from FDA-approved drug labels.
  • Use Case: A researcher looking for information on a specific gene-drug interaction can use this Skill to quickly retrieve relevant data from the ClinPGx database.

Quick Start

Use the clinpgx skill to query the ClinPGx API for information on the gene CYP2D6.

Frequently Asked Questions about clinpgx

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

FAQPage Schema
How do I retrieve clinical annotations for gene-drug interactions using the ClinPGx API?

You can retrieve clinical annotations for gene-drug interactions by querying the ClinPGx API to fetch curated variant-drug-phenotype data with corresponding evidence levels.

What pharmacogenomic data can I get from querying CPIC guidelines and FDA drug labels?

Querying CPIC guidelines and FDA drug labels provides clinical practice guidelines for specific gene-drug pairs and pharmacogenomic information extracted directly from FDA-approved drug labels.

How do I look up known alleles and function annotations for a specific pharmacogene?

You can look up known alleles and function annotations for a pharmacogene by performing a gene lookup query through the ClinPGx API to retrieve comprehensive gene information.

Can I use the requests library in Python to search for pharmacogenomic drug data by name?

Yes, you can use the Python requests library to access the ClinPGx REST API, allowing you to search drugs by name and retrieve all associated pharmacogenomic data.

Does querying the ClinPGx API provide evidence levels for gene-drug pair analysis?

Yes, querying the ClinPGx API for gene-drug pair analysis returns specific gene-drug interactions complete with CPIC evidence levels to support clinical decision making.

What are the limitations of using a REST API for clinical pharmacogenomics analysis?

Using the ClinPGx REST API for pharmacogenomics analysis requires a network connection and depends on the availability of the external API, limiting offline clinical decision support capabilities.