Search bioRxiv⌕ Search

bioRxiv · 10.1101/2025.07.06.663394

Large-scale classification of metagenomic samples: a comparative analysis of classical machine learning techniques vs a novel brain-inspired hyperdimensional computing approach

Abstract

Classical machine learning techniques have revolutionized bioinformatics, enabling researchers to extract knowledge from complex biological data. However, these techniques often struggle with high-dimensional data, where the increasing number of features leads to decreased performance, also affecting models accuracy. To address this problem, we explore hyperdimensional computing (HDC), an emerging brain-inspired computational paradigm that leverages high-dimensional vectors and simple arithmetic operations to represent and manipulate complex patterns, as an alternative approach in the context of supervised machine learning. In this work, we present a comprehensive comparative analysis of HDC against established machine learning techniques across a range of classification tasks. As a representative use case, we focus on classifying heterogeneous metagenomic samples based on their quantitative microbial profiles, using publicly available microbiome datasets. Our results demonstrate that HDC achieves comparable, and in some cases, superior classification accuracy to classical methods. Furthermore, our findings highlight the potential of HDC for improved computational efficiency, particularly when dealing with large-scale datasets, suggesting the HDC-based classifier as a promising tool for bioinformatics research, particularly in areas characterized by high-dimensional data. We also offer a Galaxy powered toolset to analyze your own datasets and generate reproducible workflows and adopt these methods in your own research with ease. Our investigation into the application of a HDC-based supervised machine learning technique for classifying microbial profiles in metagenomic samples yielded promising results, demonstrating the potential of this novel computational paradigm to complement and, in some cases, surpass the performances of well established machine learning techniques. ImportanceThe growing complexity and dimensionality of biological data require more efficient and scalable machine learning approaches. HDC offers a novel alternative to conventional methods, showing resilience to high-dimensionality while maintaining competitive accuracy. This study demonstrates the effectiveness of HDC in classifying metagenomic samples based on their microbial composition. Our results suggest that HDC not only matches, but sometimes exceeds the performance of well-established methods. We make this approach accessible to the broader bioinformatics community with an open-source tool fully integrated into the Galaxy platform, facilitating its adoption and reproducibility, with the aim of integrating HDC into mainstream biological data analysis pipelines, especially for complex, high-dimensional tasks in microbiome research.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Joshi, J. P., Cumbo, F., Blankenberg, D.. 2025-07-07. Large-scale classification of metagenomic samples: a comparative analysis of classical machine learning techniques vs a novel brain-inspired hyperdimensional computing approach. https://doi.org/10.1101/2025.07.06.663394

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

KEEP EXPLORING

Related preprints

Preclinical Development of Enterobacter ludwigii LS57, a Human-Derived Swarming Strain, as a Live Biotherapeutic Product for Inflammatory Bowel Disease

Inflammatory Bowel Disease (IBD) remains an area of major unmet need, and the undefined composition and manufacturing burden of fecal microbiota transplantation have motivated a shift toward single-strain Live Biotherapeutic Products (LBPs). Swarming bacteria are enriched in the stressed gut and limit mucosal damage, but no human-derived swarming strain has been developed as an LBP. We therefore report the complete preclinical development of Enterobacter ludwigii LS57, a swarming strain isolated from human feces. Chemistry, Manufacturing and Controls (CMC) covered a three-tier cell bank, 30 L fed-batch fermentation and a colon-targeted enteric-coated capsule, enabling consistent pilot-scale production. No treatment-related findings emerged in safety pharmacology (Sprague-Dawley rats) or in single-dose and Good Laboratory Practice (GLP)-compliant 1-week repeat-dose toxicity studies (Sprague-Dawley rats and Beagle dogs). LS57 was identified as E. ludwigii by 16S rRNA and whole-genome sequencing and produced metabolites with reported anti-inflammatory activity in culture. In Dextran Sulfate Sodium (DSS)-induced colitis, LS57 reduced weight loss, preserved colon length, lowered colonic pro-inflammatory cytokines and remodeled the gut microbiota. It also attenuated Trinitrobenzene Sulfonic Acid (TNBS)-induced colitis and enhanced the effect of ciclosporin A. In vitro, LS57 was non-hemolytic, non-cytotoxic, and acid-labile, formed no biofilm, and its resistance to aminopenicillins, cephamycins and imipenem was not transferable by conjugation. In vivo, LS57 colonized the inflamed colon without translocation in wild-type and interleukin-10-deficient mice, and experimental bacteremia was treatable with gentamicin or levofloxacin. LS57 combines efficacy across two mechanistically distinct colitis models with a safety package that addresses the principal regulatory concerns for LBPs, and a scalable manufacturing process, compatible with current good manufacturing practice, in which enteric coating overcomes the strain's poor gastric survival. These data support clinical development of LS57 in IBD.

