Compacting de Bruijn graphs from sequencing data quickly and in low memory.
As the quantity of data per sequencing experiment increases, the challenges of fragment assembly are becoming increasingly computational. The de Bruijn graph is a widely used data structure in fragment assembly algorithms, used to represent the information from a set of reads. Compaction is an important data reduction step in most de Bruijn graph based algorithms where long simple paths are compacted into single vertices. Compaction has recently become the bottleneck in assembly pipelines, and improving its running time and memory usage is an important problem.



We present an algorithm and a tool bcalm 2 for the compaction of de Bruijn graphs. bcalm 2 is a parallel algorithm that distributes the input based on a minimizer hashing technique, allowing for good balance of memory usage throughout its execution. For human sequencing data, bcalm 2 reduces the computational burden of compacting the de Bruijn graph to roughly an hour and 3 GB of memory. We also applied bcalm 2 to the 22 Gbp loblolly pine and 20 Gbp white spruce sequencing datasets. Compacted graphs were constructed from raw reads in less than 2 days and 40 GB of memory on a single machine. Hence, bcalm 2 is at least an order of magnitude more efficient than other available methods.



Source code of bcalm 2 is freely available at: https://github.com/GATB/bcalm



rayan.chikhi@univ-lille1.fr.
CNRS, CRIStAL, Lille, France.
Rayan
R
Chikhi
ENS Cachan Brittany, Bruz, France.
Antoine
A
Limasset
Department of Computer Science and Engineering, The Pennsylvania State University, USA Department of Biochemistry and Molecular Biology, The Pennsylvania State University, USA Genome Sciences Institute of the Huck, The Pennsylvania State University, USA.
Paul
P
Medvedev
D000465:Algorithms; D006801:Humans; D011381:Programming Languages; D017422:Sequence Analysis, DNA