Repository navigation
DeepCatch v2.4.0 — the bisulfite-free (FRAGMA-style) ablation, engineered end to end
DeepCatch v2.4.0 — the bisulfite-free (FRAGMA-style) ablation, engineered end to end
A methylated CpG is protected from the nuclease that makes cfDNA fragments, so the
fragment ends carry a signal that methylation leaves behind — and that signal can be
read in place of a bisulfite assay. This release builds the pipeline that reads it.
What is in it
- The CpG cleavage extractor (
src/fragma_ablation/cleavage_extractor.py) — the
number of fragment 5' ends in an 11-nt window (-5..+5) around every CpG's cytosine,
with the two conventions that would silently shift every number by one base stated
in the module docstring and pinned by the tests: the intervals are 0-based
half-open, and window position 0 is the cytosine with position -1 the base
immediately upstream of it in that CpG's own orientation. A CpG is aCGdyad and
the reverse complement ofCGisCG, so the same site has a cytosine on each
strand one base apart; the index is checked against the repository's own hg19 CpG
index, which it matches on all 28,217,448 entries. - The seeded depth downsampler (
src/fragma_ablation/downsample.py) —
fragment-level subsampling to 1.0x / 0.5x / 0.2x / 0.1x, with the depths nested
(at one seed the 0.1x selection is a subset of the 0.5x one, so the depth-decay
curve measures depth and not the noise of four independent draws) and the achieved
coverage recorded rather than implied. - The patient-disjoint split helper (
src/fragma_ablation/splits.py) — the
patient is derived from the sample id under both conventions the repositories use,
and the split is checked for leaks with a negative control, so the check cannot pass
by construction. - The encoders, the three-way ablation runner and the two figures
(src/fragma_ablation/encoder.py,run_ablation.py,plot_results.py) — the
CNN and self-attention cleavage-to-methylation encoders, the three fusion modes
(full multi-modal, bisulfite-free, no-methylation baseline) at four depths, and the
depth-decay and saliency figures.
Measured on the real cohorts
| cohort | file | build | chrom | fragments | wall clock | throughput | peak RSS |
|---|---|---|---|---|---|---|---|
| SAUNA | SeCT-20_hg38.frag.tsv.bgz |
hg38 | chr21 | 191,846,237 | 41.9 s | 4.58 M frag/s | 845 MiB |
| PHTS | CCF00016-01-001.hg19.frag.bed.gz |
hg19 | chr21 | 2,833,699 | 2.5 s | 1.13 M frag/s | 690 MiB |
Also in this release
- the CC BY 4.0 notice on the manuscript's first page (arXiv requires it for that
licence); - the JOSS length cut and a candidate PLOS abstract, both inside their venues' limits;
- the CANCER-SEEK modules ported, with their fourteen tests actually collected (they
had been silently skipped, because a file named__init__.pymatches neither of
pytest's default collection patterns); - the screening cohort's null, the sequencing-depth control for the held-out
publications, and the graded tumour-fraction cohort in the manuscript; - 1114 tests.
Reading it
The preprint route is arXiv (bioRxiv rejected the manuscript on 2026-11-25 under its
institutional-affiliation rule; arXiv offers "Independent" by name). The source
archive for the upload is the deepcatch-arxiv-source artifact of the latest
"Compile Paper PDF" run.
Not clinically validated. Research use only.