Predicting clinical outcome of Escherichia coli O157:H7 infections using explainable machine learning
Open Access
- 17 December 2025
- journal article
- Published by Microbiology Society in Microbial Genomics
- Vol. 11 (12)
Abstract
Shiga toxin-producing Escherichia coli (STEC) O157:H7 is a globally dispersed zoonotic pathogen capable of causing severe disease outcomes, including bloody diarrhoea and haemolytic uraemic syndrome. While variations in Shiga toxin subtype are well-recognized drivers of disease severity, many unexplained differences remain among strains carrying the same toxin profile. We applied explainable machine learning (ML) approaches – Random Forest and Extreme Gradient Boosting – to whole-genome sequencing data from 1,030 STEC O157:H7 isolates to predict patient clinical outcomes, using data collected over 2 years of routine surveillance in England. A phylogeny-informed cross-validation strategy was implemented to account for population structure and avoid data leakage, ensuring robust model generalizability. Extreme Gradient Boosting outperformed Random Forest in predicting minority classes and correctly predicted high-risk isolates in traditionally low-risk lineages, illustrating its utility for capturing complex genomic signatures beyond known virulence genes. Feature importance analyses highlighted phage-encoded elements, including potentially novel intergenic regulators, alongside established virulence factors. Moreover, key genomic regions linked to small RNAs and stress-response pathways were enriched in isolates causing severe disease. These findings underscore the capacity of explainable ML to refine risk assessments, offering a valuable tool for early detection of high-risk STEC O157:H7 and guiding targeted public health interventions.Keywords
Funding Information
- Health~Holland (LSHM23021)
- Biotechnology and Biological Sciences Research Council (BBS/E/RL/230002C.)
This publication has 181 references indexed in Scilit:
- The Clustal Omega Multiple Alignment Package2020
- NADPH‐related processes studied with a SoxR‐based biosensor in Escherichia coliMicrobiologyopen, 2018
- Escherichia coli kduD encodes an oxidoreductase that converts both sugar and steroid substratesApplied Microbiology and Biotechnology, 2014
- Pathogenesis of Shiga-Toxin Producing Escherichia coli2011
- The role of UbiX in Escherichia coli coenzyme Q biosynthesisArchives of Biochemistry and Biophysics, 2007
- Sub classification and targeted characterization of prophage-encoded two-component cell lysis cassetteJournal of Biosciences, 2007
- Holliday Junction Resolvases Encoded by HomologousrusAGenes inEscherichia coliK-12 and Phage 82Journal of Molecular Biology, 1996
- Isolation of vero cytotoxin-producingEscherichia coli serotypes O9ab:H- and O101:H-carrying VT2 variant gene sequences from a patient with haemolytic uraemic syndromeEuropean Journal of Clinical Microbiology & Infectious Diseases, 1994
- A wide-host-range suicide vector for improving reverse genetics in Gram-negative bacteria: inactivation of the blaA gene of Yersinia enterocoliticaGene, 1991
- Regulation of expression of the cloned repE gene from the F plasmid of Escherichia coliGene, 1987