MetagenBERT: a Transformer Architecture using Foundational DNA Read Embedding Models to enhance Disease Classification
Gaspar RoyiD, Eugeni BeldaiD, Edi PriftiiD, Yann ChevaleyreiD, Jean‐Daniel ZuckeriD
Abstract
Microbial ecosystems constitute complex yet information-rich environments whose characterization is crucial for understanding host health and disease. Among them, the human gut microbiome has emerged as a key "super-integrator", owing to its dense interactions with host physiology and its established associations with a wide spectrum of pathologies. Driven by advances in high-throughput sequencing technologies and the continuous decline in associated costs, metagenomic studies have expanded exponentially, generating massive amounts of sequencing data and opening new avenues for data-driven disease modeling. Conventional approaches to microbiome analysis predominantly rely on the alignment of DNA sequencing reads against reference databases to infer microbial composition and profiling at the species level. While effective, these methods are inherently constrained by reference bias and limited taxonomic resolution. Recent advances in artificial intelligence--particularly in Natural Language Processing (NLP) offer new methodological perspectives for metagenomic data representation. In this study, we present MetagenBERT, a Transformer-based framework to embed metagenomes that relies on the foundational models DNABERT-2 and DNABERT-S for the embedding of DNA sequencing reads. Our approach encodes gut microbiome metagenome in a taxonomy-agnostic manner, enabling direct downstream application to disease classification tasks. We demonstrate that MetagenBERT reaches similar performance to state-of-the-art abundance-based models for cirrhosis prediction and surpasses them in the more challenging context of type 2 diabetes. Furthermore, we introduce an alternative representation of metagenomes based on read-level embeddings aggregated into abundance vectors, demonstrating their complementarity with conventional species-level abundance metrics.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 2
- Organism
- Assay
- Research Focus
- Approach
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
- Towards end-to-end disease prediction from raw metagenomic data
Maxence Queyrel, Edi Prifti, … Jean‐Daniel Zucker·bioRxiv·Oct 29, 2020
- BiomeGPT: A foundation model for the human gut microbiome
Nicholas A. Medearis, Siyao Zhu, Ali R. Zomorrodi·bioRxiv·Jan 5, 2026
- MicrobeRT: A Framework and Suite of Fine-tuned Language Models for Genomic Sequences
Vijay Narayan, Brian Merritt, … Molly E Gallagher·bioRxiv·Nov 4, 2026
- Deep Learning Methods in Metagenomics: a systematic review
Gaspar Roy, Edi Prifti, … Jean‐Daniel Zucker·Microbial GenomicsPeer-reviewed·Apr 17, 2024
- A universal taxonomic and functional human gut microbiome model for disease classification and phenotype discovery
Zuzanna Karwowska, Marcin Możejko, … Tomasz Kościółek·bioRxiv·May 5, 2026
- DeepMicrobes: taxonomic classification for metagenomics with deep learning
Qiaoxing Liang, Paul W. Bible, … Lai Wei·NAR Genomics and BioinformaticsPeer-reviewed·Feb 19, 2020