Decoding resistance: interpretable machine learning to predict ciprofloxacin resistance in Shigella spp
Gohari, M. R.; Zhang, P.; Villegas, A.; Rosella, L. C.; Patel, S. N.; Hopkins, J. P.; Duvvuri, V. R.
Show abstract
Antimicrobial resistance (AMR) is a growing global public health threat that complicates the treatment and control of bacterial infections. Shigella spp., a leading cause of bacterial diarrhea worldwide, has increasingly exhibited resistance to multiple antimicrobial agents that are commonly recommended therapy for severe shigellosis. Although conventional antimicrobial susceptibility testing (AST) remains the reference standard, it is time-consuming and provides limited insight into the genetic mechanisms underlying resistance. Whole-genome sequencing (WGS) has emerged as a complementary approach for AMR detection by enabling direct identification of resistance genetic determinants encoded in bacterial genomes. Machine learning (ML) methods applied to genomic features such as k-mers have shown promise for predicting resistance phenotypes from WGS data; however, applications to Shigella remain limited. In this study, we developed and evaluated an interpretable ML framework for predicting ciprofloxacin resistance using k-mer features derived from WGS data of 1,424 Shigella isolates collected in Ontario, Canada, between 2018 and 2025. K-mers were extracted from known gene targets associated with ciprofloxacin resistance, including chromosomal quinoline resistance-determining regions (QRDRs: gyrA and parC) and plasmid-mediated determinants (qnr). Supervised ML approaches were trained and compared. We evaluated the influence of k-mer lengths (k=11, 15, 21 and 31) on predictive performance and model interpretability; and compared models based on chromosomal determinants alone and models incorporating both chromosomal and plasmid-mediated determinants. Randon Forest classifier achieved the most consistent performance across models. Inclusion of plasmid-mediated determinants improved predictive accuracy relative to chromosomal-only models. Although differences across k-mer lengths were modest, k = 11 produced the highest area under the receiver operating characteristic curve (AUC) and the lowest Brier score. SHAP analyses localized high-impact features within QRDRs of gyrA and parC, supporting biological interpretability. These findings demonstrate that biologically-informed k-mer-based ML models can accurately and transparently predict ciprofloxacin resistance in Shigella, supporting their potential integration into genomic AMR surveillance and digital public health frameworks. Author summaryIn this study, we used genome sequencing data to develop machine learning models that predict ciprofloxacin resistance for Shigella directly from bacterial DNA. We focused on small DNA fragments (k-mers) derived from known resistance genes and mutations. Among the approaches tested, a Random Forest model showed the most consistent performance. Combining chromosomal mutations with plasmid-mediated resistance genes improved prediction accuracy and helped identify key genetic regions associated with resistance. These findings demonstrate that machine learning applied to genomic data can accurately and interpretable predict antibiotic resistance, supporting its potential use in genomic surveillance and public health monitoring.
Matching journals
The top 5 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- A novel platform to accelerate antimicrobial susceptibility testing in Neisseria gonorrhoeae using RNA signatures 95%
- Population genomic molecular epidemiological study of macrolide resistant Streptococcus pyogenes in Iceland,1995-2016: Identification of a large clonal population with a pbp2x mutation conferring reduced in vitro beta-lactam susceptibility 94%
- GPT-4 based AI agents - the new expert system for detection of antimicrobial resistance mechanisms? 94%
Similar papers in this journal
Similar papers in this journal
- Rapid nanopore metagenomic sequencing and predictive susceptibility testing of positive blood cultures from intensive care patients with sepsis 95%
- Real-time Plasmid Transmission Detection Pipeline 94%
- From farm to fork: persistence of clinically-relevant multidrug-resistant and copper-tolerant Klebsiella pneumoniae long after colistin withdrawal in poultry production. 94%
Similar papers in this journal
- Emergence of a cephalosporin reduced susceptible Neisseria gonorrhoeae clone between 2014-2019 in Amsterdam, the Netherlands, revealed by a genomic population analysis 94%
- Consideration of within-patient diversity highlights transmission pathways and antimicrobial resistance gene variability in vancomycin resistant Enterococcus faecium 93%
- Concurrence of Porin Loss and Modular Amplification of β-Lactamase Encoding Genes Drives Carbapenem Resistance in a Cohort of Recurrent Enterobacterales Bacteremia 93%
Similar papers in this journal
- Influence of Sequencing Technology on Pangenome-level Analysis and Detection of Antimicrobial Resistance Genes in ESKAPE Pathogens 93%
- Expansion of a subset within C2 clade of Escherichia coli sequence type 131 (ST131) is driving the increasing rates of Aminoglycoside resistance: a molecular epidemiology report from Iran 92%
- Strain Differences in Bloodstream and Skin Infection MRSA isolated between 2019-2021 in a Single Health System 91%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.