# Fully-functional bidirectional Burrows-Wheeler indexes

**Authors:** Fabio Cunial, Djamal Belazzougui

arXiv: 1901.10165 · 2019-06-11

## TL;DR

This paper introduces fully-functional bidirectional Burrows-Wheeler indexes supporting constant-time character addition and removal from any substring, enabling efficient, small-space, variable-order de Bruijn graph traversal.

## Contribution

It presents new bidirectional BWT indexes that support both addition and removal of characters in constant or near-constant time, improving flexibility over previous structures.

## Key findings

- Supports constant-time addition/removal from any substring
- Uses space proportional to maximal repeats of T
- Enables small-space, variable-order de Bruijn graph traversal

## Abstract

Given a string $T$ on an alphabet of size $\sigma$, we describe a bidirectional Burrows-Wheeler index that takes $O(|T|\log{\sigma})$ bits of space, and that supports the addition \emph{and removal} of one character, on the left or right side of any substring of $T$, in constant time. Previously known data structures that used the same space allowed constant-time addition to any substring of $T$, but they could support removal only from specific substrings of $T$. We also describe an index that supports bidirectional addition and removal in $O(\log{\log{|T|}})$ time, and that occupies a number of words proportional to the number of left and right extensions of the maximal repeats of $T$. We use such fully-functional indexes to implement bidirectional, frequency-aware, variable-order de Bruijn graphs in small space, with no upper bound on their order, and supporting natural criteria for increasing and decreasing the order during traversal.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1901.10165/full.md

## Figures

2 figures with captions in the complete paper: https://tomesphere.com/paper/1901.10165/full.md

## References

51 references — full list in the complete paper: https://tomesphere.com/paper/1901.10165/full.md

---
Source: https://tomesphere.com/paper/1901.10165