bioRxivBioinformaticsPreprint
PathoBERT: A Hybrid Attention-Based Genomic Language Model for Read-Level Bacterial Pathogenicity Prediction
Salem A. El-aarag, Mario Flores, Mohamed E. HasaniD, Alaa E. Hemeida, Mahmoud ElHefnawiiD
Abstract
Motivation Although recent deep learning models have achieved promising results on read level classification tasks, their robustness to realistic sequencing conditions, sensitivity to read length, and ability to support reliable genome level inference remain incompletely characterized. Here, we present PathoBERT, a hybrid deep learning framework that integrates a LoRA adapted DNABERT encoder with convolutional feature extraction, a modified Convolutional Block Attention Module (MCBAM), and Multiscale Convolutional Attention (MSCA) for bacterial pathogenicity prediction. Results The model demonstrated near complete strand invariance and maintained robust performance under simulated sequencing errors, highlighting its suitability for real world next generation sequencing applications. The model operates on individual sequencing reads and supports genome level inference through a read-aggregation strategy based on the Pathogenic Fraction (PathFrac), which combines read level predictions using a majority vote framework. At the read level, PathoBERT outperformed DeePaC at short and moderate fragment lengths (100 and 150 bp), achieving peak performance at 150 bp. At the genome level, PathoBERT achieved perfect separation between pathogenic and non pathogenic genomes using PathFrac based aggregation, resulting in perfect classification performance on the evaluated benchmark compared with competing approaches, namely DeePaC and PathogenFinder 2. Representation level analyses further demonstrated that a progressive refinement of pathogen-associated features throughout the architecture, culminating in highly separable and biologically meaningful latent representations within the final attention pooled embedding space. These findings demonstrate that integrating contextual genomic language models with attention guided multiscale feature extraction provides a robust framework for pathogenicity prediction from short read sequencing data.
- organism: bacteria (other)
- assay: whole-genome sequencing
- research focus: variant effect prediction
- approach: deep learning
- 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
- PathoLM: Identifying pathogenicity from the DNA sequence through the Genome Foundation Model
Sajib Acharjee Dip, Uddip Acharjee Shuvo, … Liqing Zhang·bioRxiv·Jun 18, 2024
- DeePaC: Predicting pathogenic potential of novel DNA with reverse-complement neural networks
Jakub M. Bartoszewicz, Anja Seidel, … Bernhard Y. Renard·BioinformaticsPeer-reviewed·Jul 11, 2019
- MetagenBERT: a Transformer Architecture using Foundational DNA Read Embedding Models to enhance Disease Classification
Gaspar Roy, Eugeni Belda, … Jean‐Daniel Zucker·bioRxiv·May 6, 2025
- MicrobeRT: A Framework and Suite of Fine-tuned Language Models for Genomic Sequences
Vijay Narayan, Brian Merritt, … Molly E Gallagher·bioRxiv·Nov 4, 2026
- ProkBERT PhaStyle: Accurate Phage Lifestyle Prediction with Pretrained Genomic Language Models
Judit Juhász, Noémi Ligeti-Nagy, … Balázs Ligeti·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024
- ProkBERT Family: Genomic Language Models for Microbiome Applications
Balázs Ligeti, István Szepesi-Nagy, … János Juhász·Frontiers in MicrobiologyPeer-reviewed·Jan 11, 2024