Faster algorithms for 1-mappability of a sequence
Data Structures and Algorithms
2017-05-12 v1
Abstract
In the k-mappability problem, we are given a string x of length n and integers m and k, and we are asked to count, for each length-m factor y of x, the number of other factors of length m of x that are at Hamming distance at most k from y. We focus here on the version of the problem where k = 1. The fastest known algorithm for k = 1 requires time O(mn log n/ log log n) and space O(n). We present two algorithms that require worst-case time O(mn) and O(n log^2 n), respectively, and space O(n), thus greatly improving the state of the art. Moreover, we present an algorithm that requires average-case time and space O(n) for integer alphabets if m = {\Omega}(log n/ log {\sigma}), where {\sigma} is the alphabet size.
Cite
@article{arxiv.1705.04022,
title = {Faster algorithms for 1-mappability of a sequence},
author = {Mai Alzamel and Panagiotis Charalampopoulos and Costas S. Iliopoulos and Solon P. Pissis and Jakub Radoszewski and Wing-Kin Sung},
journal= {arXiv preprint arXiv:1705.04022},
year = {2017}
}