bioRxiv · 10.1101/2025.02.21.639270
Measuring Genomic Data with PFP
Abstract
SummaryPrefix-free parsing [Boucher et al., Alg. Mol. Biol., 2019] is a highly effective heuristic for computing text indexes for very large amounts of biological data. The algorithm constructs a data structure, the prefix-free parse (PFP) of the input, consisting of a dictionary and a parse, which is then used to speed up computation of the final index. In this paper, we study the size of the PFP, which we refer to as{pi} , and show that it is a powerful tool in its own right. To show this, we present two use cases. We first study the application of{pi} as a repetitiveness measure of the input text, and compare it to other currently used repetitiveness measures, including z (the number of Lempel-Ziv phrases), r (the number of runs of the Burrows-Wheeler Transform), and{delta} (the texts substring complexity). We then turn to the use of{pi} as a measure for pangenome openness. In both applications, our results are similar to existing measures, but our tool, in almost all cases, is more efficient than those computing the other measures, both in terms of time and space, sometimes by an order of magnitude. We close the paper with a detailed systematic study of the parameter choice for PFP (window size w and modulus p). This gives rise to interesting open questions. Availability and implementationThe source code is available at https://github.com/simolucaa/piPFP. The accession codes for all the datasets used and the raw results are available at https://github.com/simolucaa/piPFP_experiments.
Source connections
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Liptak, Z., Masillo, F., Luca, S.. 2025-02-27. Measuring Genomic Data with PFP. https://doi.org/10.1101/2025.02.21.639270
Cite the original work for its findings. Save a collection to share your selection of sources.