nutrigx

Generates personalised nutrition reports from consumer genetic data files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, matplotlib, seaborn, reportlab.

What problem does it solve?

Turning raw consumer genetic data (23andMe, AncestryDNA, VCF) into actionable dietary guidance normally requires specialised nutrigenomics knowledge and manual SNP lookup. This Skill automates the entire pipeline locally: it parses the raw genotype file, interrogates a curated panel of nutritionally-relevant SNPs, computes per-nutrient risk scores, and produces a readable report with dietary recommendations — without sending any genetic data to external servers.

Core Features & Use Cases

  • Multi-format input parsing: Accepts 23andMe .txt/.csv, AncestryDNA .csv, MyHeritage .csv, and standard VCF files with automatic format detection and forward-strand normalisation.
  • Curated SNP panel with risk scoring: Covers 28 SNPs across 12 nutrient domains (folate, vitamin D, omega-3, caffeine, lactose, gluten, antioxidant pathways, and more), scored on a 0–10 scale with Low/Moderate/Elevated categories.
  • Report and reproducibility outputs: Generates a Markdown nutrition report, radar chart, gene × nutrient heatmap, and a reproducibility bundle (commands.sh, environment.yml, SHA-256 checksums, provenance.json).
  • Use Case: A user downloads their 23andMe raw data and asks what their APOE and MTHFR status means for their diet; the Skill produces a full report flagging elevated vitamin D risk and recommending 5-MTHF over folic acid.

Quick Start

Ask the agent to generate a personalised nutrition report from your 23andMe or VCF file, for example: "Generate my personalised nutrition report from genome.csv and flag any folate pathway risks."

Frequently Asked Questions about nutrigx

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

FAQPage Schema
How do I generate a personalised nutrition report from 23andMe data?

Run the nutrigx.py script with your 23andMe raw data file as input, for example: python nutrigx.py --input genome.csv --output results/. The parser auto-detects the 23andMe format, extracts panel SNP genotypes, and writes a Markdown report with risk scores and figures.

What genetic file formats does nutrigenomics analysis support?

The parser supports 23andMe .txt/.csv, AncestryDNA .csv, MyHeritage .csv, and standard VCF files. Format is auto-detected from header lines, or you can force it with the --format flag (23andme, ancestry, myheritage, or vcf).

Which genes and SNPs are covered for nutrition analysis?

The curated panel covers 28 SNPs across 12 nutrient domains, including MTHFR (folate), VDR and GC (vitamin D), FADS1/FADS2 and APOE (omega-3 and fat), CYP1A2 (caffeine), MCM6 (lactose), and BCMO1 (vitamin A). Definitions live in data/snp_panel.json with literature PMIDs.

Is my genetic data uploaded anywhere during analysis?

No. All computation runs locally on your machine; no genetic data is transmitted anywhere. Output reports contain only gene names, SNP IDs, and risk categories, never raw genotype-level personal data beyond the called genotypes shown in tables.

Why does my report show low panel coverage warnings?

A warning appears when fewer than 25% of panel SNPs are found in your input file, which happens with chip-to-chip variation between genotyping arrays. SNPs absent from your chip are flagged as not_tested and excluded from scoring, reducing report reliability.

What are the limitations of polygenic nutrition risk scores?

These scores cover only common variants (MAF > 1%) and are not diagnostic or medical advice. Effect sizes derive mostly from European GWAS cohorts, so estimates may not generalise across ancestries, and rare pathogenic variants require clinical confirmation.