bioRxiv ScienceSearch

bioRxiv · 10.64898/2026.08.30.748153

Accurate detection of metagenomic strain-level associations using average nucleotide identity with StrainSpy

Abstract

Genetic variation among microbial strains of the same species can profoundly influence their phenotypes, ecological functions, and impacts on human health. Traditionally, the relative abundance of a species has been used to identify associations between the microbiome and disease. However, this approach overlooks intra-species genetic variation and is susceptible to spurious correlations arising from the compositional nature of abundance data and microbial load. Fast, k-mer-based algorithms can now accurately estimate strain-level Average Nucleotide Identity (ANI) in metagenomes. Despite its value as an orthogonal metric for strain-level analysis, methods for conducting ANI-based association studies remain limited. To address this, we developed StrainSpy, a statistical algorithm that identifies associations between containment ANI and variables of interest across a wide range of study designs, including longitudinal and multi-cohort designs. Re-analysis of a study examining gut microbiota recovery in 12 healthy adults following antibiotic exposure revealed novel strain-level associations, including a reduction in strain-level diversity despite species persistence. Applying StrainSpy to a multi-cohort analysis of 3,414 colorectal cancer metagenomes identified novel strain-level associations with colorectal cancer. However, in a separate collection of microbiome-immunotherapy studies, no individual strain was consistently associated across cohorts. Importantly, across both datasets, StrainSpy informed containment ANI-based machine learning models achieved comparable accuracy to traditional abundance-based methods. StrainSpy is publicly available as an R package github.com/gtonkinhill/strainspy.

Explore related subjects

Keep this discovery

BibTeXRIS

Mallawaarachchi, S., Tandon, K., Rajan, N., Marcelino, V. R., Sandhu, S., Bedoui, S., Ingle, D. J., Gunjur, A., Tonkin-Hill, G.. 2026-09-01. Accurate detection of metagenomic strain-level associations using average nucleotide identity with StrainSpy. https://doi.org/10.64898/2026.08.30.748153

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

Discover connections

Connections use source metadata and explicit phrase matches, not verified experimental comparisons.

KEEP EXPLORING

Related preprints

Understanding the physiological alterations of Vibrio cholerae upon exposure to L-ascorbic acid

The scourge of cholera remains a major global public health threat. It affects up to 4 million people worldwide and causes tens of thousands of deaths each year. The disease is experiencing a concerning resurgence in many parts of Africa, the Middle East, and Asia. To effectively tackle cholera and circumvent rising antimicrobial resistance, targeted biological and preventive approaches, complementing traditional rehydration, are urgently needed. In this regard, our group has demonstrated the efficacy of L-ascorbic acid in controlling the growth and pathogenesis of Vibrio cholerae in vitro. The present work further provides a mechanistic elucidation of the L-ascorbic acid-mediated physiological changes in V. cholerae and also bolsters such a non-antibiotic approach to control cholera.

microbiology

Motile bacteria collectively transport soil water during host colonisation

Nutrient availability in soil is temporally and spatially heterogeneous, and, as a result, microbial migration is critical for many species. The nature of microbial movement in soil, however, is unknown due to a lack of observations and experimental data. We developed live-imaging and image-analysis techniques to track the movement of single cells through soil to elucidate how Bacillus subtilis utilises pore space during the early root colonisation. The study reveals that the bacterium can modify fluid pathways to create streams, even at low bulk cell density. The phenomenon was influenced by pore structure, distance from the root and the viscosity of the soil solution. By generating macroscopic fluid motion, bacteria may also be able to travel faster and farther than individually, while limiting energy expenditure.

microbiology

Mechanism-based prediction of insertion-driven high pathogenicity avian influenza virus emergence

High pathogenicity avian influenza viruses (HPAIVs) emerge from H5 and H7 low-pathogenicity avian influenza virus progenitors through mutations that introduce a multibasic cleavage site in haemagglutinin. Although nucleotide insertions recurrently generate this motif, the molecular determinants of insertion and whether particular HA sequences are genetically predisposed to evolve toward HPAIV remain unknown. Combining experimental virology and thermodynamic modelling, we show that insertions arise through polymerase slippage controlled by local product-template duplex thermodynamics within the viral polymerase catalytic site. Predicted RNA secondary structures outside the polymerase are not required for high-frequency insertions and only modestly modulate insertion rates. We formalize this mechanism in HPAIVpredict, which predicts insertion profiles, recapitulates intermediates associated with documented HPAIV emergence events and identifies H5 and H7 sequence backgrounds predisposed to acquire functional multibasic cleavage sites.

microbiology