GaKCo: a Fast GApped k-mer string Kernel using COunting
Authors:
Preprint
Abstract
String Kernel (SK) techniques, especially those using gapped $k$-mers as features (gk), have obtained great success in classifying sequences like DNA, protein, and text. However, the state-of-the-art gk-SK runs extremely slow when we increase the dictionary size ($\Sigma$) or allow more mismatches ($M$). This is because current gk-SK uses a trie-based algorithm to calculate co-occurrence of mismatched substrings resulting in a time cost proportional to $O(\Sigma^{M})$. We propose a \textbf{fast} algorithm for calculating \underline{Ga}pped $k$-mer \underline{K}ernel using \underline{Co}unting (GaKCo). GaKCo uses associative arrays to calculate the co-occurrence of substrings using cumulative counting. This algorithm is fast, scalable to larger $\Sigma$ and $M$, and naturally parallelizable. We provide a rigorous asymptotic analysis that compares GaKCo with the state-of-the-art gk-SK. Theoretically, the time cost of GaKCo is independent of the $\Sigma^{M}$ term that slows down the trie-based approach. Experimentally, we observe that GaKCo achieves the same accuracy as the state-of-the-art and outperforms its speed by factors of 2, 100, and 4, on classifying sequences of DNA (5 datasets), protein (12 datasets), and character-based English text (2 datasets), respectively. GaKCo is shared as an open source tool at \url{https://github.com/QData/GaKCo-SVM}
Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- DEEP MOTIF DASHBOARD: VISUALIZING AND UNDERSTANDING GENOMIC SEQUENCES USING DEEP NEURAL NETWORKS2016
- Predicting the sequence specificities of DNA- and RNA-binding proteins by deep learningNature Biotechnology, 2015
- SeqGL Identifies Context-Dependent Binding Signals in Genome-Wide Regulatory Element MapsPLOS Computational Biology, 2015
- Improved Transition-based Parsing by Modeling Characters instead of Words with LSTMs2015
- Enhanced Regulatory Sequence Prediction Using Gapped k-mer FeaturesPLOS Computational Biology, 2014
- Sequence and chromatin determinants of cell-type–specific transcription factor bindingGenome Research, 2012
- A Unified Multitask Architecture for Predicting Local Protein PropertiesPLOS ONE, 2012
- Aggressive assembly of pyrosequencing reads with matesBioinformatics, 2008
- PROFILE-BASED STRING KERNELS FOR REMOTE HOMOLOGY DETECTION AND MOTIF EXTRACTIONJournal of Bioinformatics and Computational Biology, 2005
- A Discriminative Framework for Detecting Remote Protein HomologiesJournal of Computational Biology, 2000