Scrooge: a fast and memory-frugal genomic sequence aligner for CPUs, GPUs, and ASICs
Open Access
- 24 March 2023
- journal article
- research article
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 39 (5)
Abstract
Pairwise sequence alignment is a very time-consuming step in common bioinformatics pipelines. Speeding up this step requires heuristics, efficient implementations, and/or hardware acceleration. A promising candidate for all of the above is the recently proposed GenASM algorithm. We identify and address three inefficiencies in the GenASM algorithm: it has a high amount of data movement, a large memory footprint, and does some unnecessary work. We propose Scrooge, a fast and memory-frugal genomic sequence aligner. Scrooge includes three novel algorithmic improvements which reduce the data movement, memory footprint, and the number of operations in the GenASM algorithm. We provide efficient open-source implementations of the Scrooge algorithm for CPUs and GPUs, which demonstrate the significant benefits of our algorithmic improvements. For long reads, the CPU version of Scrooge achieves a 20.1 , 1.7 , and 2.1 speedup over KSW2, Edlib, and a CPU implementation of GenASM, respectively. The GPU version of Scrooge achieves a 4.0 , 80.4 , 6.8 , 12.6 , and 5.9 speedup over the CPU version of Scrooge, KSW2, Edlib, Darwin-GPU, and a GPU implementation of GenASM, respectively. We estimate an ASIC implementation of Scrooge to use 3.6 less chip area and 2.1 less power than a GenASM ASIC while maintaining the same throughput. Further, we systematically analyze the throughput and accuracy behavior of GenASM and Scrooge under various configurations. As the best configuration of Scrooge depends on the computing platform, we make several observations that can help guide future implementations of Scrooge. https://github.com/CMU-SAFARI/Scrooge.
Keywords
All Related Versions
Funding Information
- Semiconductor Research Corporation
- ETH Future Computing Laboratory
- BioPIM
This publication has 32 references indexed in Scilit:
- CUDASW++ 3.0: accelerating Smith-Waterman protein database search by coupling CPU and GPU SIMD instructionsBMC Bioinformatics, 2013
- Comparison of the two major classes of assembly algorithms: overlap-layout-consensus and de-bruijn-graphBriefings in Functional Genomics, 2011
- RooflineCommunications of the ACM, 2009
- On the Complexity of k-SATJournal of Computer and System Sciences, 2001
- A fast bit-vector algorithm for approximate string matching based on dynamic programmingJournal of the ACM, 1999
- Fast text searchingCommunications of the ACM, 1992
- A new approach to text searchingCommunications of the ACM, 1992
- Algorithms for approximate string matchingInformation and Control, 1985
- An improved algorithm for matching biological sequencesJournal of Molecular Biology, 1982
- Identification of common molecular subsequencesJournal of Molecular Biology, 1981