A unified benchmark of supervised and retrieval-based methods for viral genomic sequence classification across three viral classification tasks is presented, providing practical guidance for selecting sequence representations, classifiers, and vector-search indexes under different accuracy, memory, and update requirements.
Abstract
The rapid growth of genomic sequencing demands fast, accurate, and scalable analysis methods. In viral genomic classification, expanding labeled reference collections can make supervised models costly to update and dependent on fixed label sets, motivating retrieval-based genomic classification as a simpler, more flexible alternative. We present a unified benchmark of supervised and retrieval-based methods for viral genomic sequence classification across three viral classification tasks: hepatitis C virus (HCV) genotyping, COVID-19 discrimination, and human papillomavirus (HPV) genotyping. We compare standard sequence encodings (one-hot, k-mers, FCGR) with dense embeddings (dna2vec, DNABERT). For each representation, we evaluate supervised classifiers (Random Forest, Decision Tree, XGBoost) and retrieval-based classification, where sequence vectors are indexed with FAISS and labels are assigned via similarity-weighted k-NN. Furthermore, we benchmark multiple FAISS index types (Flat, IVF, HNSW, IVFPQ, OPQ) to characterize accuracy-speed–memory trade-offs at scale. The results show that XGBoost and retrieval using Flat or IVF indexes achieve strong classification performance under different computational profiles. Compressed indexes such as IVFPQ and OPQ substantially reduce memory usage, although their accuracy loss depends on the dataset and representation. Overall, supervised XGBoost provides a favorable accuracy–size trade-off, while retrieval-based classification remains competitive and allows labeled reference sequences to be incorporated without retraining a global classifier. This benchmark provides practical guidance for selecting sequence representations, classifiers, and vector-search indexes under different accuracy, memory, and update requirements.
GFMs, specifically the Nucleotide Transformer and DNABERT families, were evaluated for viral sequence classification using a dataset derived from the Reference Viral Database and NTv3-650M emerged as the most promising candidate for further optimisation and deployment in bioinformatics applications.
V. Bůžková, Bohuslav Dvorský, Mariana Komárková et al.· bioRxiv· 0 citations
Abstract Scalable analysis of biological sequences is essential for functional characterization, biomarker discovery, and therapeutic and vaccine development. Alignment-based pipelines often fail to capture intraspecific variation and become computationally limited on large datasets, while alignment-free methods treat...
Tatiana Mari Saita, M. Pimenta-Zanon, A. T. D. de Queiróz et al.· NAR Genomics and Bioinformat...· 0 citations
Genomic sequence classification is an important task for understanding viral genetic variability and supporting genotype identification, particularly for viruses such as the Hepatitis C Virus (HCV). In this study, we evaluate the effectiveness of different sequence encoding techniques, supplementary genomic descriptors...
A. Fahmy, M. S. Hammad, Walid Al-Atabany et al.· Scientific Reports· 0 citations
Abstract Semi-supervised learning (SSL) is a natural fit for genomics, where unlabeled sequences are abundant but high-quality labels are scarce due to costly curation. However, most SSL pipelines rely on generic perturbations that are not tailored to biological constraints, and it remains unclear which augmentation de...
Hyunwoo Yoo, G. Rosen· NAR Genomics and Bioinformat...· 0 citations
The extensive diversity of viral genomes challenges alignment-free representations to capture both nucleotide composition and the higher-order organization of recurring sequence patterns. Conventional $k$-mer representations quantify pattern abundance but do not explicitly encode how these patterns are organized across...
The selection of the numerical representation of DNA sequences plays an essential role in taxonomy classification using deep learn-ing. However, systematic comparisons of different ways to encode DNA sequences are still missing. In our work, we compare three basic representation types: one-hot encodings, k-mer frequenc...
Radha G, S. B· ITM Web of Conferences· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.