DNA Lab
A local-first genomics pipeline: turns a raw 23andMe export into trait, pharmacogenomics, and polygenic-risk reports using public reference databases — entirely on your own machine, so the data never leaves it.
What it does
DNA Lab turns a raw 23andMe export into a set of readable reports — trait predictions, pharmacogenomics (how your genetics might affect drug response), clinical variant flags cross-referenced against ClinVar, nutrigenomics, longevity markers, and polygenic risk scores — without any of that data ever leaving your own machine. There’s no upload step to a third-party service anywhere in the pipeline; ingestion, annotation, and every analysis module run locally against public reference databases (ClinVar, dbSNP) that get downloaded once and queried offline.
How it’s built
The pipeline is orchestrated with Snakemake: a raw 23andMe .txt export (roughly 600,000 SNPs) gets parsed, converted to VCF, quality-checked, and annotated, then handed to independent analysis modules for traits, pharmacogenomics, clinical variants, nutrigenomics, longevity, and polygenic risk. Each module is a self-contained Python step, so the pipeline can run end to end or be re-run one module at a time. Storage is SQLAlchemy over DuckDB rather than a traditional client-server database — a sensible choice for a single-user, local-first tool with genuinely large flat files to query.
A FastAPI backend (with Pydantic-validated settings) serves the results to a React and Vite dashboard. The whole thing also runs against a bundled mock 23andMe file, so the pipeline and dashboard are fully testable without a real genome on hand.