Approximate matching in weighted sequences

Amihood Amir, Costas Iliopoulos, Oren Kapah, Ely Porat

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

18 Scopus citations

Abstract

Weighted sequences have been recently introduced as a tool to handle a set of sequences that are not identical but have many local similarities, The weighted sequence is a "statistical image" of this set, where the probability of every symbol's occurrence at every text location is given. We address the problem of approximately matching a pattern in such a weighted sequence. The pattern is a given string and we seek all locations in the set where the pattern occurs with a high enough probability. We define the notion of Hamming distance and edit distance in weighted sequences and give efficient algorithms for computing them. We compute two versions of the Hamming distance in time O(n√m log m), where n is the length of the weighted text and m is the pattern length. The edit distance is computed in time O(nm) and O(nm 2), depending on the edit distance definition used. Unfortunately, due to space considerations, the edit distance details are left to the journal version. We also define the notion of weighted matching in infinite alphabets and show that exact weighted matching can be computed in time O(s log 2 s), where s is the number of text symbols having non-zero probability. The weighted Hamming distance over infinite alphabets can be computed in time min(O(kn√s + s3/2log2s),O(s 4/3m1/3log s)).

Original languageEnglish
Title of host publicationCombinatorial Pattern Matching - 17th Annual Symposium, CPM 2006, Proceedings
PublisherSpringer Verlag
Pages365-376
Number of pages12
ISBN (Print)3540354557, 9783540354550
DOIs
StatePublished - 2006
Event17th Annual Symposium on Combinatorial Pattern Matching, CPM 2006 - Barcelona, Spain
Duration: 5 Jul 20067 Jul 2006

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4009 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference17th Annual Symposium on Combinatorial Pattern Matching, CPM 2006
Country/TerritorySpain
CityBarcelona
Period5/07/067/07/06

Fingerprint

Dive into the research topics of 'Approximate matching in weighted sequences'. Together they form a unique fingerprint.

Cite this