Skip to main content
QUICK REVIEW

[Paper Review] A massively parallel algorithm for constructing the BWT of large string sets

Jacopo Pantaleoni|arXiv (Cornell University)|Oct 2, 2014
Algorithms and Data CompressionComputer Science8 references4 citations
TL;DR

This paper presents set-bwte, a massively parallel, incremental algorithm for constructing the Burrows-Wheeler Transform (BWT) and FM-index of large string sets, such as genomic reads. It uses a block-wise, forward-processing approach with GPU-accelerated suffix array construction and CPU-based rank computation, achieving up to 6.5x speedup over state-of-the-art methods for long reads by minimizing external memory bottlenecks and using only O(n log σ) system memory and constant high-bandwidth memory.

ABSTRACT

We present a new scalable, lightweight algorithm to incrementally construct the BWT and FM-index of large string sets such as those produced by Next Generation Sequencing. The algorithm is designed for massive parallelism and can effectively exploit the combination of low capacity high bandwidth memory and slower external system memory typical of GPU accelerated systems. Particularly, for a string set of n characters from an alphabet with σsymbols, it uses a constant amount of high-bandwidth memory and at most 3n log(σ) bits of system memory. Given that deep memory hierarchies are becoming a pervasive trait of high performance computing architectures, we believe this to be a relevant feature. The implementation can handle reads of arbitrary length and is up to 2 and respectively 6.5 times faster than state-of-the-art for short and long genomic reads

Motivation & Objective

  • To address the performance bottleneck in BWT construction for large-scale genomic string sets, particularly due to slow external memory access.
  • To enable incremental construction of the BWT and FM-index, allowing dynamic addition of new sequences without recomputation.
  • To design a highly parallel algorithm that effectively exploits modern GPU-accelerated systems with deep memory hierarchies.
  • To reduce memory footprint by using only O(n log σ) system memory and constant high-bandwidth memory, making it suitable for large-scale bioinformatics workloads.

Proposed method

  • The algorithm partitions input string sets into blocks and processes them sequentially in a forward loop, enabling incremental updates.
  • It constructs suffix arrays for each block using a massively parallel GPU-based MSD radix sort on 32-bit word keys.
  • For each block, it computes the rank of its suffixes relative to the existing external BWT using a reverse application of Ferragina et al.'s rank lemma, enabling O(|Bint|) work per block.
  • It reorders BWT symbols from the new block according to their lexicographic rank and inserts them into the external BWT using a novel paged data structure for highly parallel insertion.
  • The pipeline overlaps I/O, GPU suffix sorting, and CPU-based ranking and insertion stages using multiple buffering to maximize throughput.
  • It maintains a paged array and occurrence counters, using 2n log σ bits for the paged array and up to n log σ bits for counters, totaling ≤ 3n log σ bits of system memory.

Experimental results

Research questions

  • RQ1Can a BWT construction algorithm be both massively parallel and incremental, allowing dynamic updates to the index?
  • RQ2How can the performance bottleneck of external memory access be reduced in large-scale BWT construction?
  • RQ3What is the optimal memory access pattern for achieving high throughput in GPU-accelerated BWT construction with deep memory hierarchies?
  • RQ4Can a block-wise, forward-processing approach achieve better performance than backward-processing or blockwise sorting in modern shared-memory systems?

Key findings

  • For short genomic reads (101bp), set-bwte is up to 2 times faster than the previous fastest non-incremental algorithm (ropebwt-bcr) and nearly 3 times faster than the state-of-the-art incremental algorithm (ropebwt2).
  • For longer reads (875bp), the performance gain increases to 6.5 times over ropebwt2, demonstrating superior scalability with read length.
  • Ranking was the performance bottleneck for short reads on the Xeon E5-2597-v2 system, consuming nearly three times more time than the GPU suffix sorting stage.
  • The pipeline achieved throughputs of 77 Mbp/s for suffix sorting and 98 Mbp/s for insertion on the NA12878 dataset, with ranking being the slowest stage at 37 Mbp/s.
  • The algorithm uses only a constant amount of high-bandwidth memory and at most 3n log σ bits of system memory, making it memory-efficient for large-scale applications.
  • The algorithm’s performance is relatively insensitive to average read length, indicating robustness across diverse genomic datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.