microbiology↗

Characterization of Lactobacillus rhamnosus-Derived Extracellular Vesicles and Their Cellular Cytoprotective Effects Against Trimethylamine-Induced Oxidative Stress in Caco-2 Cells

Dietary trimethylamine (TMA) underwent gut microbiota-mediated catabolism and subsequent hepatic oxidation to generate trimethylamine N-oxide (TMAO), a key metabolic factor linked to vascular and colorectal diseases. While the systemic effects of circulating TMAO were heavily investigated, the direct localized cellular interactions of its precursor, TMA, at the intestinal epithelial level required further elucidation. This study characterized extracellular vesicles isolated from Lactobacillus rhamnosus (Lr-EVs) and evaluated their cytoprotective potential in an in vitro human intestinal Caco-2 cell model under TMA-induced stress. Exposure to a high concentration of TMA (20 mM) significantly reduced Caco-2 viability to 78.8%, triggered intracellular reactive oxygen species (ROS) accumulation, and compromised tight junction integrity as observed via the disruption of Zonula Occludens-1 (ZO-1) alignment. Co-treatment with Lr-EVs (100-300 g/mL) counteracted this cellular toxicity, enhancing cell survival up to 172%. Quantitative PCR analysis revealed that Lr-EVs suppressed the transcriptional upregulation of the pro-inflammatory gene IL-1{beta}, restored the expression of the metabolic regulator SIRT1, and stabilized transcript levels of key mitochondrial-encoded electron transport chain genes (ND6, CYTB, CO1, and ATP6). Additionally, Lr-EVs exhibited intrinsic radical scavenging activities in cell-free ABTS and DPPH assays. These preliminary in vitro findings demonstrated that Lr-EVs mitigated TMA-induced cellular injury, oxidative stress, and junctional disruption at the transcriptomic level, supporting further investigation of probiotic-derived EVs as prospective cell-free functional ingredients.

microbiology↗

Metagenomic Insights into the Fecal Microbiome, Resistome, and Mobilome of Beef Cattle in Cow-Calf Operations in Florida, United States

Food-producing animals are a focus of One Health approaches to antimicrobial resistance (AMR) as reservoirs of antimicrobial-resistant bacteria (ARB) and antimicrobial resistance genes (ARGs). We hypothesized that microbial composition, ARGs profiles, and mobile genetic element (MGE) profiles would differ by operation size and animal age group. Fecal samples from 162 cows and calves were combined into 54 composite samples, each comprising three animals of the same age group. Across operation sizes, Bacillota (51.4-64.9%), Bacteroidota (12.0-17.3%), Pseudomonadota (10.3-16.5%), and Actinomycetota (3.3-10.9%) were predominant phyla. Alpha diversity did not differ among operation sizes; however, cows exhibited greater observed richness, Shannon diversity, and Simpson diversity than calves (all P < 0.001). Microbial composition did not differ significantly among operation sizes (PERMANOVA, R{superscript 2} = 0.065, P = 0.609) but differed significantly between cows and calves (R{superscript 2} = 0.200, P < 0.001). Seventy-five ARGs representing 14 resistance classes were identified. Normalized ARG hit rates were higher in small operations (0.444) than in medium (0.278) and large operations (0.222; P = 0.088), whereas calves exhibited a higher estimated marginal mean normalized ARG hit rate than cows (0.383 vs. 0.247 hits/million reads; P < 0.001). Of 1,054 curated ARG hits, 23.9% occurred on predicted plasmid contigs, 0.9% on predicted viral contigs, and 7.1% on contigs containing insertion sequences. Overall findings demonstrate differences in fecal microbiome diversity and ARG abundance between cows and calves and indicate that predicted plasmids are associated with a notable proportion of ARG hits in Florida beef cow-calf operations.

microbiology↗