SparseAssembler: de novo Assembly with the Sparse de Bruijn Graph

Chengxi Ye, Zhanshan (Sam) Ma, Charles H. Cannon, Mihai Pop, Douglas W. YuarXiv 2011

Abstract

Genome assembly using standard de Bruijn graphs is notoriously memory-hungry, often requiring expensive supercomputers to process large genomes. This paper introduces SparseAssembler, which utilizes a "sparse" de Bruijn graph that skips intermediate $k$-mers to reduce memory consumption by up to 90%. Coupled with a novel, lightweight denoising algorithm, it achieves assembly quality comparable to state-of-the-art tools but runs efficiently on standard desktop hardware.

Introduction

Second-generation sequencing technologies produce millions of short DNA reads. To reconstruct a full genome de novo, algorithms commonly use a de Bruijn graph, breaking reads into overlapping sequences of length $k$ ($k$-mers). The major bottleneck is RAM; a standard graph stores every unique $k$-mer, requiring massive memory (often >100 GB for large genomes). Sequencing errors further balloon usage by creating false branches. SparseAssembler aims to drastically reduce this footprint without sacrificing accuracy.

Methods

The Sparse de Bruijn Graph

Instead of storing every overlapping $k$-mer, the algorithm stores "extended $k$-mers" ($e$-$k$-mers) separated by a gap of $g$ bases. For example, if $g=16$, the algorithm skips 15 intermediate $k$-mers. The skipped bases are implicitly encoded in the edges. This approach leverages the fact that genomes are mostly piecewise linear, meaning most $k$-mers have only one valid neighbor.

Comparison of standard (a, b) and sparse (c, d) de Bruijn graph representations.

HybridDenoiser and Graph Simplification

Sequencing errors are handled by a two-round HybridDenoiser. It maps reads to the sparse graph, identifies low-coverage ("dubious") $e$-$k$-mers, and uses breadth-first search to correct them toward high-coverage ("solid") paths.

The HybridDenoiser identifies and corrects dubious e-k-mers by finding solid paths in the sparse graph.

To handle residual errors and polymorphisms, a Dijkstra-like search backtracks to find common ancestors, pruning spurious paths and "bubbles" from the graph.

Results

SparseAssembler was evaluated on simulated (E. coli, yeast) and real-world datasets (Fruit fly, Rice, Bee).

  • Memory Efficiency: On a noise-free E. coli dataset, SparseAssembler used 21 MB of RAM, compared to 421 MB for Velvet. For the fruit fly genome, it required only 0.5 GB, whereas Velvet used 8 GB.
  • Denoising Performance: HybridDenoiser eliminated >99.9% of errors in datasets with 1-2% error rates, using ~1/20th the time and memory of standalone tools like HiTEC.
  • Assembly Quality: On the fruit fly genome, it achieved a contig N50 of 37.4 kbp, outperforming Velvet's 24.5 kbp. The team successfully assembled a 416 Mbp bee genome using just ~3 GB of RAM on a standard workstation, while SOAPdenovo required ~25 GB on a cluster.

Conclusion

SparseAssembler demonstrates that skipping $k$-mers significantly reduces memory usage and can even improve assembly continuity by bypassing short repeats. While currently single-threaded and focused on contig assembly, future work will integrate paired-end read scaffolding and multithreading to further enhance performance.

Summary updated

BibTeX
@misc{ye2011sparseassembler,
  author = {Chengxi Ye and Zhanshan (Sam) Ma and Charles H. Cannon and Mihai Pop and Douglas W. Yu},
  title = {{SparseAssembler: de novo Assembly with the Sparse de Bruijn Graph}},
  year = {2011},
  eprint = {1106.2603},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1106.2603},
}
Figure