[Paper Review] Efficient Real-Time Selective Genome Sequencing on Resource-Constrained Devices
HARU is a hardware-software co-designed system that accelerates subsequence Dynamic Time Warping (sDTW) for real-time selective genome sequencing on low-cost, portable MPSoC devices with on-chip FPGAs. It achieves 85× speedup over unoptimized software and 2.5× speedup over optimized software on a 36-core server, while reducing energy consumption by two orders of magnitude.
Third-generation nanopore sequencers offer a feature called selective sequencing or 'Read Until' that allows genomic reads to be analyzed in real-time and abandoned halfway, if not belonging to a genomic region of 'interest'. This selective sequencing opens the door to important applications such as rapid and low-cost genetic tests. The latency in analyzing should be as low as possible for selective sequencing to be effective so that unnecessary reads can be rejected as early as possible. However, existing methods that employ subsequence Dynamic Time Warping (sDTW) algorithm for this problem are too computationally intensive that a massive workstation with dozens of CPU cores still struggles to keep up with the data rate of a mobile phone-sized MinION sequencer. In this paper, we present Hardware Accelerated Read Until (HARU), a resource-efficient hardware-software co-design-based method that exploits a low-cost and portable heterogeneous MPSoC platform with on-chip FPGA to accelerate the sDTW-based Read Until algorithm. Experimental results show that HARU on a Xilinx FPGA embedded with a 4-core ARM processor is around 2.5X faster than a highly optimized multi-threaded software version (around 85X faster than the existing unoptimized multi-threaded software) running on a sophisticated server with 36-core Intel Xeon processor for a SARS-CoV-2 dataset. The energy consumption of HARU is two orders of magnitudes lower than the same application executing on the 36-core server. Source code for HARU sDTW module is available as open-source at https://github.com/beebdev/HARU and an example application that utilises HARU is at https://github.com/beebdev/sigfish-haru.
Motivation & Objective
- Address the computational bottleneck of sDTW-based real-time selective sequencing on resource-constrained devices.
- Enable portable, low-energy selective sequencing for applications like pathogen surveillance and rapid genetic testing.
- Overcome the limitations of existing software-only sDTW implementations that cannot keep up with MinION sequencer data rates.
- Design a memory-efficient, high-throughput sDTW accelerator tailored for FPGA deployment on embedded MPSoC platforms.
- Demonstrate that hardware acceleration on low-cost FPGAs can outperform high-end server CPUs in both speed and energy efficiency.
Proposed method
- Developed a memory-efficient sDTW accelerator that reduces space complexity from O(MN) to O(M) by avoiding full M×N matrix storage.
- Exploited fine-grain parallelism in the sDTW computation to reduce time complexity from O(MN) in software to O(M+N) in hardware.
- Integrated the sDTW accelerator with a 4-core ARM processor on a Xilinx Kria MPSoC platform for real-time signal processing.
- Implemented a multi-threaded software pipeline for signal pre-processing and batched input handling to maximize hardware utilization.
- Used the BLOW5 file format and slow5lib for efficient raw signal I/O, enabling cross-compilation to the embedded target.
- Designed a system that supports scalable deployment by enabling multiple HARU instances for larger sequencing workloads.
Experimental results
Research questions
- RQ1Can FPGA-based hardware acceleration achieve real-time sDTW computation for nanopore selective sequencing on low-cost, portable embedded platforms?
- RQ2To what extent can a memory-efficient sDTW design reduce space and time complexity compared to traditional software implementations?
- RQ3How does HARU’s performance and energy efficiency compare to optimized multi-threaded software running on high-end server hardware?
- RQ4What are the practical limitations of deploying HARU on current FPGA platforms, especially regarding reference sequence size and data streaming?
- RQ5Can HARU be extended to support newer nanopore chemistries and other nucleic acid types like RNA or proteins?
Key findings
- HARU achieves 85× speedup over the original unoptimized sDTW software implementation when processing a SARS-CoV-2 dataset on a 36-core Xeon server.
- HARU runs 2.5× faster than a highly optimized multi-threaded software version executing on the same 36-core server.
- Energy consumption of HARU is two orders of magnitude lower than the same application on the 36-core server, with a 650× lower energy-delay product.
- The HARU sDTW accelerator uses less than 20% of the LUT resources on the Xilinx Kria FPGA, leaving room for up to 5 parallel cores for further throughput scaling.
- The system maintains real-time performance with the MinION sequencer’s 450 bases/second data rate, enabling practical on-device selective sequencing.
- The open-source release of HARU (including Verilog core and device driver) and a proof-of-concept integration with sigfish-haru enables reproducibility and extension.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.