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 group | carriers | sequenced | Mean onset age | Mean age at last visit | Codon 129 MV | Modifier alleles (mean) | Protective alleles (mean) |
|---|
| Early onset (<55) | 12 | 2 | 50 | 52 | 1 | 0.50 | 0.50 |
| Typical onset (55–69) | 17 | 5 | 62 | 63 | 4 | 0.60 | 0.20 |
| Late onset (70+) | 1 | 0 | 74 | – | 0 | – | – |
| Resilient (unaffected at 75+) | 3 | 2 | – | 80 | 1 | 0.00 | 1.50 |
| Unaffected so far | 30 | 22 | – | 45 | 13 | 0.32 | 0.50 |
It then scans every variant in the sequenced genomes for alleles that differ between affected and resilient carriers.
| Variant | Allele freq. affected | Allele freq. resilient | difference | Affected n | Resilient n |
|---|
| SYN_PROT1 | 0.14 | 0.75 | 0.61 | 7 | 2 |
| SYN_BG008 | 0.71 | 0.25 | -0.46 | 7 | 2 |
| SYN_BG023 | 0.29 | 0.75 | 0.46 | 7 | 2 |
| SYN_BG025 | 0.07 | 0.50 | 0.43 | 7 | 2 |
| SYN_BG036 | 0.14 | 0.50 | 0.36 | 7 | 2 |
| SYN_BG039 | 0.36 | 0.00 | -0.36 | 7 | 2 |
| SYN_BG003 | 0.43 | 0.75 | 0.32 | 7 | 2 |
| SYN_BG020 | 0.57 | 0.25 | -0.32 | 7 | 2 |
| SYN_BG002 | 0.21 | 0.50 | 0.29 | 7 | 2 |
| SYN_BG009 | 0.79 | 0.50 | -0.29 | 7 | 2 |
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.