Skip to main content
QUICK REVIEW

[Paper Review] On the representation of de Bruijn graphs

Rayan Chikhi, Antoine Limasset|arXiv (Cornell University)|Jan 21, 2014
Genomics and Phylogenetic StudiesBiochemistry, Genetics and Molecular Biology26 references15 citations
TL;DR

This paper introduces dbgfm, a novel data structure that represents de Bruijn graphs using significantly reduced memory by exploiting frequency-based minimizers to enumerate maximal simple paths. It achieves 46% memory reduction on human whole-genome data (1.5 GB) and enables integration into assemblers like ABySS, demonstrating near-optimal space usage approaching 2n bits per k-mer on practical inputs.

ABSTRACT

The de Bruijn graph plays an important role in bioinformatics, especially in the context of de novo assembly. However, the representation of the de Bruijn graph in memory is a computational bottleneck for many assemblers. Recent papers proposed a navigational data structure approach in order to improve memory usage. We prove several theoretical space lower bounds to show the limitation of these types of approaches. We further design and implement a general data structure (DBGFM) and demonstrate its use on a human whole-genome dataset, achieving space usage of 1.5 GB and a 46% improvement over previous approaches. As part of DBGFM, we develop the notion of frequency-based minimizers and show how it can be used to enumerate all maximal simple paths of the de Bruijn graph using only 43 MB of memory. Finally, we demonstrate that our approach can be integrated into an existing assembler by modifying the ABySS software to use DBGFM.

Motivation & Objective

  • To address the high memory overhead of de Bruijn graph representations in genome assemblers, especially for large genomes like human and white spruce.
  • To formalize navigational data structures (NDS) and establish theoretical space lower bounds for their representation.
  • To design a practical, low-memory data structure (dbgfm) that leverages the structure of real-world de Bruijn graphs, particularly their decomposition into long simple paths.
  • To demonstrate that frequency-based minimizers enable efficient, in-memory enumeration of maximal simple paths with only 43 MB of memory.
  • To integrate dbgfm into an existing assembler (ABySS) and show that it reduces memory usage while maintaining compatibility with core assembly workflows.

Proposed method

  • Use k-mer counting software to pre-process sequencing data into a list of k-mers stored on disk, enabling constant-memory preprocessing.
  • Apply frequency-based minimizers—non-lexicographic orderings of ℓ-mers based on their frequency in the dataset—to guide the enumeration of maximal simple paths.
  • Develop a novel algorithm that enumerates all maximal simple paths without loading the full graph into memory, relying on the frequency-ordered minimizers to guide traversal.
  • Store the enumerated paths using the FM-index data structure, enabling efficient rank/select operations and neighborhood queries.
  • Construct dbgfm as a compressed FM-index over the path representations, achieving space usage close to the theoretical lower bound of 2n bits per k-mer.
  • Integrate dbgfm into the ABySS assembler by replacing its hash table with the FM-indexed structure, preserving functionality while reducing memory footprint.

Experimental results

Research questions

  • RQ1What is the theoretical minimum space required to represent a de Bruijn graph using navigational data structures, and how does it compare to known upper bounds?
  • RQ2Can the structural properties of real-world de Bruijn graphs—particularly their decomposition into long simple paths—be exploited to design more memory-efficient representations?
  • RQ3Can frequency-based minimizers outperform lexicographic or random orderings in reducing memory usage during path enumeration?
  • RQ4To what extent can the space usage of de Bruijn graph representations be reduced in practice, approaching the theoretical lower bound of 2n bits per k-mer?
  • RQ5Can a low-memory data structure like dbgfm be successfully integrated into an existing assembler pipeline without sacrificing functionality or performance?

Key findings

  • The paper proves a theoretical lower bound of 3.24n bits for any navigational data structure, highlighting the limits of such approaches.
  • On linear de Bruijn graphs (simple paths), both navigational and general data structures can achieve 2n bits per k-mer, matching the theoretical lower bound.
  • dbgfm achieves 4.76n bits per k-mer on a human whole-genome dataset and 3.53n bits on chromosome 14, representing a 46% and 60% improvement over prior state-of-the-art methods.
  • Using frequency-based minimizers, the authors collapsed the human whole-genome de Bruijn graph with only 43 MB of memory, demonstrating high efficiency in path enumeration.
  • When integrated into ABySS, dbgfm reduced memory usage by 70% compared to the sparsehash implementation, though at the cost of a 33% increase in runtime.
  • The graph structure in dbgfm consumed only 6% of total memory, compared to 54% in the hash table version, indicating that the main memory savings come from the compressed representation rather than the associated data.

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.