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 条
  • [21] A fast exact pattern matching algorithm for biological sequences
    Huang, Yong
    Ping, Lingdi
    Pan, Xuezeng
    Cai, Guoyong
    BMEI 2008: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS, VOL 1, 2008, : 8 - +
  • [22] A new fast technique for pattern matching in biological sequences
    Osman Ali Sadek Ibrahim
    Belal A. Hamed
    Tarek Abd El-Hafeez
    The Journal of Supercomputing, 2023, 79 : 367 - 388
  • [23] A Fast Hybrid Pattern Matching Algorithm for Biological Sequences
    Cai, Guoyong
    Nie, Xining
    Huang, Yong
    PROCEEDINGS OF THE 2009 2ND INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS, VOLS 1-4, 2009, : 468 - +
  • [24] A fast pattern matching algorithm for highly similar sequences
    Ben Nsira, Nadia
    Lecroq, Thierry
    Elloumi, Mourad
    2014 IEEE INTERNATIONAL CONFERENCE ON BIOINFORMATICS AND BIOMEDICINE (BIBM), 2014,
  • [25] ESS : A fast algorithm for pattern matching in character sequences
    Ziegler, B.
    Informatik - Forschung und Entwicklung, 1996, 11 (02): : 69 - 83
  • [26] A new fast technique for pattern matching in biological sequences
    Ibrahim, Osman Ali Sadek
    Hamed, Belal A.
    Abd El-Hafeez, Tarek
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (01): : 367 - 388
  • [27] A Fast Improved Pattern Matching Algorithm for Biological Sequences
    Huang, Yong
    Ping, Lingdi
    Pan, Xuezeng
    Jiang, Li
    Jiang, Xiaoning
    PROCEEDINGS OF THE 2008 INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND DESIGN, VOL 2, 2008, : 375 - 378
  • [28] On approximating optimal weighted lobbying, and frequency of correctness versus average-case polynomial time
    Erdelyi, Gabor
    Hemaspaandra, Lane A.
    Rothe, Joerg
    Spakowski, Holger
    FUNDAMENTALS OF COMPUTATION THEORY, PROCEEDINGS, 2007, 4639 : 300 - +
  • [29] Average-case analysis of unification algorithms
    Albert, Luc, 1600, (113):
  • [30] On the average-case complexity of underdetermined functions
    Chashkin, Aleksandr V.
    DISCRETE MATHEMATICS AND APPLICATIONS, 2018, 28 (04): : 201 - 221