Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.11.20.768127

Machine learning prediction of antimicrobial resistance in respiratory metagenomes

Abstract

Background: Targeted therapy for patients with suspected respiratory infections traditionally requires bacterial culture followed by phenotypic antimicrobial susceptibility testing (AST), a process that can take up to 5 days. In acute respiratory distress syndrome (ARDS), delays in identifying the causative pathogen and its resistance profile may be especially harmful because patients are critically ill and often receive broad-spectrum empiric antibiotics. The growing burden of antimicrobial resistance (AMR) further complicates clinical decision-making by reducing effective treatment options and increasing the risk of inadequate initial therapy. Culture-free, AI-driven computational metagenomic strategies have the potential to drastically shorten this window, enabling more rapid targeted therapy prescription. To show the feasibility of such approaches, we develop a proof-of-concept framework based on clinical metagenomics. Methods: We simulated respiratory metagenomes using real-world bacterial genomes with associated antimicrobial susceptibility phenotypes. Each simulated metagenome contained a fixed commensal background and one clinically important respiratory pathogen, Acinetobacter baumannii, Klebsiella pneumoniae, or Pseudomonas aeruginosa, at 5% or 10% bacterial read abundance. Realistic reads were simulated for Oxford Nanopore, PacBio, and Illumina sequencing platforms. Random Forest (RF) classifiers were trained and evaluated using five-fold, strain-grouped cross-validation with fold-specific {chi}2-ranked 13-mer features. ResFinder and KARGA were included as reference-based metagenomics benchmarks and evaluated using the same five held-out folds across the three sequencing platforms and two pathogen-abundance conditions. Results: RF performance varied substantially across species, antibiotics, and sequencing platforms. The strongest and most consistent results were observed for K. pneumoniae, with accuracy reaching approximately 0.96 for ceftazidime, 0.93 for amikacin, and 0.92 for ciprofloxacin. Performance for P. aeruginosa was more heterogeneous: long-read models performed well for amikacin, reaching 0.89 with PacBio and 0.88 with Nanopore, whereas Illumina performed substantially better for ciprofloxacin, ceftazidime, and levofloxacin, reaching accuracies of approximately 0.87, 0.77, and 0.70, respectively. Across most organism-antibiotic combinations, RF accuracy was numerically higher than the classification accuracies obtained with KARGA and ResFinder, which generally remained near 0.50. Increasing pathogen abundance from 5% to 10% and increasing the number of selected features from 2,500 to 5,000 generally produced modest improvements in classification accuracy, although the magnitude of improvement varied across organism-antibiotic combinations and sequencing platforms. Conclusions: Genome-wide k-mer machine learning can recover phenotype-associated antimicrobial resistance signals from simulated respiratory metagenomes, although performance depends strongly on the organism, antibiotic, and sequencing platform. These results represent a simulation-based proof of concept.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sy, M. A., Prosperi, M., Benos, P. V., Marini, S.. 2026-11-23. Machine learning prediction of antimicrobial resistance in respiratory metagenomes. https://doi.org/10.64898/2026.11.20.768127. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.11.20.768127/machine-learning-prediction-of-antimicrobial-resistance-in-respiratory-metagenomes

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search bioRxiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related preprints

R implementation of the NORMAgene data-driven qRT-PCR normalization algorithm

Effective data normalization is essential in producing meaningful qRT-PCR results. Traditional reference gene normalization has high risk of confounds when poorly implemented, and data-driven normalization is becoming an increasingly used and robust alternative. The NORMAgene least squares-based normalization algorithm is one of the most application flexible of existing data-driven qRT-PCR normalization approaches; however, it is currently only available in the form of an unmaintained Visual Basic for Applications (VBA) macro. In order to make this approach more widely and persistently accessible, we developed an R language implementation based on the core mathematical model and made it available as a standalone package titled NORMAgene. Here, we detail the development of this package, demonstrate it produces identical normalization results to the originally released VBA implementation, and describe how it can be used.

bioinformatics↗

Ovarify: a generalizable deep learning method for the automatic characterization of ovarian morphology on pelvic ultrasonography

Ovarian morphology on ultrasonography is commonly used in the assessment of female reproductive health, such as in the diagnostic evaluation of polyendocrine metabolic ovarian syndrome (PMOS) and monitoring of response to assisted reproduction. Standard morphological markers quantified on pelvic ultrasound are ovarian volume (OV) and measures of antral follicle count (AFC) such as follicle number per slice or per ovary (FNPS, FNPO). Manual assessment of these features is operator-dependent, which limits the reliability of these measurements, impacting the delivery of consistent care. To address this, we have developed Ovarify, the first deep learning workflow to automatically characterize ovarian morphology from pelvic ultrasonography across multiple clinical contexts. Ovarify was trained on transvaginal ultrasonographic volumes garnered across three centers and evaluated on a held-out internal test set in addition to three external datasets spanning heterogeneity in image collection protocols, scanner hardware, and populations, across both single frames as well as whole-volumes. Ovarify segmented the ovary and follicles with high fidelity, outperforming U-Net and ResNet-34 baselines (p<0.001). Morphological measurements agreed closely with validated image analysis protocols on an internal test set (OV: Pearson r=0.892, FNPS: r=0.667, FNPO: r=0.770); across external datasets, workflow performance was similar. Ovarify additionally retained performance when evaluated on unseen images of ovaries undergoing controlled ovarian stimulation (FNPS: Pearson r=0.813). Ovarify-derived measurements classified polycystic ovarian morphology with an AUPRC of 0.90 (F1=0.93) using FNPO and 0.80 using OV. Ultimately, Ovarify provides a reproducible, operator-independent characterization of ovarian morphology directly from routinely-acquired pelvic ultrasonograms, generalizing across scanners, acquisition formats, and clinically-distinct imaging contexts. Ovarify automates the assessment of clinically-relevant morphological markers, allowing for the unbiased and consistent evaluation of morphological features.

bioinformatics↗

Recovering Missing Regulations by Multiplex Graph Aggregation of GRN Predictions (Technical Report)

Gene regulatory networks (GRNs) capture the complex gene interactions underlying biological systems. However, existing GRN inference models face technical challenges in recovering faithful GRNs from single-cell RNA sequencing data in an unsupervised setting. GRN aggregation has been proposed to leverage the wisdom of different GRN models and improve overall performance, but aggregation methods either train on ground-truth edges, overlook the network nature of GRNs, or are computationally expensive. To bridge this gap, we propose MuxGRN, a novel GRN aggregation method that leverages multiplex link prediction to aggregate GRNs inferred from various state-of-the-art models and extract the information propagated within different layers of GRNs. We use CompGCN for representation learning and the variational graph autoencoder framework for self-supervised link prediction, which does not require ground-truth labels and can capture GRN network structure efficiently. Under this formulation, MuxGRN aggregates GRNs inferred by 9 GRN models and is evaluated on 14 real single-cell RNA sequencing datasets against the individual models and two edge-level aggregation baselines. Our evaluation shows that MuxGRN recovers up to 26.55% of previously missed true-positive edges that individual GRN models miss, substantially exceeding edge-level baselines while maintaining AUPRC comparable to the best individual GRN models. This supports the importance of the network structure in GRN and the potential for link prediction in GRN aggregation.

bioinformatics↗