Neural networks combining curated resistance genes and genome-wide annotations for antimicrobial resistance prediction
Motivation Machine learning approaches for predicting antimicrobial resistance (AMR) from whole-genome sequencing data show promise, yet how genomic feature representations affect prediction robustness across diverse antibiotics remains poorly understood. Results We compared genomic feature representations for AMR prediction spanning 112 antibiotics using 20,632 bacterial isolates from the NCBI National Database of Antibiotic-Resistant Organisms (NDARO). We evaluated curated AMR gene presence/absence, genome-wide BAKTA annotations clustered at UniRef50 and UniRef90 thresholds, and combinations thereof using neural network architectures. Our main findings are: (1) a model trained on a compact set of curated AMR genes substantially outperforms the de-facto rule-based reference tool, AMRFinderPlus, by + 0.37 mean F1; (2) compact AMR-focused cluster sets (1,047–1,901 features) perform comparably to genome-wide ones (20,407–25,647 features) when combined with curated genes, offering favourable accuracy–efficiency trade-offs; (3) broader annotations help specifically where resistance is not carried by acquired genes; and (4) under leave-one-species-out evaluation, models still generalise, although the benefits of genome-wide features should be interpreted separately for each antibiotic and target species. Per-species analysis corroborates these findings within individual species, and Integrated Gradients attribution reveals that non-AMR gene clusters contribute predictive information in a drug-class-specific manner. Availability Code is available at https://github.com/DEAL-US/AMR-prediction. Data is publicly available through NCBI NDARO (https://www.ncbi.nlm.nih.gov/pathogens/isolates) and BAKTA annotations are accessible at BioStudies (https://www.ebi.ac.uk/biostudies/studies/S-BSST2698).
Authors
- Rafael Ayala (ORCID: https://orcid.org/0000-0002-9332-4623)
- Inma Hernández (ORCID: https://orcid.org/0000-0001-8920-6635)
- David Ruiz (ORCID: https://orcid.org/0000-0003-4460-5493)
- Daniel Ayala (ORCID: https://orcid.org/0000-0003-2095-1009)
- Marina R. Pulido (ORCID: https://orcid.org/0000-0003-1633-4294)
- Lorena López‐Cerero (ORCID: https://orcid.org/0000-0001-8950-4384)
- Fernando Sola (ORCID: https://orcid.org/0000-0003-1685-3270)
Institutions
- Instituto de Salud Carlos III (ES)
- Hospital Universitario Virgen Macarena (ES)
- Centro de Investigación Biomédica en Red (ES)
- Instituto de Biomedicina de Sevilla (ES)
- Centro de Investigación Biomédica en Red Enfermedades Infecciosas (ES)
- Universidad de Sevilla (ES)
Publication Details
- Journal
- Bioinformatics Advances
- Published
- 2026-11-26
- DOI
- https://doi.org/10.1093/bioadv/vbag354
- Primary Topic
- Antibiotic Resistance in Bacteria
- Type
- article
- Field-Weighted Citation Impact
- 0.00