BioinformaticsBioinformaticsPeer-reviewed journal article
FastSK: Fast Sequence Analysis with Gapped String Kernels
Derrick Blakely, Eamon Collins, Ritambhara SinghiD, Andrew Norton, Jack LanchantiniD, Yanjun QiiD
Abstract
Gapped k-mer kernels with Support Vector Machines (gkm-SVMs) have achieved strong predictive performance on regulatory DNA sequences on modestly-sized training sets. However, existing gkm-SVM algorithms suffer from slow kernel computation time, as they depend exponentially on the sub-sequence feature-length, number of mismatch positions, and the tasks alphabet size. In this work, we introduce a fast and scalable algorithm for calculating gapped k-mer string kernels. Our method, named FastSK, uses a simplified kernel formulation that decomposes the kernel calculation into a set of independent counting operations over the possible mismatch positions. This simplified decomposition allows us to devise a fast Monte Carlo approximation that rapidly converges. FastSK can scale to much greater feature lengths, allows us to consider more mismatches, and is performant on a variety of sequence analysis tasks. On 10 DNA transcription factor binding site (TFBS) prediction datasets, FastSK consistently matches or outperforms the state-of-the-art gkmSVM-2.0 algorithms in AUC, while achieving average speedups in kernel computation of [~]100x and speedups of [~]800x for large feature lengths. We further show that FastSK outperforms character-level recurrent and convolutional neural networks across all 10 TFBS tasks. We then extend FastSK to 7 English-language medical named entity recognition datasets and 10 protein remote homology detection datasets. FastSK consistently matches or outperforms these baselines. Our algorithm is available as a Python package and as C++ source code1.
- assay: DNA methylation
- assay: whole-genome sequencing
- research focus: differential expression
- research focus: gene regulatory network inference
- research focus: benchmarking
- approach: statistical model
- Citations
- 6
- FWCI
- 0.49
- Field percentile
- top 42%
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
- GaKCo: a Fast GApped k-mer string Kernel using COunting
Ritambhara Singh, Arshdeep Sekhon, … Yanjun Qi·bioRxiv·May 24, 2018
- Probe Efficient Feature Representation of Gapped K-mer Frequency Vectors from Sequences using Deep Neural Networks
Zhen Cao, Shihua Zhang·IEEE Transactions on Computational Biology and BioinformaticsPeer-reviewed·Aug 31, 2018
- Gkmexplain: Fast and Accurate Interpretation of Nonlinear Gapped k-mer Support Vector Machines Using Integrated Gradients
Avanti Shrikumar, Eva Prakash, Anshul Bharat Kundaje·BioinformaticsPeer-reviewed·May 9, 2019
- Accelerating k-mer-based sequence filtering
Igor Martayan, Léa Vandamme, … Antoine Limasset·Peer Community JournalPeer-reviewed·Jun 17, 2026
- Hyper-k-mers: efficient streaming k-mers representation
Igor Martayan, Lucas Robidou, … Antoine Limasset·bioRxiv·Nov 6, 2024
- Kmer-Node2Vec: a Fast and Efficient Method for Kmer Embedding from the Kmer Co-occurrence Graph, with Applications to DNA Sequences
Zhaochong Yu, Zihang Yang, … Yuanzhe Cai·Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)Peer-reviewed·Jul 24, 2023