Open-source. Reproducible. Public data only.
Five lines to a panel-based MRD score on real TCGA tumor mutations.
git clone https://github.com/rollroyces/deepcatch.git
cd deepcatch && python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]" # [dev] adds pytest; the base install does not
pytest -q # 1118 tests (the deep-learning ones skip
# without the [api] extra)
bash RUN_ALL.sh --quick # the validation run, into a scratch directory
Validated end-to-end on real TCGA-LUAD mutations (GDC, open access) and FLARE/GSE317007 real cfDNA.
DeepCatch ships two detection channels that are individually useful and even better together:
Per-locus Poisson LLR aggregation across tumor-suppressor panel. Best at MRD-style ultra-low VAF (≤0.1%). Trained on real TCGA-LUAD mutations with a context-aware sequencing error model.
AUC 0.921 at 0.1% ctDNA on 20 TCGA-LUAD patients.
5-mer end motifs + fragment size distribution + DELFI/WPS coverage profiles. No tumor mutations required. Best at pan-cancer screening.
AUC 0.9684 ± 0.0027 on 627 cross-study samples from FinaleDB (GC-corrected; legacy no-GC baseline 0.9770 ± 0.0013). 0.9444 [0.8731–1.0000] on a held-out publication that contributes no training data, 0.708 on a second, 0.7385 pooled.
Two channels averaged. AUC 0.9884 — paired over 10 seeds: +0.0144, t = 54.50, positive on every seed. The mutation channel in this pairing is a calibrated synthetic proxy (AUC 0.902), so it is a complementarity result, not a performance claim.
Standalone cfdna-score CLI scores any sample against the trained model in <1 s with cache hit. SCORE_USAGE.md →
6-class TOO from fragmentomics alone: macro AUC 0.9533 (full), 0.9338 within-Cristiano (batch-effect removed). Top-1 79.4%, top-2 90.7%. These four figures come from a run (91a95b0) whose input and output are not in this repository, so they cannot be recomputed here — they can be recomputed in the companion repository, where the script, the artifact and the write-up are committed on its public main.
FinaleMe runs end-to-end on real public fragment files here, and the channel was measured and reported as a null: its AUC equals the library-depth baseline exactly, and at the 103,863 loci where both arms have coverage the median cancer-vs-control difference is 0.0 (permutation p = 1.0). The cause is measured too — the public libraries are size-selected at ~300 bp and deliver ~1 observation per CpG. write-up →
The cross-study and fusion rows are 5-seed mean ± std; the held-out rows are single fits with DeLong 95% CI; the graded-label row is a rank correlation with a sampled permutation p. No single-seed AUC is reported anywhere in the repo.
| Cohort | Samples | Task | AUC (mean ± std) |
|---|---|---|---|
| FinaleDB pan-cancer (Jiang 2015 + Cristiano 2019) | 627 | Cancer vs healthy | 0.968 ± 0.003 |
| Held-out publications never trained on (Sun 2019 WGS) | 31 | Cancer vs control | 0.9444 [0.8731–1.0000] |
| Held-out publication never trained on (Snyder 2016 WGS) | 52 | Cancer vs control | 0.708 [0.5148–0.9012] |
| ccRCC plasma, Zenodo 10.5281/zenodo.21269430 (never trained on) | 12 | Cancer vs healthy | 0.9444 [0.8156–1.0], exact permutation p = 0.0043 — all six patients are pT3a (stage III), two with distant metastasis, so the ranking transfers and the absolute threshold does not |
| SAUNA colorectal plasma with a per-sample tumour fraction (Zenodo 10.5281/zenodo.15097509) | 9 | Score vs tumour fraction | Spearman rho 0.8154 within the CRC samples (p = 0.0355) |
| Cleveland Clinic PHTS screening plasma, stage-graded (Zenodo 10.5281/zenodo.15109495) | 99 | Cancer vs no cancer | 0.4506 [0.3343–0.5669] — and not even a model fitted inside the cohort separates it (0.5465) |
| Immunotherapy responder plasma, six centres (Zenodo 10.5281/zenodo.15738112) | 184 | Responder vs non-responder | 0.3373 — and the same features separate two centres that share a response label at 0.9813, so the cohort's structure is the centre |
| End-motif plasma, 4-mer end motifs (Zenodo 10.5281/zenodo.17253504) | 223 | Cancer vs healthy | 0.8207 on the published CC-/CA-end statistic (permutation p = 5e-05) — but the same 256 features separate two cancer groups from different studies at 0.9996, so the study structure in these libraries is larger than any class effect here |
| Leave-one-study-out (train one publication, test the other) | 627 | Transfer | 0.681 / 0.936 |
| Mutation × tumor-naive fusion (same 627) | 627 | Channel fusion | 0.9884 ± 0.0010 |
| Tumor-naive fragmentomics + synthetic mutation (5-channel) | 627 | Cross-channel | 0.9921 pooled (from the companion cfdna-fragmentomics-pipeline repository, not from an artifact in this one) |
| TCGA-LUAD panel LLR @ 0.1% ctDNA | 20 patients | Ultra-low VAF | 0.921 (Sens@95% = 0.770) |
| Multi-cancer 5-class OvR (LR+PCA(200)) | 281 cancer | Cancer subtyping | 0.970 ± 0.001 macro (from the companion cfdna-fragmentomics-pipeline repository; its five classes are BRCA, HCC_J, LUAD, PAAD and healthy — colorectal, ovarian and gastric were dropped at fewer than 30 samples each) |
| Tissue-of-origin (within-Cristiano, 5-class) | 247 cancer | Tissue origin | 0.934 ± 0.002 macro (from the companion cfdna-fragmentomics-pipeline repository, where the script and the artifact are committed; the six-class run on 336 cancer samples reaches 0.953 ± 0.002) |
| FLARE/GSE317007 (ONT real cfDNA) | 12 HNSCC | Cross-platform | Reproduces CG-depletion signature |
Headline comparisons vs published MCED tests at sens@99% specificity:
| Test | Cohort | Cancers | Sens @ 99% spec |
|---|---|---|---|
| Galleri (CCGA-3, methylation-based) | 4,023 | 50+ | 51.5% @ 99.5% |
| CancerSEEK (8-cancer) | 1,005 | 8 | ~70% @ ~99% |
| This — fragmentomics alone | 627 | 8 | 75.5% (CI 63.3–87.6) (from the companion cfdna-fragmentomics-pipeline repository) |
| This — fragmentomics + fusion | 627 | 8 | 84.3% (CI 80.0–92.9) (from the companion cfdna-fragmentomics-pipeline repository) |
Read the held-out rows as a late-stage transfer result. Where the public records characterise them, the held-out cohorts are advanced-stage: Snyder 2016 is Stage IV throughout (per its own GEO extract protocol) and Adalsteinsson 2017 is a metastatic cohort. No case in the held-out cohort is placed at Stage I by the records that were read, so these AUCs say nothing about early detection — see EXTERNAL_VALIDATION.md.
Five more external cohorts, and what each one settles. The ccRCC cohort is a second external family — the ranking transfers (0.9444, exact permutation p = 0.0043) — and it comes with a disclosed confound: sequencing depth alone separates its two arms at 0.8333, so the number is quoted with that baseline next to it (the model's separation survives it, 0.9722 with the depth removed). SAUNA is the cohort with a graded label: nine colorectal plasma samples, each carrying a per-sample tumour fraction, and the tumour-naive score tracks that fraction (Spearman rho 0.8154 within the seven CRC samples, p = 0.0355; the short/long ratio carries more of it, 0.9643), with the one patient sampled three times rising with it. The Cleveland Clinic PHTS cohort is a hereditary-cancer screening population whose malignant samples are mostly subclinical — nothing separates there, not even a model fitted and cross-validated inside the cohort (0.5465) — so that one is a statement about the cohort, not about the model. And the immunotherapy cohort is the one whose endpoint is a treatment response rather than a cancer/healthy contrast (184 longitudinal plasma samples from 68 patients across six centres): the study's own metric finds 0 of 5,527 bins differential where the paper reports 1,080, and the classifier reaches 0.3373 — while the same features separate two collection centres that share a response label at 0.9813, so the cohort's structure is the centre, not the response. The end-motif cohort is the one whose class AUCs look strongest — 0.8207 on the published CC-/CA-end statistic, permutation p = 5e-05 — and cannot be read as a class signal: the same 256 features separate two cancer groups from different studies at 0.9996, so the study structure in these libraries is larger than any class effect here. Every number on this page is in a committed JSON artifact — results/external_cohort_zenodo_ccrcc.json, results/external_cohort_zenodo_sauna.json, results/external_cohort_zenodo_phts.json, results/external_cohort_zenodo_endmotif.json and results/external_cohort_zenodo_immunotherapy.json — with the exceptions named where they appear: the multi-cancer and tissue-of-origin figures, the cross-channel fusion and the Sens@99% figures come from the companion cfdna-fragmentomics-pipeline repository, where their scripts and artifacts are committed. The per-cohort write-ups are in PUBLIC_DATA_SOURCES.md.
See RESULTS.md for full per-cohort breakdown, ablations, and known limitations.
Earlier panel-only revision (kept for reference): paper/PAPER.md
LaTeX source: paper/paper.tex
Pre-compiled PDF: paper/biorxiv_submission_v2.4.0.pdf
JOSS-format manuscript: paper.md
Long-form methods manuscript: paper/METHODS_PAPER.md
Author: Yu Ching Lam · ORCID 0009-0008-9113-769X · Independent Researcher, Hong Kong.
Cite this release: (v2.4.0, MIT; archived 2026-11-30).
Standalone fragmentomics-only paper draft at deepcatch-methylation/BIORXIV_PAPER_FRAGMENTOMICS.md
Covers the 4 enhancements: multi-cancer, sens@spec, per-sample CLI, tissue-of-origin.
REVIEWERS.md — what we built, what we want feedback on, contact info.
AUDIT_REPORT.md — independent review notes.
MODEL.md — model card (intended use, limitations, ethics).
I'm Yu Ching Lam, an independent researcher in Hong Kong. No lab of my own.
What I have: open data, ORCID, GitHub, and time.
DeepCatch is built on public data only — TCGA GDC, FinaleDB, GEO, Zenodo. Every result in the repo is reproducible from open data with the provided scripts. No paywalled supplements, no institutional access required.
If this work is useful, a GitHub star helps reach more reviewers. Sponsorship funds compute and storage.