Prototype · synthetic data only

Research Questions Explorer

Run each research question on the synthetic cohort and change its settings. Every number here comes from invented data.

1. Early onset and resilience

Alice’s question

Why do some PRNP E200K carriers develop CJD much earlier than others, while some remain healthy into their 80s and 90s? Can we compare whole-genome sequencing, genetic variants, clinical information and eventually multi-omics data to identify potential modifiers of disease onset or resilience?

The query groups every carrier by outcome, then compares their PRNP genotypes and the two synthetic modifier variants.

Outcome groupcarrierssequencedMean onset ageMean age at last visitCodon 129 MVModifier alleles (mean)Protective alleles (mean)
Early onset (<55)122505210.500.50
Typical onset (55–69)175626340.600.20
Late onset (70+)1074–0––
Resilient (unaffected at 75+)32–8010.001.50
Unaffected so far3022–45130.320.50

It then scans every variant in the sequenced genomes for alleles that differ between affected and resilient carriers.

VariantAllele freq. affectedAllele freq. resilientdifferenceAffected nResilient n
SYN_PROT10.140.750.6172
SYN_BG0080.710.25-0.4672
SYN_BG0230.290.750.4672
SYN_BG0250.070.500.4372
SYN_BG0360.140.500.3672
SYN_BG0390.360.00-0.3672
SYN_BG0030.430.750.3272
SYN_BG0200.570.25-0.3272
SYN_BG0020.210.500.2972
SYN_BG0090.790.50-0.2972
What it finds, on the default settings

The planted protective variant (SYN_PROT1) ranks first: 3 of 4 alleles in the resilient carriers, against 2 of 14 in affected ones. The earlier-onset modifier (SYN_MOD1) shows up only in affected carriers. Random background variants also differ by chance, because only 2 resilient carriers are sequenced; real analyses will need family-aware statistics and every sequenced carrier.

Rerun this result
psql "$DATABASE_URL" -f queries/q1_onset_modifiers.sql

Code version 59c4d58, run in prototype/. The cohort is regenerated from config.toml with a fixed seed, so the same code version gives the same numbers.