PFP Data Structures

Christina Boucher, Ondřej Cvacho, Travis Gagie, Jan Holub, Giovanni Manzini +2 more
6/21/2020
cs.DS

Official code: maxrossi91/pfp-data-structures (8 stars, C++, MIT, last commit 2020-06-23).

Abstract

Prefix-free parsing (PFP) was introduced by Boucher et al. (2019) as a preprocessing step to ease the computation of Burrows-Wheeler Transforms (BWTs) of genomic databases. Given a string $S$, it produces a dictionary $D$ and a parse $P$ of overlapping phrases such that $\mathrm{BWT} (S)$ can be computed from $D$ and $P$ in time and workspace bounded in terms of their combined size $|\mathrm{PFP} (S)|$.

Show full abstract

In practice $D$ and $P$ are significantly smaller than $S$ and computing $\mathrm{BWT} (S)$ from them is more efficient than computing it from $S$ directly, at least when $S$ consists of genomes from individuals of the same species. In this paper, we consider $\mathrm{PFP} (S)$ as a {\em data structure} and show how it can be augmented to support the following queries quickly, still in $O (|\mathrm{PFP} (S)|)$ space: longest common extension (LCE), suffix array (SA), longest common prefix (LCP) and BWT. Lastly, we provide experimental evidence that the PFP data structure can be efficiently constructed for very large repetitive datasets: it takes one hour and 54 GB peak memory for $1000$ variants of human chromosome 19, initially occupying roughly 56 GB.

View on arXivView PDF

Code Implementations(1)

MIT

Prefix-Free Parsing data structures

80C++, CMakeMar 27, 20206 years agoMIT

Similar Papers

Cite this paper

@article{boucher2020data,
  title  = {PFP Data Structures},
  author = {Christina Boucher and Ondřej Cvacho and Travis Gagie and Jan Holub and Giovanni Manzini and Gonzalo Navarro and Massimiliano Rossi},
  year   = {2020},
  eprint = {2006.11687},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.11687}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.11687.svg)](https://codeofpaper.com/paper/2006.11687)

Discussion