技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
personal-genomics【数据与研究】Analyze raw DNA data from consumer genetics services (23andMe, AncestryDNA, etc.). Extract health markers, pharmacogenomics, traits, ancestry composition, ancient DNA comparisons, and generate comprehensive reports. Uses open-source bioinformatics tools locally — no data leaves your machine.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
⚠️ IMPORTANT DISCLAIMERS
This tool is for educational and research purposes only.
- NOT a medical diagnostic tool — Results are not clinically validated
- Consult healthcare professionals — Do not make medical decisions based solely on these results
- Privacy responsibility — You are responsible for securing your genetic data
- No warranties — Results may contain errors; verify with clinical testing
- Genetic data is sensitive — Once exposed, it cannot be "unexposed"
Analyze your raw DNA data locally and privately. No data is uploaded anywhere.
🔒 All analysis runs 100% locally on your machine
Recommendations:
| Service | File Pattern | SNP Count |
|---|---|---|
| AncestryDNA | AncestryDNA.txt | ~700K |
| 23andMe | genome_*.txt | ~600K |
| MyHeritage | CSV export | ~700K |
| FamilyTreeDNA | CSV/TSV export | ~700K |
| LivingDNA | CSV export | ~600K |
# Set your DNA file path
export DNA_FILE="/path/to/your/raw_data.txt"
# Run comprehensive analysis
python3 {baseDir}/analyze_dna.py "$DNA_FILE"
Reports are generated in ~/dna-analysis/reports/:
| File | Contents |
|---|---|
health_report.json | Health marker analysis |
pharma_report.json | Pharmacogenomics |
traits_report.json | Physical traits |
ancestry_report.json | Haplogroups & ancestry |
ancient_dna_report.json | Ancient population matches |
supplement_protocol.md | Personalized supplement suggestions |
full_report.md | Human-readable comprehensive summary |
python3 {baseDir}/analyze_dna.py "$DNA_FILE" # Core analysis
python3 {baseDir}/extended_analysis.py "$DNA_FILE" # 600+ markers
python3 {baseDir}/advanced_analysis.py "$DNA_FILE" # PRS & clustering
python3 {baseDir}/ethnicity_analysis.py "$DNA_FILE" # Population composition
python3 {baseDir}/ancient_dna.py "$DNA_FILE" # Ancient markers
python3 {baseDir}/ancient_comparison.py "$DNA_FILE" # AADR comparison
python3 {baseDir}/neanderthal_analysis.py "$DNA_FILE" # Archaic variants
python3 {baseDir}/parental_inference.py "$DNA_FILE" # Maternal/paternal split
python3 {baseDir}/convert_to_plink.py "$DNA_FILE" out # PLINK format
python3 {baseDir}/supplement_protocol.py "$DNA_FILE" # Supplement suggestions
All JSON reports use consistent schemas for easy parsing:
# Example: Reading health results
import json
with open("~/dna-analysis/reports/health_report.json") as f:
health = json.load(f)
# Access specific markers
apoe_status = health["alzheimers"]["apoe_status"]
cardiovascular_risk = health["cardiovascular"]["risk_level"]
The reports include actionable fields:
priority: high/medium/lowaction_type: monitor/discuss_with_doctor/lifestyle/supplementevidence_level: strong/moderate/preliminaryreferences: PubMed IDs for verification# Your agent can use this pattern:
if health["mthfr"]["status"] == "compound_heterozygous":
if health["mthfr"]["actionable"]["priority"] == "high":
suggest_supplement("methylfolate", "400-800mcg")
# Via ClawHub
clawhub install personal-genomics
# Or manually
git clone https://github.com/wkyleg/personal-genomics
cd personal-genomics
pip install pandas numpy scipy rich scikit-learn
⚠️ Important limitations to understand:
MIT License — Use freely, but you accept all responsibility for how you use results.
Built for personal exploration of your own genetics. Use wisely. 🧬