StLiter: A Novel Algorithm to Iteratively Build the Compacted de Bruijn Graph From Many Complete Genomes
Abstract
Recently, the compacted de Bruijn graph (cDBG) of complete genome sequences was successfully used in read mapping due to its ability to deal with the repetitions in genomes. However, current approaches are not flexible enough to fit frequently building the graphs with different <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -mer lengths. Instead of building the graph directly, how can we build the compacted de Bruijin graph of longer <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -mer based on the one of short <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -mer? In this article, we present StLiter, a novel algorithm to build the compacted de Bruijn graph either directly from genome sequences or indirectly based on the graph of a short <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -mer. For 100 simulated human genomes, StLiter can construct the graph of <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -mer length 15-18 in 2.5-3.2 hours with maximal ∼70GB memory in the case of without considering the reverese complements of the reference genomes. And it costs 4.5-5.9 hours when considering the reverse complements. In experiments, we compared StLiter with TwoPaCo, the state-of-art method for building the graph, on 4 datasets. For <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -mer length 15-18, StLiter can build the graph 5-9 times faster than TwoPaCo using less maximal memory cost. For <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -mer length larger than 18, given the graph of a short <inline-formula><tex-math notation="LaTeX">$({\mathrm{k}}$</tex-math></inline-formula> - <inline-formula><tex-math notation="LaTeX">${\mathrm{x}})$</tex-math></inline-formula> -mer, such as <inline-formula><tex-math notation="LaTeX">${\mathrm{x}}$</tex-math></inline-formula> = 1-2, compared with TwoPaCo building the graph directly, StLiter can also build the graph more efficiently. The source codes of StLiter can be downloaded from web site <uri>https://github.com/BioLab-cz/StLiter</uri> .
BibTeX
@article{yu2022stliter,
author = {Changyong Yu and Keming Mao and Yuhai Zhao and Cheng Chang and Guoren Wang},
title = {{StLiter: A Novel Algorithm to Iteratively Build the Compacted de Bruijn Graph From Many Complete Genomes}},
journal = {IEEE ACM Trans. Comput. Biol. Bioinform.},
year = {2022},
doi = {10.1109/tcbb.2021.3062068},
}Ask Althea to put this paper to the test.
Loading related content...