# From Indexing Data Structures to de Bruijn Graphs

* Corresponding author
1 MAB - Méthodes et Algorithmes pour la Bioinformatique
LIRMM - Laboratoire d'Informatique de Robotique et de Microélectronique de Montpellier
Abstract : New technologies have tremendously increased sequencing throughput compared to traditional techniques, thereby complicating DNA assembly. Hence, assembly programs resort to de Bruijn graphs (dBG) of $k$-mers of short reads to compute a set of long contigs, each being a putative segment of the sequenced molecule. Other types of DNA sequence analysis, as well as preprocessing of the reads for assembly, use classical data structures to index all substrings of the reads. It is thus interesting to exhibit algorithms that directly build a de Bruijn graph of order $k$ from a pre-existing index, and especially a contracted version of the de Bruijn graph, where non branching paths are condensed into single nodes. Here, we formalise the relationship between suffix trees/arrays and dBGs, and exhibit linear time algorithms for constructing the full or contracted de Bruijn graphs. Finally, we provide hints explaining why this bridge between indexes and dBGs enables to dynamically update the order $k$ of the graph.
Keywords :
Document type :
Reports
Domain :

Cited literature [17 references]

https://hal-lirmm.ccsd.cnrs.fr/lirmm-00950983
Contributor : Eric Rivals Connect in order to contact the contributor
Submitted on : Wednesday, March 5, 2014 - 7:31:18 PM
Last modification on : Monday, October 11, 2021 - 1:24:07 PM
Long-term archiving on: : Thursday, June 5, 2014 - 12:00:27 PM

### File

STSA-DBG-RR.pdf
Files produced by the author(s)

### Identifiers

• HAL Id : lirmm-00950983, version 2

### Citation

Bastien Cazaux, Thierry Lecroq, Eric Rivals. From Indexing Data Structures to de Bruijn Graphs. [Research Report] RR-14004, LIRMM. 2014. ⟨lirmm-00950983v2⟩

Record views