Fast Average-Case Pattern Matching on Weighted Sequences

被引:2
|
作者
Barton, Carl [1 ]
Liu, Chang [2 ]
Pissisy, Solon P. [2 ]
机构
[1] European Bioinformat Inst, Wellcome Genome Campus, Hinxton, England
[2] Kings Coll London, Dept Informat, London, England
关键词
Pattern matching; weighted strings; uncertain sequences; on-line algorithms; COMPUTATION;
D O I
10.1142/S0129054118430062
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A weighted string is a string in which a set of letters may occur at each position with respective occurrence probabilities. Weighted strings, also known as position weight matrices, weighted sequences or uncertain sequences, naturally arise in many contexts. In this paper, we study the problem of weighted string matching with a special focus on average-case analysis. Given a weighted pattern string x of length m, a text string y of length n > m, both on a constant-sized alphabet of size sigma, and a cumulative weight threshold 1/z, defined as the minimal probability of occurrence of factors in a weighted string, we present an on-line algorithm requiring average-case search time o(n) for pattern matching for weight ratio z/m < min{1/2 log z+1/z, log sigma/log z(log m+log log sigma)}. For a pattern string x of length m, a weighted text string y of length n > m, both on a constant-sized alphabet, and a cumulative weight threshold 1/z, we present an on-line algorithm requiring average-case search time o(n) for the same weight ratio. The importance of these algorithms lies on the fact that, for these ratios, they can work in sublinear search time in the size of the input text, and in linear preprocessing costs in the size of the pattern.
引用
收藏
页码:1331 / 1343
页数:13
相关论文
共 50 条