BioinformaticsBioinformaticsPeer-reviewed journal article
An accurate and rapid continuous wavelet dynamic time warping algorithm for unbalanced global mapping in nanopore sequencing
Abstract
Long-reads, point-of-care, and PCR-free are the promises brought by nanopore sequencing. Among various steps in nanopore data analysis, the global mapping between the raw electrical current signal sequence and the expected signal sequence from the pore model serves as the key building block to base calling, reads mapping, variant identification, and methylation detection. However, the ultra-long reads of nanopore sequencing and an order of magnitude difference in the sampling speeds of the two sequences make the classical dynamic time warping (DTW) and its variants infeasible to solve the problem. Here, we propose a novel multi-level DTW algorithm, cwDTW, based on continuous wavelet transforms with different scales of the two signal sequences. Our algorithm starts from low-resolution wavelet transforms of the two sequences, such that the transformed sequences are short and have similar sampling rates. Then the peaks and nadirs of the transformed sequences are extracted to form feature sequences with similar lengths, which can be easily mapped by the original DTW. Our algorithm then recursively projects the warping path from a lower-resolution level to a higher-resolution one by building a context-dependent boundary and enabling a constrained search for the warping path in the latter. Comprehensive experiments on two real nanopore datasets on human and on Pandoraea pnomenusa, as well as two benchmark datasets from previous studies, demonstrate the efficiency and effectiveness of the proposed algorithm. In particular, cwDTW can almost always generate warping paths that are very close to the original DTW, which are remarkably more accurate than the state-of-the-art methods including Fast-DTW and PrunedDTW. Meanwhile, on the real nanopore datasets, cwDTW is about 440 times faster than FastDTW and 3000 times faster than the original DTW. Our program is available at https://github.com/realbigws/cwDTW.
- organism: human
- organism: bacteria (other)
- assay: long-read sequencing
- research focus: dimensionality reduction
- research focus: benchmarking
- research focus: variant calling
- research focus: gene regulatory network inference
- approach: statistical model
- approach: matrix factorization
- Citations
- 35
- FWCI
- 1.07
- Field percentile
- top 24%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Novel algorithms for efficient subsequence searching and mapping in nanopore raw signals towards targeted sequencing
Renmin Han, Sheng Wang, Xin Gao·BioinformaticsPeer-reviewed·Oct 1, 2019
- Precise Nanopore Signal Modeling Improves Unsupervised Single-Molecule Methylation Detection
Vladimír Boža, Eduard Batmendijn, … Tomáš Vinař·bioRxiv·Jul 13, 2023
- Accelerated Dynamic Time Warping on GPU forSelective Nanopore Sequencing
Harisankar Sadasivan, Daniel Stiffler, … Satish Narayanasamy·Journal of Biotechnology and BiomedicinePeer-reviewed·Jan 1, 2024
- Continuous, Low Latency Estimation of the Size and Shape of Single Proteins from Real-Time Nanopore Data
Yuanjie Li, Cuifeng Ying, Michael R. Mayer·Analytical ChemistryPeer-reviewed·Dec 31, 2025
- Fast and sensitive mapping of error-prone nanopore sequencing reads with GraphMap
Ivan Sovic, Mile Sikic, … Niranjan Nagarajan·bioRxiv·Jun 10, 2015
- Segmentation of Noisy Signals Generated By a Nanopore
Jacob Schreiber, Kevin Karplus·bioRxiv·Jan 23, 2015