bioRxiv Science⌕ Search

bioRxiv · 10.1101/2023.11.20.567835

Optimising machine learning prediction of minimum inhibitory concentrations in Klebsiella pneumoniae

Abstract

Minimum Inhibitory Concentrations (MICs) are the gold standard for quantitatively measuring antibiotic resistance. However, lab-based MIC determination can be time-consuming and suffers from low reproducibility, and interpretation as sensitive or resistant relies on guidelines which change over time. Genome sequencing and machine learning promise to allow in-silico MIC prediction as an alternative approach which overcomes some of these difficulties, albeit the interpretation of MIC is still needed. Nevertheless, precisely how we should handle MIC data when dealing with predictive models remains unclear, since they are measured semi-quantitatively, with varying resolution, and are typically also left- and right-censored within varying ranges. We therefore investigated genome-based prediction of MICs in the pathogen Klebsiella pneumoniae using 4367 genomes with both simulated semi-quantitative traits and real MICs. As we were focused on clinical interpretation, we used interpretable rather than black-box machine learning models, namely, Elastic Net, Random Forests, and linear mixed models. Simulated traits were generated accounting for oligogenic, polygenic, and homoplastic genetic effects with different levels of heritability. Then we assessed how model prediction accuracy was affected when MICs were framed as regression and classification. Our results showed that treating the MICs differently depending on the number of concentration levels of antibiotic available was the most promising learning strategy. Specifically, to optimise both prediction accuracy and inference of the correct causal variants, we recommend considering the MICs as continuous and framing the learning problem as a regression when the number of observed antibiotic concentration levels is large, whereas with a smaller number of concentration levels they should be treated as a categorical variable and the learning problem should be framed as a classification. Our findings also underline how predictive models can be improved when prior biological knowledge is taken into account, due to the varying genetic architecture of each antibiotic resistance trait. Finally, we emphasise that incrementing the population database is pivotal for the future clinical implementation of these models to support routine machine-learning based diagnostics. Data SummaryThe scripts used to run and fit the models can be found at https://github.com/gbatbiff/Kpneu_MIC_prediction. The Illumina sequences from Thorpe et al. are available from the European Nucleotide Archive under accession PRJEB27342. All the other genomes are available on https://www.bv-brc.org/ database. Impact statementKlebsiella pneumoniae is a leading cause of hospital and community acquired infections worldwide, highly contributing to the global burden of antimicrobial resistance (AMR). Ordinary methods to assess antibiotic resistance are not always satisfactory, and may not be effective in terms of costs and delays, so robust methods able to accurately predict AMR are increasingly needed. Genome-based prediction of minimum inhibitory concentrations (MICs) through machine learning methods is a promising tool to assist clinical diagnosis, also offsetting phenotypic MIC discordance between the different culture-based assays. However, benchmarking predictive models against phenotypic data is problematic due to inconsistencies in the way these data are generated and how they should be handled remains unclear. In this work, we focused on genome-based prediction of MIC and evaluated the performance of interpretable machine learning models across different genetic architectures and data encodings. Our workflow highlighted how MICs need to be treated as different types of data depending on the method used to measure them, in particular considering each antibiotic separately. Our findings shed further light on the factors affecting model performance, paving the way to future improvements of antibiotic resistance prediction.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Biffignandi, G. B., Chindelevitch, L., Corbella, M., Feil, E. J., Sassera, D., Lees, J.. 2023-11-21. Optimising machine learning prediction of minimum inhibitory concentrations in Klebsiella pneumoniae. https://doi.org/10.1101/2023.11.20.567835

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Senescence-associated KRAS upregulation in peripheral T cells links to premature coronary artery disease

Aims: Premature coronary artery disease (PCAD) lacks specific molecular drivers, and the role of immunosenescence is unclear. We investigated whether aging-related gene dysregulation in T cells contributes to PCAD. Methods: We combined bulk transcriptomics of PBMCs from 12 PCAD patients and 21 controls, single-cell RNA sequencing of PBMCs and human atherosclerotic plaques, weighted gene co-expression network analysis, gene perturbation network analysis, and molecular docking. Results: KRAS was identified as a hub gene intersecting PCAD-associated genes and aging-related genes. Single-cell analysis showed KRAS upregulation predominantly in effector CD8+ T cells, which exhibited the highest senescence scores that were further elevated in disease. Network perturbation of KRAS strongly impacted the cell killing pathway. KRAS-high effector CD8+ T cells were detected in coronary and carotid plaques, displaying enhanced cytotoxicity, exhaustion, and senescence features. Additionally, a candidate small molecule was computationally predicted to bind inactive KRAS. Conclusions: Elevated KRAS expression in senescent, cytotoxic CD8+ T cells is associated with PCAD, bridging immunosenescence and premature atherosclerosis. This finding provides a novel biomarker candidate and potential therapeutic entry point, awaiting further functional validation.

bioinformatics↗

Targeted finetuning enables co-folding models to learn ligand-induced protein conformational states

Advances in protein structure prediction have enabled all-atom protein-ligand co-folding models that predict bound conformations directly from sequence and small-molecule structure. However, these models often fail to generalize to novel binding sites or alternative protein conformational states, limiting their utility for chemical biology and drug discovery. Here we show this limitation reflects training data bias rather than architectural constraints and can be overcome through targeted finetuning. Using ten previously unseen X-ray structures of Werner (WRN) helicase from a drug discovery program, we finetune Boltz-1 to learn both an allosteric binding site and a large conformational change locking the enzyme in an inactive state, while preserving accuracy on the ATP-bound state. The finetuned model generalizes to different chemical series and transfers the conformational logic across RecQ-family helicases in a binding-site sequence-dependent manner. This approach provides a blueprint for adapting foundation models as new structural and mechanistic data emerge, enabling co-folding networks to capture ligand-induced conformational switches and binding poses absent from their training data but central to biological regulation and therapeutic intervention.

bioinformatics↗

Benchmarking single-cell foundation models for aging biology

Single cell foundation models (scFMs) provide representations of cellular states, but their utility across biological questions in aging research remains unclear. We established a benchmark of cellular representations for aging research, evaluating ten general-purpose scFMs, three aging-specific models and conventional methods across five biological questions using more than 2.5 million single cell transcriptomes. Using frozen pretrained representations, Geneformer performed best among scFMs for chronological age prediction and age pseudotime concordance, although 2,000 highly variable genes achieved higher mean performance. Several scFMs captured positive molecular age shifts across three disease contexts, consistent with reported aging-associated changes. SCimilarity performed well for rare cellular state identification across out-of-distribution datasets, exceeding aging specific models and conventional baselines. At the gene level, scGPT showed the highest recovery of reference TF target interactions, including aging-related regulatory hubs. Overall, scFMs supported diverse aging analyses, but performance depended on the biological question, highlighting their utility for rare cellular state identification and regulatory analysis.

bioinformatics↗