Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 32 min ago
PreprintCC BYbioRxiv

Machine Learning Prediction of Antibiotic Resistance Genes: Performance, Interpretability, and Cross-Database Redundancy

  1. 1BRAC University

Abstract

Antibiotic resistance gene (ARG) classifiers are typically developed and evaluated within a single curated database, leaving open how much two independently curated databases agree and what that implies for apparent cross-database generalization. We trained an XGBoost classifier on amino acid trigram frequencies and physicochemical descriptors using the Comprehensive Antibiotic Resistance Database (CARD), the field's largest curated ARG resource. The model separated resistance genes from non-resistance proteins with near-ceiling accuracy (AUROC = 0.982, MCC = 0.886); a label-shuffling null baseline collapsed to chance (AUROC = 0.508) and bootstrap confidence intervals were narrow, confirming genuine signal rather than data leakage or overfitting. SHAP analysis attributed this performance to biologically interpretable features, notably the trigram KTG, isoelectric point, and aromaticity, each consistent with known catalytic motifs in resistance enzymes. Before testing the classifier against ResFinder, one of CARD's most widely used counterparts, we assessed database independence by clustering sequences with CD-HIT, finding that 96.8-98.7% of ResFinder sequences shared substantial protein identity with CARD even at a permissive 50% identity threshold, indicating the two databases largely represent the same sequence population, with direct implications for how cross-database generalization should be measured. On the small subset of ResFinder sequences genuinely non-redundant with CARD (40-100 sequences, depending on threshold), the classifier failed completely, never classifying any as resistance genes; SHAP traced this failure to sequence length, as non-redundant sequences are nearly three times longer than training proteins, and length is among the model's most influential features. The same pattern emerged by resistance mechanism: the model achieved perfect accuracy on beta-lactamases, compact single-domain enzymes well represented in training (100%, n = 351), but correctly identified only 38.5% of efflux pump components (n = 13), a mechanism built from large, multi-domain transporters rather than compact catalytic enzymes. Together, these results describe a capable, interpretable ARG classifier alongside a quantified methodological caution: cross-database redundancy must be measured rather than assumed, and when a sequence-composition classifier fails, the failure is often explained by protein architecture rather than database origin.

Related

  1. EvoRx: Machine Learning-Based Prediction of Antibiotic Resistance in Escherichia coli Using Genomic Features
    A. Arora, E. Natarajan
    bioRxivPreprintAll rights reservedFull textBioinformatics & computational biologybioRxiv
  2. Antibiotic resistance prediction with an attention-based bi-LSTM clinical decision support system
    Laurent Vouriot, Stanislas Rebaudet, Sabine Camiade +3
    Computer Methods and Programs in BiomedicinePeer-reviewedCC BY 4.0Full textGeneral biologyEpidemiology & public healthHAL
  3. Artificial Intelligence in the Fight Against Antimicrobial Resistance: Applications in Diagnosis, Susceptibility Prediction, Precision Dosing, and Antibiotic Discovery.
    Susanna Esposito, Valentina Fainardi, Gaia Giorgia Arnesano +2
    Antibiotics (Basel, Switzerland)Peer-reviewedCC BYFull text1 citedMicrobiologyEurope PMC
  4. Effects of within-season temporal aggregation of weather variables on performance and interpretability in rice yield machine learning models
    Noh-Hyun Lee, Wonjae Jeong, Hyeon-Ji Yang +4
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textPlant biologyCrossref
  5. Epigenetic therapy in AML: network redundancy, resistance, and non-coding RNAs
    Maria da Conceição Rodrigues Fernandes, Thalita Basso Scandolara, Jéssica Almeida Mota +5
    Epigenetics CommunicationsPeer-reviewedCC BYFull textGenetics & genomicsDOAJ
BibTeX
@misc{ruthbah2026machine,
  title = {{Machine Learning Prediction of Antibiotic Resistance Genes: Performance, Interpretability, and Cross-Database Redundancy}},
  author = {C. A. Ruthbah and T. H. Sadi and N. E. S. Jahan and A. N. M. Tanzim Adib},
  howpublished = {bioRxiv},
  year = {2026},
  month = nov,
  doi = {10.64898/2026.11.13.766601},
  url = {https://www.biorxiv.org/content/10.64898/2026.11.13.766601v1},
  note = {CC BY},
}
RIS
TY  - UNPB
TI  - Machine Learning Prediction of Antibiotic Resistance Genes: Performance, Interpretability, and Cross-Database Redundancy
AU  - C. A. Ruthbah
AU  - T. H. Sadi
AU  - N. E. S. Jahan
AU  - A. N. M. Tanzim Adib
PY  - 2026
DA  - 2026/11/13
PB  - bioRxiv
DO  - 10.64898/2026.11.13.766601
UR  - https://www.biorxiv.org/content/10.64898/2026.11.13.766601v1
AB  - Antibiotic resistance gene (ARG) classifiers are typically developed and evaluated within a single curated database, leaving open how much two independently curated databases agree and what that implies for apparent cross-database generalization. We trained an XGBoost classifier on amino acid trigram frequencies and physicochemical descriptors using the Comprehensive Antibiotic Resistance Database (CARD), the field's largest curated ARG resource. The model separated resistance genes from non-resistance proteins with near-ceiling accuracy (AUROC = 0.982, MCC = 0.886); a label-shuffling null baseline collapsed to chance (AUROC = 0.508) and bootstrap confidence intervals were narrow, confirming genuine signal rather than data leakage or overfitting. SHAP analysis attributed this performance to biologically interpretable features, notably the trigram KTG, isoelectric point, and aromaticity, each consistent with known catalytic motifs in resistance enzymes. Before testing the classifier against ResFinder, one of CARD's most widely used counterparts, we assessed database independence by clustering sequences with CD-HIT, finding that 96.8-98.7% of ResFinder sequences shared substantial protein identity with CARD even at a permissive 50% identity threshold, indicating the two databases largely represent the same sequence population, with direct implications for how cross-database generalization should be measured. On the small subset of ResFinder sequences genuinely non-redundant with CARD (40-100 sequences, depending on threshold), the classifier failed completely, never classifying any as resistance genes; SHAP traced this failure to sequence length, as non-redundant sequences are nearly three times longer than training proteins, and length is among the model's most influential features. The same pattern emerged by resistance mechanism: the model achieved perfect accuracy on beta-lactamases, compact single-domain enzymes well represented in training (100%, n = 351), but correctly identified only 38.5% of efflux pump components (n = 13), a mechanism built from large, multi-domain transporters rather than compact catalytic enzymes. Together, these results describe a capable, interpretable ARG classifier alongside a quantified methodological caution: cross-database redundancy must be measured rather than assumed, and when a sequence-composition classifier fails, the failure is often explained by protein architecture rather than database origin.
ER  -