360 Secure SkillHub
360 安全技能中心

PharmGx Reporter

该 Skill 使用 Python 脚本读取 23andMe/AncestryDNA 原始基因数据,提取 12 个基因的 31 个药物基因组 SNP,判定星等位基因与代谢表型,并生成含 CPIC 药物建议的 Markdown 报告;声明仅用于研究和教育。

manuelcorpas
manuelcorpas
热度 75.02
最近更新 2026-05-17 12:47:35
分类:数据依赖:代码执行 / 读写文件应用场景:数据处理 / 报告撰写 / 健康 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pharmgx-reporter
Metadata
name
clawbio-pharmgx-reporter
version
0.1.0
description
Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA)
author
Manuel Corpas
license
MIT
tags
["pharmacogenomics","CPIC","DTC-genetics","precision-medicine"]
inputs
[{"name":"input","type":"file","format":["23andme","ancestrydna","tsv"],"description":"Raw genetic data file from 23andMe or AncestryDNA"}]
outputs
[{"name":"report","type":"file","format":"markdown","description":"Pharmacogenomic report with gene profiles and drug recommendations"}]
metadata
{"openclaw":{"category":"bioinformatics","homepage":"https://github.com/ClawBio/ClawBio","min_python":"3.9","dependencies":[]}}

🦖 PharmGx Reporter

Generate a pharmacogenomic report from consumer genetic data (23andMe, AncestryDNA).

What it does

  1. Parses raw genetic data files (auto-detects 23andMe or AncestryDNA format)
  2. Extracts 31 pharmacogenomic SNPs across 12 genes
  3. Calls star alleles and determines metabolizer phenotypes
  4. Looks up CPIC drug recommendations for 51 medications
  5. 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.