Related Experiment Video
Updated: Sep 28, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
ViTax-RAG: a retrieval-augmented language modeling tool for viral contig taxonomic classification
Feng Zhou1, Lan Cao1, Yushuang He1
1Department of Automation, National Institute for Data Science in Health and Medicine, State Key Laboratory of Mariculture Breeding, Xiamen Key Laboratory of Big Data Intelligent Analysis and Decision, Xiamen University, Xiamen, Fujian 361102, China.
Motivation:
Taxonomic classification of viral metagenomic contigs remains difficult for short or divergent sequences. Reference-based methods are precise when close homologs exist, whereas representation-based models can generalize beyond direct matches but lack explicit biological evidence.
Results:
Here, we present ViTax-RAG, a retrieval-augmented framework that integrates alignment-derived evidence with learned sequence representations for robust viral classification. ViTax-RAG reformulates BLAST as a domain-specific retrieval module and integrates retrieved homology information into a sequence modeling framework, thereby enabling the complementary use of alignment-based and representation-based signals. We evaluated ViTax-RAG on in-distribution (ID) and within-genus out-of-distribution (OOD) datasets, where it consistently outperformed current viral taxonomy methods at comparable taxonomic endpoints and supported fragment lengths. The pipeline processed all 195 728 GOV 2.0 contigs; 87.2% of predictions terminated at class, demonstrating hierarchical backoff rather than fine-rank accuracy on data without ground truth.
Availability And Implementation:
ViTax-RAG is implemented in Python and is freely available at GitHub (https://github.com/Ying-Lab/ViTax-Rag) under an open-source license. Documentation and example workflows are provided to facilitate integration into metagenomic analysis pipelines.
Related Concept Videos
Rapid Identification of Pathogens
Microbial Classification System
RACE - Rapid Amplification of cDNA Ends
Since the...
Viruses with RNA Genomes
Leaky Scanning
ER Retrieval Pathway
The ER uses many checkpoints to prevent the entry of incorrectly folded or a resident protein as cargo onto a transport vesicle. These mechanisms...
