Prediction of antimicrobial resistance in Staphylococcus aureus with a machine learning classifier based on WGS data
Open Access
- 2 September 2025
- journal article
- Published by American Society for Microbiology in Microbiology Spectrum
- Vol. 13 (9) , e0006525
Abstract
The phenomenon of antimicrobial resistance (AMR) often results in treatment failure and restrictions on precision medicine, emphasizing the need for molecular diagnosis of drug resistance. The current use of machine learning (ML) techniques based on whole genome sequencing (WGS) data offers a more precise prediction of phenotypes. We incorporated WGS data from 3979 Staphylococcus aureus strains in our study. We modeled 10 common antibiotics using three types of features: gene, single nucleotide polymorphism (SNP), and k-mer to identify the best model and to determine which feature values most significantly contributed to the model’s performance. The area under the curve (AUC) values of 40 mL models for 10 antibiotics ranged from 0.8345 to 0.9995. We noted that the performance indices such as the AUC of the gene model (0.9311–0.9992) and the integrated model (0.9313–0.9995) were markedly better than the SNP model (0.8345–0.9933) and the k-mer model (0.9024–0.9969). The best model AUC values for six antibiotics—cefoxitin, tetracycline, methicillin, gentamicin, erythromycin, and clindamycin—were over 0.99; nine antibiotic models had AUC values over 0.96, and all could effectively predict AMR phenotypes. Additionally, we discovered that certain non-AMR genes, such as the X998_03220 gene, significantly contributed to drug resistance prediction and overlapped in various antibiotic-related models simultaneously. Our study developed ML models that can reliably predict AMR phenotypes for commonly used antibiotics in S. aureus . We also identified potential molecular markers that can contribute to precision medicine implementation and healthcare cost reduction. IMPORTANCE: In our study, we developed a machine learning (ML) model that reliably predicts the antimicrobial resistance (AMR) phenotypes of Staphylococcus aureus to commonly used antibiotics. This model not only predicts AMR phenotypes but also identifies potential molecular markers, which could facilitate the implementation of precision medicine and contribute to reducing healthcare costs. The integration of diverse biomarker types is crucial for enhancing model performance; however, their effectiveness may vary depending on the specific antibiotic in question. Furthermore, our pan-genome-based characterization has revealed novel potential molecular markers associated with AMR, thereby enhancing our comprehension of the underlying molecular mechanisms of AMR in S. aureus . The expedited implementation of early and targeted antimicrobial therapies for S. aureus infections is essential for advancing precision medicine and can potentially lead to significant healthcare cost savings.Keywords
This publication has 41 references indexed in Scilit:
- Global burden of bacterial antimicrobial resistance in 2019: a systematic analysisThe Lancet, 2022
- Molecular insight into multiple RpoB clinical mutants of Mycobacterium tuberculosis: An attempt to probe structural variations in rifampicin binding site underlying drug resistanceInternational Journal of Biological Macromolecules, 2018
- Rifampicin can induce antibiotic tolerance in mycobacteria via paradoxical changes in rpoB transcriptionNature Communications, 2018
- A systematic study of the class imbalance problem in convolutional neural networksNeural Networks, 2018
- Performance evaluation method for read mapping tool in clinical panel sequencingGenes & Genomics, 2017
- H-NS: an overarching regulator of the Vibrio cholerae life cycleResearch in Microbiology, 2017
- Microbial genome-wide association studies: lessons from human GWASNature Reviews Genetics, 2016
- Rapid antibiotic-resistance predictions from genome sequence data for Staphylococcus aureus and Mycobacterium tuberculosisNature Communications, 2015
- H-NS Regulates Gene Expression and Compacts the Nucleoid: Insights from Single-Molecule ExperimentsBiophysical Journal, 2015
- Whole-genome sequencing for prediction of Mycobacterium tuberculosis drug susceptibility and resistance: a retrospective cohort studyThe Lancet Infectious Diseases, 2015