Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: python3 analysis/variant_verification/verify_c138del.py
- name: Re-derive the other exon 1-2 truncating variants
run: python3 analysis/variant_verification/nterm_truncations.py
- name: Tests (derivation, data tables, retired claims)
- name: Tests (derivation, data tables, retired claims, cross-file consistency, figure labels)
run: |
python3 -m pip install --quiet pytest
python3 -m pip install --quiet pytest matplotlib
python3 -m pytest -q tests
16 changes: 0 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,6 @@ yarn-error.log*
pnpm-debug.log*


# Patient sequence data and reports never belong in this repository
*.bam
*.bai
*.cram
*.crai
*.fastq
*.fastq.gz
*.vcf
*.vcf.gz
*.g.vcf.gz
private/

# Local working notes and assistant instructions (kept out of the public repository)
todo.md
CLAUDE.md

# Patient sequence data and reports never belong in this repository
*.bam
*.bai
Expand Down
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,26 @@ Independent re-derivation of the variant and a source-by-source check of the rep
- `tests/` and `.github/workflows/verify.yml` : the derivation, the data tables and a list of retired claims are checked on every push.
- `figures/` and `analysis/figures/make_figures.py` : six README figures generated from the verified data (codon view, translation map, exon 1-2 alleles, case-control evidence, ledger status, clinical timeline). The variant landscape figure was regenerated; the tissue-turnover figure is kept with an audit caption.

### Removed

- `docs/POLE_Comprehensive_Framework.docx` and `docs/POLE_PPAP_Research.pptx` (2026-11-21): both carried the superseded claims; the test suite now scans any Office document or notebook added later (ledger N04).

### Changed (2026-11-21, README body text)

- README sentences that still stated the unmeasured tumour mutational burden as "reported", the turnover correlation as "p < 0.05", Model 1 as a live explanation for hypermutation, and checkpoint-inhibitor eligibility as an "immediate opportunity" were rewritten to match the audit. The top-of-file audit note no longer has to carry them.
- `llms.txt` added at the repository root: an index of the repository for LLM-based search, with the variant identifiers and the post-audit evidence status.
- README refreshed to the post-audit state (later the same day): a "start with the post-audit documents" line (audit, research plan, differential, variant comparison, evidence protocol, ledger, `llms.txt`); a "Reproducibility checks" block describing the derivation scripts, the offline and live test suites and the ledger; the Research Prioritization Timeline marked as superseded by `docs/research_plan_2026-11.md`; Model 7 closed on the splice question (SpliceAI, ledger V13); Key Literature gains the loss-of-function comparators the audit rests on (Mur 2020/2022, Logan 2018, Tsarin & Shcherbakova 2025, Lindeboom 2019, Cohen 2019) and the Albertson row no longer quotes fold-changes that are not in the abstract; the Repository Structure tree now lists what the repository contains (`data/reference/`, the ledger, `tests/`, `figures/`, `scripts/`, workflows, `llms.txt`) and no longer lists the removed non-POLE FASTA.

### Added (2026-11-21, scientific consistency tests)

