Related Experiment Video
Updated: Dec 20, 2025

Heuristic Mining of Hierarchical Genotypes and Accessory Genome Loci in Bacterial Populations
Published on: December 7, 2021
Predicting Phenotypic Polymyxin Resistance in Klebsiella pneumoniae through Machine Learning Analysis of Genomic Data
Nenad Macesic1,2, Oliver J Bear Don't Walk3, Itsik Pe'er4
1Division of Infectious Diseases, Columbia University Irving Medical Center, New York, New York, USA nenad.macesic@monash.edu au2110@columbia.edu.
Abstract:
Polymyxins are used as treatments of last resort for Gram-negative bacterial infections. Their increased use has led to concerns about emerging polymyxin resistance (PR). Phenotypic polymyxin susceptibility testing is resource intensive and difficult to perform accurately. The complex polygenic nature of PR and our incomplete understanding of its genetic basis make it difficult to predict PR using detection of resistance determinants. We therefore applied machine learning (ML) to whole-genome sequencing data from >600 Klebsiella pneumoniae clonal group 258 (CG258) genomes to predict phenotypic PR. Using a reference-based representation of genomic data with ML outperformed a rule-based approach that detected variants in known PR genes (area under receiver-operator curve [AUROC], 0.894 versus 0.791, P = 0.006). We noted modest increases in performance by using a bacterial genome-wide association study to filter relevant genomic features and by integrating clinical data in the form of prior polymyxin exposure. Conversely, reference-free representation of genomic data as k-mers was associated with decreased performance (AUROC, 0.692 versus 0.894, P = 0.015). When ML models were interpreted to extract genomic features, six of seven known PR genes were correctly identified by models without prior programming and several genes involved in stress responses and maintenance of the cell membrane were identified as potential novel determinants of PR. These findings are a proof of concept that whole-genome sequencing data can accurately predict PR in K. pneumoniae CG258 and may be applicable to other forms of complex antimicrobial resistance.IMPORTANCE Polymyxins are last-resort antibiotics used to treat highly resistant Gram-negative bacteria. There are increasing reports of polymyxin resistance emerging, raising concerns of a postantibiotic era. Polymyxin resistance is therefore a significant public health threat, but current phenotypic methods for detection are difficult and time-consuming to perform. There have been increasing efforts to use whole-genome sequencing for detection of antibiotic resistance, but this has been difficult to apply to polymyxin resistance because of its complex polygenic nature. The significance of our research is that we successfully applied machine learning methods to predict polymyxin resistance in Klebsiella pneumoniae clonal group 258, a common health care-associated and multidrug-resistant pathogen. Our findings highlight that machine learning can be successfully applied even in complex forms of antibiotic resistance and represent a significant contribution to the literature that could be used to predict resistance in other bacteria and to other antibiotics.
Insights
Machine learning accurately predicts polymyxin resistance (PR) in Klebsiella pneumoniae using whole-genome sequencing data. This approach outperforms traditional methods and identifies novel resistance determinants, offering a promising tool for combating antibiotic resistance.
Area of Science:
- Genomics
- Machine Learning
- Antimicrobial Resistance
Background:
- Polymyxins are critical last-resort antibiotics for Gram-negative infections.
- Emerging polymyxin resistance (PR) is a significant public health concern.
- Current phenotypic PR testing is resource-intensive and challenging to perform accurately.
Purpose of the Study:
- To apply machine learning (ML) to whole-genome sequencing (WGS) data for predicting phenotypic PR in Klebsiella pneumoniae clonal group 258 (CG258).
- To compare ML performance against traditional rule-based approaches.
- To identify genomic features associated with PR, including potential novel determinants.
Main Methods:
- Whole-genome sequencing (WGS) data from over 600 Klebsiella pneumoniae CG258 genomes were analyzed.
- Machine learning models were trained using reference-based genomic data representation.
- Performance was evaluated using area under the receiver-operator curve (AUROC) and compared to rule-based methods and reference-free ML.
Main Results:
- Reference-based ML accurately predicted phenotypic PR (AUROC = 0.894), outperforming a rule-based approach (AUROC = 0.791).
- Integrating bacterial genome-wide association studies and clinical data modestly improved prediction performance.
- Reference-free ML (k-mers) showed decreased performance (AUROC = 0.692).
- ML models identified six of seven known PR genes and suggested novel determinants in stress response and cell membrane maintenance genes.
Conclusions:
- Whole-genome sequencing combined with machine learning provides an accurate method for predicting polymyxin resistance in Klebsiella pneumoniae CG258.
- This approach can identify known and potentially novel genetic determinants of complex antimicrobial resistance.
- The findings demonstrate the potential applicability of ML to WGS data for predicting antimicrobial resistance in other pathogens and for other antibiotics.
Related Concept Videos
Modern Molecular Taxonomy
Development of Antibiotic Resistance
Antibiotic Selection

