EvoRx: Machine Learning-Based Prediction of Antibiotic Resistance in Escherichia coli Using Genomic Features
EvoRx: Machine Learning-Based Prediction of Antibiotic Resistance in Escherichia coli Using Genomic Features

New Results
doi: https://doi.org/10.64898/2026.11.16.767019
Abstract
Antimicrobial resistance (AMR) complicates bacterial infection management, motivating genomic approaches to predicting antibiotic susceptibility. This study assessed the predictive performance and generalisability of machine-learning models using resistance-associated genomic features from Escherichia coli. Publicly available genomic and phenotypic records yielded 446 genomes, 252 binary genomic features and 1,935 susceptibility observations across nine antibiotics. Logistic Regression, Random Forest and XGBoost classifiers were compared using validation ROC-AUC, followed by evaluation on held-out test subsets. Additional analyses examined identical genomic feature profiles across partitions, performance across source publications and feature redundancy. Ampicillin and trimethoprim-sulfamethoxazole achieved held-out accuracies of 93.98% and 93.59%, ROC-AUC values of 0.912 and 0.954, and resistant-isolate recall of 95.16% and 94.55%, respectively. In contrast, ceftazidime achieved 88.52% accuracy and 0.940 ROC-AUC but identified only 22.22% of resistant isolates. Seventy-four held-out observations shared identical 252-feature profiles with training isolates; all were correctly classified. After excluding overlapping observations without retraining, ROC-AUC decreased from 0.912 to 0.848 for ampicillin and from 0.954 to 0.901 for trimethoprim-sulfamethoxazole. Exploratory cross-publication evaluations showed variable performance, with shared multilocus sequence types in 16 of 18 comparisons. Reducing genomic features did not materially alter validation performance in the two antibiotics examined. These findings indicate that genomic predictors can discriminate resistance phenotypes, but aggregate accuracy may obscure poor resistant-isolate detection. The findings also distinguish performance on conventionally held-out isolates from performance on previously unseen resistance-feature profiles, an important consideration when bacterial population structure and correlated determinants substantially influence model evaluation. Independent phylogenetic and prospective validation remains necessary before clinical use.
Competing Interest Statement
The authors have declared no competing interest.
Copyright
The copyright holder for this preprint is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. All rights reserved. No reuse allowed without permission.
来源:bioRxiv 生物信息学 · biorxiv.org