X-Mapper: fast and accurate sequence alignment via gapped x-mers

Genome Biol. 2025 Jan 22;26(1):15. doi: 10.1186/s13059-024-03473-7.

Abstract

Sequence alignment is foundational to many bioinformatic analyses. Many aligners start by splitting sequences into contiguous, fixed-length seeds, called k-mers. Alignment is faster with longer, unique seeds, but more accurate with shorter seeds avoiding mutations. Here, we introduce X-Mapper, aiming to offer high speed and accuracy via dynamic-length seeds containing gaps, called gapped x-mers. We observe 11-24-fold fewer suboptimal alignments analyzing a human reference and 3-579-fold lower inconsistency across bacterial references than other aligners, improving on 53% and 30% of reads aligned to non-target strains and species, respectively. Other seed-based analysis algorithms might benefit from gapped x-mers too.

Keywords: Bioinformatics; K-mer; Microbial sequencing; Sequence alignment algorithms.

MeSH terms

  • Algorithms*
  • Computational Biology / methods
  • Humans
  • Sequence Alignment* / methods
  • Sequence Analysis, DNA / methods
  • Software*