Skip to content
Open access

DNAmBERT: a transformer-based model for non-invasive cancer diagnosis using DNA sequence and methylation data

Sep 2026 · Briefings in Bioinformatics · Vol 27 · 0 citations · 33 references
Medicine

TL;DR

DNAmBERT, a Transformer-based deep learning framework designed to jointly model DNA sequence context and read-level methylation haplotype structure from cfDNA methylation sequencing data, indicates that integrated sequence–haplotype representation learning provides an accurate and scalable approach for cfDNA-based multi-cancer detection.

Abstract

Abstract DNA methylation alterations are early and stable hallmarks of cancer and represent promising biomarkers for non-invasive detection using circulating cell-free DNA (cfDNA). However, current computational approaches often model DNA sequence and methylation features separately and struggle to capture complex read-level methylation architecture in heterogeneous, low-signal liquid biopsy data. Here, we present DNAmBERT, a Transformer-based deep learning framework designed to jointly model DNA sequence context and read-level methylation haplotype structure from cfDNA methylation sequencing data. DNAmBERT integrates k-mer–encoded DNA sequences with methylation haplotype tokens using a unified representation and masked language modelling objective, enabling context-aware learning of sequence–epigenetic dependencies through self-attention. We evaluated DNAmBERT across multiple cfDNA methylation platforms (RRBS, cfRRBS, and cfMethyl-seq) and cancer types, including colorectal cancer, lung adenocarcinoma and hepatocellular carcinoma. In binary classification tasks, the model achieved high performance across platforms (AUC up to 0.99–1.00) and outperformed conventional machine learning and existing deep learning approaches. Aggregation of read-level predictions enabled quantitative tumour probability estimation at the sample level. Beyond binary detection, DNAmBERT supported multi-cancer and stage-aware classification, including early-stage disease, with multiclass AUC values up to 0.99. The framework further demonstrated effective cross-cancer transfer learning, maintaining robust performance under limited data availability. These results indicate that integrated sequence–haplotype representation learning provides an accurate and scalable approach for cfDNA-based multi-cancer detection.

Read PDF

Similar papers

Open access Aug 2026

Pan-cancer Graph-based Cancer Detection Using the Cell-free DNA Methylome

Motivation: Cell-free DNA methylation provides a minimally invasive signal for early cancer detection and tissue-of-origin prediction. Most methods represent methylation measurements as independent fixed-window features and therefore do not explicitly model relationships among genomic regions. Results: We developed PAN...

L. Zhao, Y. Zeng, D. Abelman et al. · 0 citations
Open access Aug 2026

Genome-wide DNA methylation profiling of triple-negative breast cancer uncovers epigenetic biomarkers of tumor identity and the immune microenvironment

DNA methylation deregulation is an essential feature of tumor biology, influencing cancer formation and pathogenesis. Analyses of DNA methylation in bulk cancer specimens are challenging due to the high data dimensionality, noise, and mixture of different cell types. Here, we characterized methylation dynamics in cance...

Iñaki Sasiain, D. F. Nacer, M. Jönsson et al. · 1 citation
Open access Sep 2026

Cross-platform Bayesian deconvolution of MeDIP-seq reveals tissue-specific and cancer-associated methylation signatures

DNA methylation profiling of cell-free DNA is increasingly used for tissue-of-origin analysis and cancer detection, but quantitative interpretation of enrichment-based sequencing data remains a major challenge. MeDIP-seq provides scalable, cost-effective profiling of low-input samples like cell-free DNA, but lacks...

Ning Shen, Ze Zhang, S. Baca et al. · 0 citations
Preprint Aug 2026

DNA Methylation Profiling in Melanoma: From Lesion Classification to Therapeutic Stratification

It is demonstrated that methylation-based models can capture both diagnostic identity and clinically relevant disease stratification, supporting DNA methylation as a promising biomarker for further validation and potential clinical translation.

J. Winterstein, L. Heinlein, G. Raddatz et al. · 0 citations
Open access Aug 2026

Generalizable cancer detection from ultra-low-pass WGS via deep contextual modeling of cfDNA sequences

Fragmentia-AI™ WGS, a mutation-calling-independent framework that uses a transformer-based multiple-instance learning architecture with sequential fine-tuning across tumor fraction (TF) strata to extract latent cancer-associated signals from ULP-WGS data, enables robust cancer detection and clinically meaningful risk s...

Yang Xu, Song Wang, Guo-Feng Sun et al. · 0 citations
Conference Aug 2026

Deep Learning-Based Detection of Disease-Associated DNA motifs in Whole Exome Sequencing Data for Inherited Genetic Disorders

This study presents a deep learning framework for detecting disease-associated DNA sequence patterns in Whole Exome Sequencing (WES) data related to inherited genetic disorders. The proposed workflow combines sequence extraction, one-hot encoding, class balancing using the Synthetic Minority Over-sampling Technique (SM...

Elisha Anastasia Irawan, Jason Alexander, Ahmad Fauzan et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.