bioRxivBioinformaticsPreprint
pyfraglib: An integrated cfDNA fragmentomics platform
Daniel SchütteiD, Laura GodfreyiD, Jessica SchneideriD, Sven BorchmanniD, Jan‐Michel HegeriD, Roland F. SchwarziD
Abstract
SummaryCell-free DNA (cfDNA) fragmentomics is the analysis of a diverse set of cfDNA fragment features, e.g. fragment length profiles, windowed protection scores, and end motifs. As such it requires software tooling for fragment extraction, statistical feature modeling, and cohort-level comparative analysis. In silico simulations can facilitate the development and validation of new methods by generating testing datasets with known ground truth. Existing tools address individual aspects of this workflow but none provide all necessary capabilities within a single package. ResultsWe present pyfraglib, a platform integrating fragment extraction from short- and long-read sequencing, statistical feature modeling (Gaussian mixture and NMF decomposition of fragment length profiles, end motif diversity, windowed protection scores), cohort-level differential testing of said features, and a simulation module. The library is exposed through a command-line interface, a Python API, and a Nextflow pipeline. We demonstrate pyfraglib in two ways. First, on two simulated 20-sample cohorts we show that pyfraglibs per-sample and cohort-level analyses recover the differences introduced by construction. Second, we apply pyfraglib to 88 cfDNA samples from a central nervous system lymphoma (CNSL) study and construct a fragmentomics score combining an NMF signature with end motif and WPS summaries via a classifier trained on cerebrospinal fluid and healthy donor plasma samples. As a proof of concept and applied to 66 baseline patient plasma samples, the score identifies a high-risk subgroup with worse failure-free survival (log-rank p=0.0247). Conclusionspyfraglib integrates sample- and cohort-level fragmentomics analyses as well as in silico simulation within a consistently engineered Python framework. pyfraglib source code and documentation are available at https://github.com/schwarzlab-ccb/pyfraglib.
- organism: human
- assay: whole-genome sequencing
- research focus: benchmarking
- research focus: database / resource
- approach: statistical model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- FinaleToolkit: Accelerating Cell-Free DNA Fragmentation Analysis with a High-Speed Computational Toolkit
James Wenhan Li, Ravi Bandaru, … Yaping Liu·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024
- Breaking Down Cell-Free DNA Fragmentation: A Markov Model Approach
Terence Tsui Ho Lung, Phil F. Xie, … Víctor M. Pérez‐García·bioRxiv·Jul 6, 2023
- The effect of pre-analytical and physiological variables on cell-free DNA fragmentation.
Ymke van der Pol, Norbert Moldován, … Florent C. Mouliere·Clinical ChemistryPeer-reviewed·Feb 9, 2022
- Long-read sequencing identifies aberrant fragmentation patterns linked to elevated cell-free DNA levels in cancer
Benjamin P. Berman, Sarah A. Erdman, … Theresa Kathleen Kelly·Genome biologyPeer-reviewed·Apr 10, 2026
- FinaleDB: a browser and database of cell-free DNA fragmentation patterns
Haizi Zheng, Michelle S Zhu, Yaping Liu·BioinformaticsPeer-reviewed·Nov 17, 2020
- Cancer-like fragmentomic characteristics of somatic variants in cell-free DNA
Zhenyu Zhang, Yunyun An, … Kun Sun·Advanced SciencePeer-reviewed·Jan 22, 2026