Pharmgx reporter
Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA)From its SKILL.md
npx -y skills add aAAaqwq/AGI-Super-Team --skill pharmgx-reporterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.7 KB, 297 tokens by cl100k_base, as published. Nobody here has run it
🦖 PharmGx Reporter
Generate a pharmacogenomic report from consumer genetic data (23andMe, AncestryDNA).
What it does
- Parses raw genetic data files (auto-detects 23andMe or AncestryDNA format)
- Extracts 31 pharmacogenomic SNPs across 12 genes
- Calls star alleles and determines metabolizer phenotypes
- Looks up CPIC drug recommendations for 51 medications
- Generates a markdown report with gene profiles, drug tables, and alerts
Genes covered
CYP2C19, CYP2D6, CYP2C9, VKORC1, SLCO1B1, DPYD, TPMT, UGT1A1, CYP3A5, CYP2B6, NUDT15, CYP1A2
Drug classes
Antiplatelet, opioids, statins, anticoagulants, PPIs, antidepressants (TCAs, SSRIs, SNRIs), antipsychotics, NSAIDs, oncology, immunosuppressants, antivirals
Usage
python pharmgx_reporter.py --input patient_data.txt --output report
Disclaimer
This tool is for research and educational purposes only. It is NOT a diagnostic device. Always consult a healthcare professional before making any medication decisions.
What ships with it: 4 files
76.4 KB alongside SKILL.md, 2 of them executable
demo_report/
- report.md11.8 KB
tests/
- test_pharmgx.pyruns7.6 KB
- demo_patient.txt2.2 KB
- pharmgx_reporter.pyruns54.8 KB