Optimal Computation of Avoided Words

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

1 Citation (Scopus)
153 Downloads (Pure)

Abstract

The deviation of the observed frequency of a word w from its expected frequency in a given sequence x is used to determine whether or not the word is avoided. This concept is particularly useful in DNA linguistic analysis. The value of the standard deviation of w, denoted by std(w), effectively characterises the extent of a word by its edge contrast in the context in which it occurs. A word w of length k>2 is a ρ-avoided word in x if std(w)≤ρ, for a given threshold ρ<0. Notice that such a word may be completely absent from x. Hence computing all such words naïvely can be a very time-consuming procedure, in particular for large k. In this article, we propose an O(n)-time and O(n)-space algorithm to compute all ρ-avoided words of length k in a given sequence x of length n over a fixed-sized alphabet. We also present a time-optimal O(σn)-time algorithm to compute all ρ-avoided words (of any length) in a sequence of length n over an integer alphabet of size σ. We provide a tight asymptotic upper bound for the number of ρ-avoided words over an integer alphabet and the expected length of the longest one. We make available an implementation of our algorithm. Experimental results, using both real and synthetic data, show the efficiency of our implementation.
Original languageEnglish
Title of host publicationAlgorithms in Bioinformatics
Subtitle of host publication16th International Workshop, WABI 2016, Aarhus, Denmark, August 22-24, 2016. Proceedings
EditorsMartin Frith, Nørgaard Christian Storm Pedersen
PublisherSpringer International Publishing Switzerland
Pages1-13
Number of pages13
ISBN (Electronic)978-3-319-43681-4
ISBN (Print)978-3-319-43680-7
DOIs
Publication statusPublished - 6 Aug 2016

Publication series

NameLecture Notes in Computer Science
PublisherSpringer
Volume9838
ISSN (Print)0302-9743

Fingerprint

Dive into the research topics of 'Optimal Computation of Avoided Words'. Together they form a unique fingerprint.

Cite this