Problem Statement: A Genomic Data Factory, Not a Web Service
Frames genome sequencing data processing as a throughput-first, correctness-critical, compliance-bound data factory with five architectural planes.
Problem statement
Design a platform that ingests raw genomic data (FASTQ) off sequencing instruments, runs alignment and variant calling on HPC clusters or cloud batch fleets, and stores final processed data (CRAM, gVCF, annotated VCF) with full sample metadata for research or personalized medicine. The platform must handle massive file sizes, parallel computation, and partial re-runs without corrupting prior results or violating consent.
This is not a request/response system. A single human whole genome sequenced at 30x coverage produces roughly 90 GB of paired-end FASTQ, and an Illumina NovaSeq 6000 S4 flow cell publishes about 6 terabytes and up to 20 billion reads in a single two-day run, per Illumina's published specifications. The system therefore lives in three simultaneous regimes: a throughput problem (moving and transforming petabytes), a correctness problem (provenance, reproducibility, sample identity), and a compliance problem (genetic data is a GDPR Article 9 special category and a HIPAA-adjacent identifier in practice because a genome is itself an identifier).
Why the problem is distinctive
A web backend retries a failed request. A genomics pipeline retries a failed shard, but a silent sample swap or a wrong reference genome build poisons every downstream clinical interpretation. The design separates four concerns:
- Delivery throughput: bytes moved per day, jobs scheduled per hour, cores occupied.
- Scientific correctness: reference build pinned, tool versions pinned, outputs content-addressed, QC gates enforced.
- Provenance: every artifact traceable to sample, library, lane, run, software, and reference versions.
- Governance: consent tiers, access policies, retention, withdrawal, and audit.
Public operating baseline versus design assumptions
Public evidence shows the category is real and large. The Broad Institute's gnomAD v4 aggregates roughly 730,000 exomes and 76,000 genomes, published by Broad in 2023. The 1000 Genomes Project published 2,504 genomes. Genomics England completed the 100,000 Genomes Project in 2018, and the UK Biobank effort, analyzed by Amgen and deCODE Genetics on DNAnexus, sequenced 500,000 whole genomes, announced in late 2023. These are cited public figures and context, not our design targets.
For capacity planning this answer assumes a mature regional genomics center processing 100,000 whole genomes per year at 30x coverage, with a 5x event peak from batch releases. Unless a number is tied to a publication, it is an explicitly stated design assumption.
The five architectural planes
- Ingest plane: instrument offload, BCL-to-FASTQ demultiplexing, checksums, manifests, quarantine.
- Orchestration plane: workflow engine, DAG scheduling, scatter-gather, caching, retries.
- Compute plane: on-prem HPC (SLURM), cloud batch, spot fleets, FPGA/GPU accelerators, reference data caching.
- Data plane: object store tiers, registry, variant store, annotation database, warehouse.
- Governance plane: consent policy engine, access control, audit log, retention and withdrawal workflows.
A strong answer keeps these planes separate: a compute failure must not corrupt the registry, a consent revocation must propagate to every derived artifact, and a workflow engine outage must never delete already-validated results.
Key Highlights
- •A 30x human WGS is about 90 GB of FASTQ; one NovaSeq 6000 S4 run is about 6 TB and 20 billion reads per Illumina's published specs.
- •Separate throughput (bytes/jobs), correctness (provenance/QC), and governance (consent/audit) as distinct design axes.
- •Public fleets like gnomAD v4 (~730k exomes, ~76k genomes) and UK Biobank (500k WGS) prove petabyte scale is the norm.
- •Five planes: ingest, orchestration, compute, data, governance; failures in one must not corrupt another.
- •A genome is an identifier: privacy design cannot rely on de-identification alone.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "I will separate delivery throughput from scientific correctness and consent governance before choosing any technology."
- "Let me first define which plane owns each failure mode: ingest corruption, job preemption, or consent revocation."