arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.07625cs.DS
收藏

索引加权序列:整洁而有效

Indexing Weighted Sequences: Neat and Efficient

Carl Barton, Tomasz Kociumaka, Chang Liu, Solon P. Pissis, Jakub Radoszewski

摘要:

在\emph{weighted sequence}中,对于序列的每个位置和字母表的每个字母,指定该字母在该位置出现的概率。加权序列通常用于表示不精确或不确定的数据,例如,在分子生物学中,它们以位置权重矩阵的名称而闻名。给定概率阈值$\frac1z$,如果$X$中位置$i,\ldots,i+m-1$处的$P$的字母的概率乘积至少为$\frac1z$,则我们说长度为$m$的字符串$P$出现在加权序列$X$中的位置$i$处。在这篇文章中,我们考虑一个\emph{indexing}变种的问题,在其中,我们要预处理一个加权序列,以回答多个模式匹配查询。我们提出了一个$O(nz)$ -时间结构的$O(nz)$ -大小的索引的加权序列的长度$n$在一个恒定大小的字母表,回答模式匹配查询的最佳,$O(m+Occ)$的时间,其中$Occ$是报告的发生次数。我们的数据结构的基石是一个新的构造家庭的$\lfloor z \rfloor$特殊字符串,携带的信息,发生在加权序列中的所有字符串具有足够的概率。我们获得了一个加权指数,其复杂性与Barton et al.(CPM 2016)之前已知的最有效指数相同,但我们的构造要简单得多。在我们的索引的基本形式所需的最复杂的算法工具是后缀树,我们使用它来开发一个新的,更简单的所谓的属性匹配问题的索引。我们提供了数据结构的实现。我们的构造还使我们能够显著改善Biswas等人提出的加权指数近似变体的复杂性(EDBT 2016),并改善其一般指数的空间复杂性。

英文摘要:

In a \emph{weighted sequence}, for every position of the sequence and every letter of the alphabet a probability of occurrence of this letter at this position is specified. Weighted sequences are commonly used to represent imprecise or uncertain data, for example, in molecular biology where they are known under the name of Position-Weight Matrices. Given a probability threshold $\frac1z$, we say that a string $P$ of length $m$ occurs in a weighted sequence $X$ at position $i$ if the product of probabilities of the letters of $P$ at positions $i,\ldots,i+m-1$ in $X$ is at least $\frac1z$. In this article, we consider an \emph{indexing} variant of the problem, in which we are to preprocess a weighted sequence to answer multiple pattern matching queries. We present an $O(nz)$-time construction of an $O(nz)$-sized index for a weighted sequence of length $n$ over a constant-sized alphabet that answers pattern matching queries in optimal, $O(m+Occ)$ time, where $Occ$ is the number of occurrences reported. The cornerstone of our data structure is a novel construction of a family of $\lfloor z \rfloor$ special strings that carries the information about all the strings that occur in the weighted sequence with a sufficient probability. We obtain a weighted index with the same complexities as in the most efficient previously known index by Barton et al. (CPM 2016), but our construction is significantly simpler. The most complex algorithmic tool required in the basic form of our index is the suffix tree which we use to develop a new, more straightforward index for the so-called property matching problem. We provide an implementation of our data structure. Our construction allows us also to obtain a significant improvement over the complexities of the approximate variant of the weighted index presented by Biswas et al. (EDBT 2016) and an improvement of the space complexity of their general index.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