Where the Patterns Are: Repetition-Aware Compression for Colored de Bruijn Graphs <sup>*</sup>
We describe lossless compressed data structures for the <i>colored</i> de Bruijn graph (or c-dBG). Given a collection of reference sequences, a c-dBG can be essentially regarded as a map from <i>k</i>-mers to their <i>color sets</i>. The color set of a <i>k</i>-mer is the set of all identifiers, or <i>colors</i>, of the references that contain the <i>k</i>-mer. While these maps find countless applications in computational biology (e.g., basic query, reading mapping, abundance estimation, etc.), their memory usage represents a serious challenge for large-scale sequence indexing. Our solutions leverage on the intrinsic repetitiveness of the color sets when indexing large collections of related genomes. Hence, the described algorithms factorize the color sets into patterns that repeat across the entire collection and represent these patterns once instead of redundantly replicating their representation as would happen if the sets were encoded as atomic lists of integers. Experimental results across a range of datasets and query workloads show that these representations substantially improve over the space effectiveness of the best previous solutions (sometimes, even dramatically, yielding indexes that are smaller by an order of magnitude). Despite the space reduction, these indexes only moderately impact the efficiency of the queries compared to the fastest indexes.
Authors
- Jason Fan (ORCID: https://orcid.org/0000-0001-7617-4814)
- Giulio Ermanno Pibiri (ORCID: https://orcid.org/0000-0003-0724-7092)
- Rob Patro (ORCID: https://orcid.org/0000-0001-8463-1675)
- Alessio Campanelli
Institutions
- Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" (IT)
- Ca' Foscari University of Venice (IT)
- Fulcrum Therapeutics (United States) (US)
- University of Maryland, College Park (US)
Publication Details
- Journal
- Journal of Computational Biology
- Published
- 2024-10-01
- DOI
- https://doi.org/10.1089/cmb.2024.0714
- Citations
- 10
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 3.47
Funders
- National Science Foundation
- European Commission
- National Institutes of Health
- HORIZON EUROPE Framework Programme