Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.08.26.747390

Anniemap: Vector Search for Viral Short Read Alignment

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

van Zyl, D. J., Tegally, H., Baxter, C., The INFORM Africa research study group,, de Oliveira, T., Xavier, J. S., Dunaiski, M.. 2026-08-28. Anniemap: Vector Search for Viral Short Read Alignment. https://doi.org/10.64898/2026.08.26.747390

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

KEEP EXPLORING

Related preprints

Chromosome-level, haplotype-resolved genome assembly of the tanniferous forage legume big trefoil (Lotus pedunculatus Cav.) using CiFi

Big trefoil (Lotus pedunculatus Cav.) is a perennial forage legume that thrives on acidic, low-fertility soils and produces condensed tannins that reduce enteric methanogenesis in ruminants. Despite this agronomic potential, genomic resources for the species remain scarce, and the existing haploid assembly does not resolve the two haplotypes of this outcrossing diploid species. Here we present a haplotype-resolved, chromosome-level reference genome for L. pedunculatus genotype Lusitano29 -- the first plant genome assembled using CiFi, a long-read chromosome conformation capture method. We combined PacBio HiFi long reads with CiFi concatemers produced from DpnII and HindIII libraries; in silico digestion and combinatorial pairing of the resulting monomers yielded 790.3 M and 10.3 M pseudo-paired contacts, respectively, enabling scaffolding and manual curation to chromosome level. The 991.1 Mb assembly resolves two phased haplotypes of 500 and 491 Mb, with 96.6% of the sequence anchored in twelve pseudo-chromosomes (six per haplotype). Telomeric repeats were detected at 19 of 24 pseudo-chromosome ends, and no structural errors were detected (scaffold N50 73.8 Mb; consensus QV 64.7; k-mer completeness 99.4%; genome-mode BUSCO completeness 97.0%; CRAQ S-AQI 100.0). Annotation supported by PacBio Iso-Seq full-length transcripts predicted 38,069 and 36,484 protein-coding genes in haplotypes 1 and 2, respectively (protein-mode BUSCO completeness 96.5%), indicating a high completeness of annotated genes. This genome assembly provides a foundation for allele-aware trait dissection of proanthocyanidin biosynthesis, comparative genomics in Lotus, and population genomics and genomics-assisted breeding in L. pedunculatus.

genomics↗

Bramble: projection of spliced genomic alignments into transcriptomic space for improved transcript quantification

Accurate transcript abundance estimation is central to many transcriptomic studies. Many current quantification methods rely on reads mapped directly to the transcriptome, but transcriptome alignment can misassign reads from unannotated transcripts to annotated isoforms, leading to biased abundance estimates. We introduce Bramble, a method that projects spliced genomic alignments into transcriptomic coordinates to produce alignments compatible with downstream transcript quantification tools. Across simulated short- and long-read RNA-seq datasets and multiple levels of reference annotation completeness, incorporating Bramble into quantification pipelines consistently improved accuracy and reduced error. These results suggest that genome-derived transcriptomic alignments can improve transcript quantification by preserving compatible alignments to annotated transcripts while filtering alignments likely originating from unannotated transcripts.

genomics↗

PRDM9-mediated meiotic hotspot specification is constrained in humans despite extensive sequence diversity

PRDM9 specifies meiotic recombination hotspots through a rapidly evolving C2H2 zinc-finger (ZNF) coding minisatellite that determines DNA-binding specificity. Although this minisatellite harbors extraordinary allelic diversity in humans, the functional consequences of most naturally occurring variants remain unknown. Here we functionally characterize 80 human PRDM9 alleles using genome-wide chromatin profiling. Despite extensive sequence diversity within the ZNF array, most alleles function indistinguishably from common A and C hotspot-specifying alleles, revealing that human PRDM9 function is more constrained than its sequence diversity predicts. In contrast, rare and infertility-associated variants occupy two functional extremes: either abundant and novel DNA binding specificity or minimal DNA binding, suggesting that both gain- and loss-of-function alleles may disrupt symmetric hotspot specification during meiosis, thus representing a plausible contributor to human infertility. Together, our findings define the functional landscape of human PRDM9 variation and provide a framework for interpreting the impact of newly discovered PRDM9 alleles.

genomics↗