- `tests/test_scientific_consistency.py` (19 offline tests): exon table integrity; both domain maps against the hotspots, the stop codon and the Met66 restart; every row of `POLE_clinvar_variants.tsv` against the translated CDS and the domain map; all 56 methionines and their Kozak contexts; the ClinVar P/LP snapshot against its summary, the POLE locus and the curated classifications; phenopacket versus HPO table; timeline ages; tissue-turnover sourcing; the exact Spearman p re-derived and compared with every document that quotes it; gnomAD constraint arithmetic and allele counts versus every document; stop codon, product length, exon count, Met66 and genomic coordinates versus every document; bibliography identifiers; every DOI/PMID cited in text catalogued; every COSMIC signature named in text catalogued; every ledger row cited in text present and sourced; every data file checksummed.
- `tests/live/test_external_sources.py` (10 opt-in tests, `POLE_LIVE=1`) and `.github/workflows/verify-live.yml` (weekly): ClinVar classification and submitters of VCV000548779; gnomAD allele counts in v4.1 and v2.1.1; SpliceAI scores via the Ensembl VEP plugin; PubMed search for any publication naming the variant (ledger D11); MANE transcript version and CDS against the fixture; UniProt Q07864 against the translation; exon table against Ensembl; every HPO identifier and label; every bibliography PMID against its PubMed record (first author, year, title); ClinVar P/LP population drift. All ten passed on 2026-11-21.
- What the new tests found and what was fixed: the phenopacket listed three comorbidity-triad terms (joint hypermobility, orthostatic tachycardia, gastroparesis) that `phenotype_hpo.tsv` lacked (rows added; ledger N06); SBS2 and SBS13 were named in two files but absent from `cosmic_signatures_cited.tsv` (rows added from the COSMIC pages); four references were cited only in text (Lam 2017, Pilarski 2013, Heald 2010, Richards 2015; added to the bibliography from PubMed); the ClinVar P/LP export contained a P2RX2 record returned by the gene query (`fetch_clinvar_pole.py` now filters by the gene named in the title; snapshot re-exported the same day, 497 records; ledger D16); `data/templates/lesion_table_template.tsv` was not checksummed.
- **SpliceAI (ledger V13) resolved.** The Broad lookup API stayed unreachable; the Ensembl VEP REST SpliceAI plugin (release 116) gives DS_AG, DS_AL, DS_DG and DS_DL all 0 for ENST00000320574. Model 7 is closed on both counts.
- **Second batch (same day).** Offline: the README figures are rebuilt into a temporary directory and every text label compared with the committed SVGs (`make_figures.py` honours `POLE_FIGURES_OUT`); `phenotype_timeline.tsv` gains a `tissue_key` column that joins `tissue_replication_rates.tsv`, with tests for the join, for agreement of the turnover labels, and for which entries of the notebook's n = 6 dataset the tables do and do not support; phenotype categories compared between the timeline and the HPO table. Live: Ensembl variation overlap of exons 1-2 against the dbSNP fixture (new truncating alleles are potential carriers); every allele modelled by `nterm_truncations.py` against Ensembl VEP's protein consequence; the LOVD entry (skips while LOVD refuses scripted access or the correction is pending); every bibliography DOI against Crossref/doi.org with a title check. The figure test immediately found `figures/claims_ledger_status.*` stale after the ledger changes (72 claims, 46 verified); regenerated.

### Not changed

- `docs/POLE_Comprehensive_Framework.docx` and `docs/POLE_PPAP_Research.pptx` still carry the superseded claims; regenerate or remove them.
- The narrative of the mechanistic models was corrected only where a statement was factually wrong. Their prior probabilities were not re-estimated.

---
Expand Down
2 changes: 0 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ url: "https://github.com/Bloomed-Health/POLE-Frameshift"
license: MIT
version: "0.7.0"
date-released: "2026-11-20"
version: "0.7.0"
date-released: "2026-11-20"
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to the POLE c.138del Research Framework

Thank you for your interest in contributing to this research. This is an active investigation into a novel POLE variant with implications for clinical genetics, cancer biology, and therapeutic strategy. We welcome contributions from researchers across multiple disciplines.
Thank you for your interest in contributing to this research. This is an active investigation into an ultra-rare POLE variant with implications for clinical genetics, cancer biology, and therapeutic strategy. We welcome contributions from researchers across multiple disciplines.

---

Expand Down
14 changes: 8 additions & 6 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This variant has been **confirmed as a germline (constitutional) variant** throu

The patient's presentation spans **five distinct categories**, which is what makes this case so compelling ; it goes far beyond just polyps and cancer:

