Related Experiment Video
Updated: Sep 12, 2025

Whole Genome Sequencing of Candida glabrata for Detection of Markers of Antifungal Drug Resistance
Published on: December 28, 2017
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.
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.
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.

