PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
December 11, 2025Algorithms for Molecular Biology0 citationsOpen Access

Engineering rank queries on bit vectors and strings

View Full Paper
SGSimon Gene GottliebKRKnut Reinert

Key Points

  • The aim is to improve rank query implementations on bit vectors for genomic data analysis.
  • Introduced paired-blocks to halve space overhead in support structures.
  • Developed a masking method for population counts using AVX512 SIMD extensions for performance enhancement.
  • Revised EPR-dictionaries with flattened bit vectors to optimize space and speed for rank operations.
  • Achieved a space saving to only 1.6%.
  • Improved runtime for 512-bit blocks significantly with masking techniques.
  • Provided flattened bit vectors that are 2 to 9 times faster than traditional Wavelet Trees.

Abstract

Abstract Adding rank support to strings over a fixed-sized alphabet has numerous applications. Prominent among those is the (bidirectional) FM-Index which is commonly utilized to index and analyze genomic data. At its core lies the rank operation on the Burrows-Wheeler-Transform (BWT) which, given a position in the BWT and a character, answers how often the specified character appears from the start to that position. Implementing those rank queries is usually based on bit vectors with rank support. In this work, we discuss three implementation improvements. First, a novel approach named paired-blocks that reduces the space overhead of the support structure by half to a total of only 1. 6\% 1. 6 %. Second, a method for masking bits for the population count (also known as popcount) which greatly improves the runtime of 512-bit wide blocks in conjunction with AVX512 SIMD extensions. Third, a revised method for EPR-dictionaries (Pockrandt et al. in International conference on research in computational molecular biology. Springer, New York, 2017) called flattened bit vectors (fBV) with less space consumption and faster rank operations on strings, which is competitive in size and depending on the parameters between 2 2 × and 9 9 × faster than Wavelet Trees (Gog et al. in 13th International Symposium on Experimental Algorithms. Springer, New York, 2014).

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Gottlieb et al. (2025) studied this question.

synapsesocial.com/papers/69401b262d562116f28f78cfhttps://doi.org/10.1186/s13015-025-00291-9
Ask AI
Helpful
Bookmark
Share
View Full Paper