1. **Neoplastic** ; ~15 adenomatous polyps across the stomach, cecum, and sigmoid colon, plus a Stage I papillary thyroid carcinoma (encapsulated, non-invasive, 1.2 cm, isthmus; not previously linked to PPAP)
1. **Neoplastic** ; ~20 adenomatous polyps across the stomach, cecum, and sigmoid colon, plus a Stage I papillary thyroid carcinoma (encapsulated, non-invasive, 1.2 cm, isthmus; not previously linked to PPAP)
2. **Proliferative/stromal** ; Bilateral breast changes with pseudoangiomatous stromal hyperplasia (PASH) and liver focal nodular hyperplasia (FNH) ; a pattern of vascular/stromal proliferation across multiple organs
3. **Endometrial** ; Stage IV+ deep infiltrating endometriosis with trans-diaphragmatic invasion and intestinal adhesions, plus diffuse adenomyosis ; extraordinarily severe. Note: hEDS independently causes severe endometriosis, so the POLE contribution to endometrial severity is uncertain without molecular confirmation
4. **Congenital developmental** ; A duplicated inferior vena cava (a vascular anomaly present from birth), which **cannot** be caused by a tumor-specific mutation and argues that POLE dysfunction has effects during embryonic development
Expand All @@ -59,19 +59,21 @@ This is where it gets interesting. All previously known PPAP-causing mutations a

The c.138del variant is fundamentally different. It cuts the protein off so early that there is **no proofreading region AND no DNA copying region**. It's like removing the typist entirely. Under current scientific models, this should not cause PPAP. The patient has polyps and a thyroid cancer, but whether her tumours are hypermutated has **never been measured** (corrected 2026-11-20): no tumour or polyp has been sequenced, and the ">100 mutations per megabase" figure quoted in earlier versions of this FAQ was borrowed from the PPAP literature, not observed. Sequencing one lesion is the highest-priority experiment.

> **Important caveat:** Before attributing the phenotype to POLE-driven pathology, mismatch repair deficiency must be excluded as an alternative explanation. MMR IHC, MSI testing, and MLH1 promoter methylation analysis are pending. Without these, a reviewer cannot distinguish genuine POLE-driven hypermutation from an MMR-deficient phenocopy. The germline panel excludes Lynch syndrome, but somatic MMR inactivation remains possible.
> **Important caveat:** Before attributing the phenotype to POLE-driven pathology, mismatch repair deficiency must be excluded as an alternative explanation. MMR IHC, MSI testing, and MLH1 promoter methylation analysis have not been ordered (no tumour tissue has been submitted for molecular testing). Without these, a reviewer cannot distinguish genuine POLE-driven hypermutation from an MMR-deficient phenocopy. The germline panel excludes Lynch syndrome, but somatic MMR inactivation remains possible.

This creates a **mechanistic paradox** that, if resolved, could inform how truncating POLE variants are evaluated in clinical genetics. PPAP is a working hypothesis for this variant type; classical PPAP is defined by ExoD missense variants, and whether a frameshift can produce a PPAP-like phenotype through a non-canonical mechanism is the central question under investigation. It is also possible that the variant is incidental and the phenotype has a different explanation (see Model 0: Null Hypothesis).

---

## What does this mean for other patients?

If the research confirms that truncating POLE variants (variants that cut the protein short) can produce a PPAP-like phenotype through a non-canonical mechanism, and if findings are replicated, it would mean:
**Current evidence argues against extending PPAP guidelines to truncating variants.** Joo et al. (2025) and Mur et al. (2020) found that POLE loss-of-function variants are not associated with PPAP or cancer predisposition. No tumour from a POLE truncation carrier has been shown to carry POLE mutational signatures (SBS10a/b). Until patient-level molecular data demonstrate otherwise, existing PPAP guidelines (which cover exonuclease-domain missense variants) are not expected to need revision for truncating variants.

- **Variants currently classified as "uncertain significance" (VUS) may actually be pathogenic.** Some people carrying truncating POLE variants may be at cancer risk that is currently unrecognized.
- **Genetic testing interpretation may need to change.** Clinical genetics laboratories may need to reclassify truncating POLE variants.
- **More people may be identified as carriers.** This could expand cancer screening and prevention to individuals not currently recognized as at-risk.
If future research were to confirm that truncating POLE variants can produce a PPAP-like phenotype through a non-canonical mechanism, it could mean:

- **Variants currently classified as "uncertain significance" (VUS) may need re-evaluation.** However, this is conditional on molecular evidence that does not currently exist.
- **Genetic testing interpretation would need to be reconsidered.** But this would require replicated findings across multiple carriers.
- **More people may be identified as at-risk.** This remains speculative pending experimental data.

---

Expand Down
Loading
Loading