name: 'pharmacogenomics-agent'
description: 'AI-driven pharmacogenomic analysis for precision dosing and adverse event prediction using multi-omics data.'
keywords:
- pharmacogenomics
- precision-dosing
- cpic-guidelines
- adverse-events
- multi-omics
measurable_outcome: 'Provides validated dosing recommendations for >50 drugs with 99% concordance to CPIC guidelines.'
allowed-tools:
- read_file
- run_shell_command
Pharmacogenomics Agent
The Pharmacogenomics Agent integrates AI and multi-omics data to predict individual drug responses, optimize medication dosing, and minimize adverse events. It implements CPIC guidelines while leveraging deep learning for complex polygenic drug response phenotypes.
When to Use This Skill
- When interpreting pharmacogenomic variants (CYP450, HLA, transporters) for drug selection.
- To predict drug response using transcriptomic and proteomic biomarkers.
- For calculating polygenic risk scores for drug efficacy/toxicity.
- When optimizing doses for narrow therapeutic index drugs.
- To identify drug-drug-gene interactions.
Core Capabilities
Variant Interpretation: Translates star allele genotypes (*1/*2) into metabolizer phenotypes and actionable CPIC recommendations.
Multi-Omics Response Prediction: Deep learning models (DeepDRA, MOViDA) integrate genomic, transcriptomic, and proteomic features for drug response prediction.
Polygenic Risk Scoring: Combines effects of thousands of variants to stratify patients beyond single-gene pharmacogenomics.
Adverse Event Prediction: Identifies genetic risk factors for serious adverse reactions (HLA associations, G6PD deficiency).
Dose Optimization: AI-guided dosing for warfarin, tacrolimus, fluoropyrimidines, thiopurines, and other PGx-guided drugs.
Drug-Drug-Gene Interactions: Detects complex interactions where genetic variants modify drug interaction severity.
CPIC-Guided Genes and Drugs
| Gene |
Drugs |
Clinical Impact |
| CYP2D6 |
Codeine, tamoxifen, antidepressants |
Metabolizer status affects efficacy/toxicity |
| CYP2C19 |
Clopidogrel, PPIs, antidepressants |
Loss-of-function affects activation |
| CYP2C9/VKORC1 |
Warfarin |
Dose requirements vary 10-fold |
| TPMT/NUDT15 |
Thiopurines |
Myelosuppression risk |
| DPYD |
Fluoropyrimidines |
Severe/fatal toxicity in deficient patients |
| HLA-B*57:01 |
Abacavir |
Hypersensitivity screening |
| HLA-B*15:02 |
Carbamazepine |
SJS/TEN risk in Asian populations |
Workflow
Input: Patient genotype data (VCF, genotyping array), medication list, clinical parameters.
Star Allele Calling: Translate variants to star alleles using Stargazer or PharmCAT.
Phenotype Assignment: Determine metabolizer status (PM, IM, NM, UM) for each gene.
Guideline Lookup: Retrieve CPIC/DPWG recommendations for patient's medications.
Multi-Omics Prediction: Apply deep learning for complex response phenotypes.
Output: Drug-specific recommendations, dose adjustments, alternative medications, interaction alerts.
Example Usage
User: "Interpret this patient's pharmacogenomic panel and provide recommendations for their current medications."
Agent Action:
python3 Skills/Precision_Medicine/Pharmacogenomics_Agent/pgx_analyzer.py \
--genotype patient_pgx_panel.vcf \
--medications current_meds.json \
--guidelines cpic_dpwg \
--risk_scores oncology_response \
--output pgx_recommendations.json
AI Models for Drug Response
| Model |
Architecture |
Application |
Performance |
| DeepDRA |
Autoencoders |
Drug response from transcriptomics |
AUC 0.99 |
| MOViDA |
Multi-omics VAE |
Interpretable response prediction |
State-of-art |
| DrugCell |
Graph neural network |
Drug synergy prediction |
Improved over baselines |
| PaccMann |
Multimodal attention |
Cancer drug sensitivity |
Clinical translation |
Polygenic Drug Response
Beyond single-gene PGx, polygenic scores capture:
- Efficacy polygenic scores: Statin LDL response, antidepressant remission
- Toxicity polygenic scores: Metformin GI intolerance, opioid dependence risk
- Combined scores: Integrating PRS with PGx for personalized prediction
Prerequisites
- Python 3.10+
- PharmCAT or Stargazer for star allele calling
- CPIC/DPWG guideline databases
- Deep learning frameworks (PyTorch)
- Optional: Expression data for multi-omics models
Related Skills
- Variant_Interpretation - For general variant classification
- Drug_Repurposing - For alternative drug identification
- Clinical_Trials - For PGx-guided trial matching
Implementation Notes
Clinical Integration:
- Returns structured FHIR-compatible recommendations
- Supports CDS Hooks for real-time EMR alerts
- Audit trail for clinical decision support
Quality Metrics:
- Validated against PharmGKB annotations
- Concordance with reference laboratory calls
- Regular updates with new CPIC guidelines
Author
AI Group - Biomedical AI Platform
1---2name: pharmacogenomics-agent3description: <!--4---5<!--6# COPYRIGHT NOTICE7# This file is part of the "Universal Biomedical Skills" project.8# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>9# All Rights Reserved.10#11# This code is proprietary and confidential.12# Unauthorized copying of this file, via any medium is strictly prohibited.13#14# Provenance: Authenticated by MD BABU MIA1516-->1718---19name: 'pharmacogenomics-agent'20description: 'AI-driven pharmacogenomic analysis for precision dosing and adverse event prediction using multi-omics data.'21keywords:22 - pharmacogenomics23 - precision-dosing24 - cpic-guidelines25 - adverse-events26 - multi-omics27measurable_outcome: 'Provides validated dosing recommendations for >50 drugs with 99% concordance to CPIC guidelines.'28allowed-tools:29 - read_file30 - run_shell_command31---323334# Pharmacogenomics Agent3536The **Pharmacogenomics Agent** integrates AI and multi-omics data to predict individual drug responses, optimize medication dosing, and minimize adverse events. It implements CPIC guidelines while leveraging deep learning for complex polygenic drug response phenotypes.3738## When to Use This Skill3940* When interpreting pharmacogenomic variants (CYP450, HLA, transporters) for drug selection.41* To predict drug response using transcriptomic and proteomic biomarkers.42* For calculating polygenic risk scores for drug efficacy/toxicity.43* When optimizing doses for narrow therapeutic index drugs.44* To identify drug-drug-gene interactions.4546## Core Capabilities47481. **Variant Interpretation**: Translates star allele genotypes (*1/*2) into metabolizer phenotypes and actionable CPIC recommendations.49502. **Multi-Omics Response Prediction**: Deep learning models (DeepDRA, MOViDA) integrate genomic, transcriptomic, and proteomic features for drug response prediction.51523. **Polygenic Risk Scoring**: Combines effects of thousands of variants to stratify patients beyond single-gene pharmacogenomics.53544. **Adverse Event Prediction**: Identifies genetic risk factors for serious adverse reactions (HLA associations, G6PD deficiency).55565. **Dose Optimization**: AI-guided dosing for warfarin, tacrolimus, fluoropyrimidines, thiopurines, and other PGx-guided drugs.57586. **Drug-Drug-Gene Interactions**: Detects complex interactions where genetic variants modify drug interaction severity.5960## CPIC-Guided Genes and Drugs6162| Gene | Drugs | Clinical Impact |63|------|-------|-----------------|64| CYP2D6 | Codeine, tamoxifen, antidepressants | Metabolizer status affects efficacy/toxicity |65| CYP2C19 | Clopidogrel, PPIs, antidepressants | Loss-of-function affects activation |66| CYP2C9/VKORC1 | Warfarin | Dose requirements vary 10-fold |67| TPMT/NUDT15 | Thiopurines | Myelosuppression risk |68| DPYD | Fluoropyrimidines | Severe/fatal toxicity in deficient patients |69| HLA-B*57:01 | Abacavir | Hypersensitivity screening |70| HLA-B*15:02 | Carbamazepine | SJS/TEN risk in Asian populations |7172## Workflow73741. **Input**: Patient genotype data (VCF, genotyping array), medication list, clinical parameters.75762. **Star Allele Calling**: Translate variants to star alleles using Stargazer or PharmCAT.77783. **Phenotype Assignment**: Determine metabolizer status (PM, IM, NM, UM) for each gene.79804. **Guideline Lookup**: Retrieve CPIC/DPWG recommendations for patient's medications.81825. **Multi-Omics Prediction**: Apply deep learning for complex response phenotypes.83846. **Output**: Drug-specific recommendations, dose adjustments, alternative medications, interaction alerts.8586## Example Usage8788**User**: "Interpret this patient's pharmacogenomic panel and provide recommendations for their current medications."8990**Agent Action**:91```bash92python3 Skills/Precision_Medicine/Pharmacogenomics_Agent/pgx_analyzer.py \93 --genotype patient_pgx_panel.vcf \94 --medications current_meds.json \95 --guidelines cpic_dpwg \96 --risk_scores oncology_response \97 --output pgx_recommendations.json98```99100## AI Models for Drug Response101102| Model | Architecture | Application | Performance |103|-------|--------------|-------------|-------------|104| DeepDRA | Autoencoders | Drug response from transcriptomics | AUC 0.99 |105| MOViDA | Multi-omics VAE | Interpretable response prediction | State-of-art |106| DrugCell | Graph neural network | Drug synergy prediction | Improved over baselines |107| PaccMann | Multimodal attention | Cancer drug sensitivity | Clinical translation |108109## Polygenic Drug Response110111Beyond single-gene PGx, polygenic scores capture:112- **Efficacy polygenic scores**: Statin LDL response, antidepressant remission113- **Toxicity polygenic scores**: Metformin GI intolerance, opioid dependence risk114- **Combined scores**: Integrating PRS with PGx for personalized prediction115116## Prerequisites117118* Python 3.10+119* PharmCAT or Stargazer for star allele calling120* CPIC/DPWG guideline databases121* Deep learning frameworks (PyTorch)122* Optional: Expression data for multi-omics models123124## Related Skills125126* Variant_Interpretation - For general variant classification127* Drug_Repurposing - For alternative drug identification128* Clinical_Trials - For PGx-guided trial matching129130## Implementation Notes131132**Clinical Integration**:133- Returns structured FHIR-compatible recommendations134- Supports CDS Hooks for real-time EMR alerts135- Audit trail for clinical decision support136137**Quality Metrics**:138- Validated against PharmGKB annotations139- Concordance with reference laboratory calls140- Regular updates with new CPIC guidelines141142## Author143144AI Group - Biomedical AI Platform145146147<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->