Prediction of antimicrobial resistance in Staphylococcus aureus with a machine learning classifier based on WGS data

Ying Liu1, Xudong Wang2,3, Liangquan Wu4

  • 1Department of Tuberculosis, The Second Hospital of Nanjing, Nanjing University of Chinese Medicine, Nanjing, China.

Microbiology Spectrum
|August 5, 2025
PubMed

Insights

Machine learning models accurately predict antimicrobial resistance in Staphylococcus aureus using whole genome sequencing data. This approach identifies molecular markers for precision medicine and reduced healthcare costs.

Area of Science:

  • Genomics and Bioinformatics
  • Computational Biology
  • Infectious Diseases

Background:

  • Antimicrobial resistance (AMR) poses a significant threat, leading to treatment failures and limiting precision medicine.
  • Molecular diagnostics are crucial for identifying drug resistance patterns.
  • Machine learning (ML) applied to whole genome sequencing (WGS) data offers precise prediction of AMR phenotypes.

Purpose of the Study:

  • Develop and evaluate ML models for predicting AMR phenotypes in *Staphylococcus aureus*.
  • Identify optimal feature types (gene, SNP, k-mer) for AMR prediction.
  • Discover novel molecular markers associated with AMR for precision medicine.

Main Methods:

  • Utilized WGS data from 3979 *Staphylococcus aureus* strains.
  • Developed ML models incorporating gene, single nucleotide polymorphism (SNP), and k-mer features.
  • Evaluated model performance using Area Under the Curve (AUC) for 10 common antibiotics.

Main Results:

  • Integrated and gene-based ML models demonstrated superior performance (AUC 0.9311-0.9995) compared to SNP and k-mer models.
  • High AUC values (≥0.99) achieved for predicting resistance to cefoxitin, tetracycline, methicillin, gentamicin, erythromycin, and clindamycin.
  • Identified non-AMR genes significantly contributing to resistance prediction across multiple antibiotic models.

Conclusions:

  • ML models reliably predict AMR phenotypes in *S. aureus* for common antibiotics.
  • Identified potential molecular markers can aid precision medicine and reduce healthcare costs.
  • Pan-genome analysis reveals novel AMR-associated markers, deepening understanding of resistance mechanisms.