bioRxiv Science⌕ 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

A conserved cysteine-histidine-glutamate metal site identifies DUF501 (Rv1025), an essential uncharacterised protein family of Mycobacterium tuberculosis, as a candidate metalloenzyme and drug target

A substantial fraction of the Mycobacterium tuberculosis proteome remains functionally uncharacterised. Rv1025, a 155-residue protein carrying the domain of unknown function DUF501 (Pfam PF04417), is essential by transposon mutagenesis and vulnerable by CRISPR interference, an attractive but neglected drug target, yet has never been functionally described. The family (4,370 proteins, no Gene Ontology term, no solved structure) is uncharacterised across all organisms and essential in three Actinobacterial genera. A Foldseek search of the AlphaFold model against complete structural databases finds no significant homolog, indicating a novel fold. The operon eno-divIC-Rv1025-ppx2 is conserved across the Actinobacteria phylum, yet AlphaFold-Multimer finds no direct complex between Rv1025 and its neighbour DivIC. Instead, conservation across 8,700 homologous sequences reveals a near-invariant Cys113-His115-Glu59 cluster forming a pocket. Holo AlphaFold3 predictions with Zn, Fe and Mn confidently place a divalent metal on this triad at 2.25-2.47 A; mutating the triad relocates the metal, and an independent backbone-geometry predictor recovers the same site, confirming specificity. The triad is universal across the family: present in all 1,472 near-complete bacterial sequences of the Pfam alignment, with no non-conservative substitution among the 2,228 sequences examined, a defining feature of bacterial DUF501 rather than a mycobacterial peculiarity. We propose that DUF501 is a metal-binding protein and candidate metalloenzyme, the first functional hypothesis for this family, whose conserved, essential metal pocket is a promising drug target. As the predictions build on a conservation-defined site within a fully computational study, they are supportive rather than proof of metal occupancy and warrant experimental validation.

microbiology↗

Mycoplasmal endosymbionts of Trichomonas vaginalis are associated with reduced risk for Chlamydia trachomatis endometrial infection in asymptomatic, coinfected, women.

Trichomonas vaginalis is a protozoan parasite that causes trichomoniasis, the most common curable non-viral sexually transmitted infection, and Chlamydia trachomatis is a bacterial pathogen that can ascend to the upper genital tract and cause pelvic inflammatory disease, infertility, and ectopic pregnancy. T. vaginalis harbors bacterial endosymbionts, including Candidatus Malacoplasma girerdii, an obligate symbiont, and Metamycoplasma hominis, which can live freely or symbiotically. In a 16S rRNA sequencing study of the cervicovaginal microbiome of women at high risk for chlamydial infection, Ca. M. girerdii abundance was one of 13 features predicting lack of chlamydial spread to the endometrium, despite no direct association between T. vaginalis infection and reduced chlamydial ascension. Investigating the relationship between these microorganisms further, we found that T. vaginalis vaginal abundance correlated positively with chlamydial burden in women whose infection was confined to the cervix, while a nonsignificant inverse relationship was seen in women with endometrial spread. Among participants with high chlamydial burden, Ca. M. girerdii was detected exclusively in women without endometrial infection. Both endosymbionts trended toward more frequent detection, and higher abundance, in coinfected women without endometrial spread, while M. hominis abundance correlated strongly with T. vaginalis burden in this group. These findings suggest that mycoplasmal endosymbionts of T. vaginalis, rather than T. vaginalis itself, are microbial factors limiting chlamydial ascension, and point to a three-way interaction between parasite, endosymbiont, and bacterial pathogen that shapes upper genital tract C. trachomatis infection risk.

microbiology↗

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↗