pharmgx-reporter

Generate pharmacogenomic drug–gene interaction reports from 23andMe or AncestryDNA raw genotype files.

1.1k|238|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/ClawBio/ClawBio --skill pharmgx-reporter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pharmgx-reporter
Source: https://github.com/ClawBio/ClawBio/tree/main/skills/pharmgx-reporter
Command: npx skills add https://github.com/ClawBio/ClawBio --skill pharmgx-reporter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many users of consumer genetic tests cannot quickly translate raw 23andMe or AncestryDNA genotype files into actionable, evidence-backed drug guidance; this Skill automates that mapping so clinicians and individuals can see drug–gene recommendations in seconds without manual cross-referencing.

Core Features & Use Cases

  • Genotype parsing: Auto-detects 23andMe and AncestryDNA formats and extracts the pharmacogenomic SNPs required for analysis.
  • Star allele calling & phenotyping: Converts observed variants into diplotypes and metabolizer phenotypes across 12 clinically relevant genes.
  • CPIC-based drug lookup: Maps phenotypes to CPIC-informed recommendations for 51 drugs (AVOID / CAUTION / STANDARD / INSUFFICIENT), including a warfarin multi-gene assessment.
  • Outputs & reproducibility: Produces human-readable Markdown/HTML reports, machine-readable JSON results, and a reproducibility bundle (commands and checksums).
  • Privacy-first integration: Runs locally with a Python 3.10+ CLI and API, suitable for research, clinical support workflows, or embedding in other ClawBio skills like drug-photo and profile-report.

Quick Start

Generate a pharmacogenomic report from my 23andMe raw data file demo_patient.txt and save the Markdown, JSON, and reproducibility bundle into a local output directory.

Frequently Asked Questions about pharmgx-reporter

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

FAQPage Schema
How do I get pharmacogenomic drug recommendations from 23andMe raw data?

To get pharmacogenomic drug recommendations from 23andMe raw data, you parse the genotype file to call 31 SNPs across 12 genes, map diplotypes to CPIC phenotypes, and generate Markdown or JSON reports for 51 medications.

Can I convert AncestryDNA genotype files to CPIC-based medication guidance?

Yes, you can convert AncestryDNA genotype files to CPIC-based medication guidance by auto-detecting the input format, extracting pharmacogenomic SNPs, and mapping metabolizer phenotypes to drug-specific AVOID or STANDARD recommendations.

How does genotype parsing map variants to drug metabolizer phenotypes?

Genotype parsing maps variants to drug metabolizer phenotypes by extracting observed pharmacogenomic SNPs, converting them into star allele diplotypes, and translating those diplotypes into clinically relevant metabolizer categories across 12 genes.

Does this pharmacogenomics tool transmit genetic data externally during analysis?

No, this pharmacogenomics tool does not transmit genetic data externally. It runs locally using a Python 3.10+ CLI and API, ensuring privacy-first analysis while generating reproducibility bundles with checksums for clinical support workflows.

What is the best way to generate reproducible pharmacogenomic reports locally?

The best way to generate reproducible pharmacogenomic reports locally is to run a Python 3.10+ script that processes raw genotype files, outputs human-readable Markdown and machine-readable JSON, and bundles execution commands with checksums.

What CPIC drug categories are included in pharmacogenomic star allele calling?

Pharmacogenomic star allele calling includes CPIC-informed recommendations for 51 drugs, categorized as AVOID, CAUTION, STANDARD, or INSUFFICIENT, and features a multi-gene assessment for warfarin interactions.