Skip to main content
QUICK REVIEW

[Paper Review] Faster and More Accurate Sequence Alignment with SNAP

Matei Zaharia, William J. Bolosky|arXiv (Cornell University)|Nov 23, 2011
Genomics and Phylogenetic StudiesBiochemistry, Genetics and Molecular Biology14 references231 citations
TL;DR

SNAP is a novel sequence aligner that achieves 10–100× faster performance and higher accuracy than state-of-the-art tools like BWA by using a hash-based index with longer seeds (≈20 bp), optimized local alignment, and memory-aware pruning. It aligns 30× coverage of the human genome in under an hour on Amazon EC2 at a cost of $2, supporting arbitrary indels and substitutions as long as one contiguous seed matches the reference.

ABSTRACT

We present the Scalable Nucleotide Alignment Program (SNAP), a new short and long read aligner that is both more accurate (i.e., aligns more reads with fewer errors) and 10-100x faster than state-of-the-art tools such as BWA. Unlike recent aligners based on the Burrows-Wheeler transform, SNAP uses a simple hash index of short seed sequences from the genome, similar to BLAST's. However, SNAP greatly reduces the number and cost of local alignment checks performed through several measures: it uses longer seeds to reduce the false positive locations considered, leverages larger memory capacities to speed index lookup, and excludes most candidate locations without fully computing their edit distance to the read. The result is an algorithm that scales well for reads from one hundred to thousands of bases long and provides a rich error model that can match classes of mutations (e.g., longer indels) that today's fast aligners ignore. We calculate that SNAP can align a dataset with 30x coverage of a human genome in less than an hour for a cost of $2 on Amazon EC2, with higher accuracy than BWA. Finally, we describe ongoing work to further improve SNAP.

Motivation & Objective

  • Address the growing computational burden of high-throughput short and long read sequencing, which outpaces Moore’s Law and threatens to overwhelm storage and compute systems.
  • Overcome the trade-off between speed and accuracy in existing aligners, which often restrict error models to only a few substitutions or indels.
  • Enable efficient, accurate alignment across diverse read lengths (100–10,000 bp) and error rates using modern hardware and algorithmic optimizations.
  • Develop a scalable, cloud-compatible aligner that reduces cost and time for resequencing large genomes, such as the human genome.

Proposed method

  • Uses a hash index of 20-bp seed sequences from the reference genome, similar to BLAST, but with longer seeds to reduce false positives.
  • Employs a fast edit distance algorithm that leverages high sequence similarity from long seeds to reduce alignment cost below O(n²).
  • Applies early termination in local alignment by rejecting candidates with higher edit distance than the current best, avoiding full computation.
  • Reduces hash lookup overhead by leveraging large memory capacities to store more seed sequences, minimizing repeated lookups.
  • Uses seed count heuristics to exclude low-quality candidate alignments without full edit distance computation.
  • Supports arbitrary numbers of substitutions, insertions, and deletions as long as at least one contiguous 20-bp seed matches the reference.

Experimental results

Research questions

  • RQ1Can a hash-based aligner outperform BWT-based tools like BWA in both speed and accuracy by leveraging longer reads and modern memory?
  • RQ2To what extent can longer seed lengths (≈20 bp) reduce false positive alignments compared to shorter seeds (e.g., 10–12 bp)?
  • RQ3How effective is early rejection of candidate alignments using edit distance bounds in reducing computational cost?
  • RQ4Can a memory-intensive indexing strategy significantly reduce the number of hash lookups and improve performance on modern hardware?
  • RQ5How does SNAP’s performance and accuracy compare to WHAM and BWA-SW in handling reads with multiple errors and indels?

Key findings

  • SNAP aligns 86.7% of 70 bp reads with 2% error rate, outperforming WHAM (60% at reduced speed) and achieving 52,000 reads/second.
  • SNAP achieves 10–100× speedup over BWA and other state-of-the-art tools while maintaining higher accuracy, especially for complex mutations.
  • SNAP can align a 30× coverage human genome in under one hour on Amazon EC2 at a cost of only $2.
  • The algorithm supports arbitrary numbers of substitutions and indels as long as one contiguous 20-bp seed matches the reference genome.
  • SNAP’s use of longer seeds and optimized local alignment reduces the number of full edit distance computations by up to 50× compared to naive approaches.
  • SNAP’s performance scales well across read lengths from 100 to 10,000 bp, making it suitable for both current and emerging sequencing technologies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.