RLZAP: Relative Lempel-Ziv with Adaptive Pointers

Anthony J. Cox, Andrea Farruggia, Travis Gagie, Simon J. Puglisi, Jouni Sirén
5/14/2016
13 citations
cs.DS

Official code: farruggia/rlzap (6 stars, C++, last commit 2021-11-24).

Abstract

Relative Lempel-Ziv (RLZ) is a popular algorithm for compressing databases of genomes from individuals of the same species when fast random access is desired. With Kuruppu et al.'s (SPIRE 2010) original implementation, a reference genome is selected and then the other genomes are greedily parsed into phrases exactly matching substrings of the reference.

Show full abstract

Deorowicz and Grabowski (Bioinformatics, 2011) pointed out that letting each phrase end with a mismatch character usually gives better compression because many of the differences between individuals' genomes are single-nucleotide substitutions. Ferrada et al. (SPIRE 2014) then pointed out that also using relative pointers and run-length compressing them usually gives even better compression. In this paper we generalize Ferrada et al.'s idea to handle well also short insertions, deletions and multi-character substitutions. We show experimentally that our generalization achieves better compression than Ferrada et al.'s implementation with comparable random-access times.

View on arXivView PDF

Code Implementations(1)

farruggia/rlzapOfficial100%

RLZAP: Relative Lempel-Ziv with Adaptive Pointers

61C++, CMay 10, 20165 years ago
compressionindexlempel-ziv

Similar Papers

Cite this paper

@article{cox2016rlzap,
  title  = {RLZAP: Relative Lempel-Ziv with Adaptive Pointers},
  author = {Anthony J. Cox and Andrea Farruggia and Travis Gagie and Simon J. Puglisi and Jouni Sirén},
  year   = {2016},
  eprint = {1605.04421},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1605.04421}
}

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/1605.04421.svg)](https://codeofpaper.com/paper/1605.04421)

Discussion