bioRxivGenomicsPreprint
Anniemap: Vector Search for Viral Short Read Alignment
Daniel J. van ZyliD, Houriiyah TegallyiD, Cheryl BaxteriD, Túlio de OliveiraiD, Joicymara S. Xavier, Marcel DunaiskiiD
Abstract
Background: The process of aligning sequencing reads to a reference genome is a foundational step in genomic analysis, underpinning tasks from variant detection to pathogen surveillance. In viral genomics, however, this problem becomes substantially more challenging: viral sequences are often present at low abundance within host-dominated samples and can differ markedly from available references due to rapid mutation and population heterogeneity. These characteristics reduce the effectiveness of conventional seed-and-extend aligners, which typically rely on long exact or near-exact matches to anchor alignments. Even modest sequence divergence or sequencing errors can disrupt such seeds, particularly for short reads, leading to missed alignments. The central challenge in this setting is maintaining robust alignment under high divergence without sacrificing efficiency. Results: We introduce Anniemap, a vector search based approach to viral short-read sequence alignment. Anniemap represents reads and reference sequences as binary vectors and performs approximate nearest-neighbour search using Facebook AI Similarity Search (FAISS) to efficiently identify candidate mappings. Anniemap was compared with the well-established alignment tools Bowtie2 and BWA-MEM2 across a diverse set of viral genomes and read lengths using both simulated and real sequencing data. Anniemap achieved higher sensitivity and throughput in almost all evaluated scenarios, with the most substantial improvements in sensitivity observed for highly divergent genomes, such as Hepatitis C virus (HCV) and Human Immunodeficiency Virus (HIV). Conclusions; By measuring vector similarity rather than relying on long exact seed matches, Anniemap provides greater robustness to sequencing errors and genomic mutations. This property is particularly advantageous for viral genomes, where substantial sequence divergence is common. Further work is required to efficiently extend vector-based search for read alignment beyond viral genomes.
- organism: virus
- assay: whole-genome sequencing
- research focus: variant calling
- approach: deep learning
- approach: statistical model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- AnchoRNA: Full virus genome alignments through conserved anchor regions
Tom Eulenfeld, Sandra Triebel, … Manja Marz·bioRxiv·Jan 30, 2025
- Vargas: heuristic-free alignment for assessing linear and graph read aligners
Charlotte A. Darby, Ravi Gaddipati, … Ben Langmead·BioinformaticsPeer-reviewed·Apr 15, 2020
- ViralConsensus: A fast and memory-efficient tool for calling viral consensus genome sequences directly from read alignment data
Niema Moshiri·BioinformaticsPeer-reviewed·May 1, 2023
- Accuracy, speed and error tolerance of short DNA sequence aligners
Mark Ziemann·bioRxiv·May 16, 2016
- V-pipe: a computational pipeline for assessing viral genetic diversity from high-throughput sequencing data
Susana Posada-Céspedes, David Seifert, … Niko Beerenwinkel·BioinformaticsPeer-reviewed·Jan 8, 2021
- Min-frame transformation enables more sensitive viral genome alignment
Ryan Doughty, Ankhi Banerjee, … Todd J. Treangen·bioRxiv·May 22, 2026