Analysis of pattern overlaps and exact computation of P-values of pattern occurrences numbers: case of Hidden Markov Models
Open Access
- 16 December 2014
- journal article
- research article
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 9 (1) , 25
Abstract
Finding new functional fragments in biological sequences is a challenging problem. Methods addressing this problem commonly search for clusters of pattern occurrences that are statistically significant. A measure of statistical significance is the P-value of a number of pattern occurrences, i.e. the probability to find at least S occurrences of words from a pattern in a random text of length N generated according to a given probability model. All words of the pattern are supposed to be of same length. We present a novel algorithm SufPref that computes an exact P-value for Hidden Markov models (HMM). The algorithm is based on recursive equations on text sets related to pattern occurrences; the equations can be used for any probability model. The algorithm inductively traverses a specific data structure, an overlap graph. The nodes of the graph are associated with the overlaps of words from . The edges are associated to the prefix and suffix relations between overlaps. An originality of our data structure is that pattern need not be explicitly represented in nodes or leaves. The algorithm relies on the Cartesian product of the overlap graph and the graph of HMM states; this approach is analogous to the automaton approach from JBCB 4: 553-569. The gain in size of SufPref data structure leads to significant improvements in space and time complexity compared to existent algorithms. The algorithm SufPref was implemented as a C++ program; the program can be used both as Web-server and a stand alone program for Linux and Windows. The program interface admits special formats to describe probability models of various types (HMM, Bernoulli, Markov); a pattern can be described with a list of words, a PSSM, a degenerate pattern or a word and a number of mismatches. It is available at http://server2.lpm.org.ru/bio/online/sf/ . The program was applied to compare sensitivity and specificity of methods for TFBS prediction based on P-values computed for Bernoulli models, Markov models of orders one and two and HMMs. The experiments show that the methods have approximately the same qualities.Keywords
This publication has 48 references indexed in Scilit:
- HOCOMOCO: a comprehensive collection of human transcription factor binding sites modelsNucleic Acids Research, 2012
- An integrated encyclopedia of DNA elements in the human genomeNature, 2012
- Computation of the probabilities of families of biological sequencesBiophysics, 2009
- Exact p-value calculation for heterotypic clusters of regulatory motifs and its application in computational annotation of cis-regulatory modulesAlgorithms for Molecular Biology, 2007
- Numerical Solutions for Patterns Statistics on Markov ChainsStatistical Applications in Genetics and Molecular Biology, 2006
- Assessing computational tools for the discovery of transcription factor binding sitesNature Biotechnology, 2005
- Waiting time and complexity for matching patterns with automataInformation Processing Letters, 2003
- Motif statisticsTheoretical Computer Science, 2002
- The Distribution of Subword Counts is Usually NormalEuropean Journal of Combinatorics, 1993
- A tutorial on hidden Markov models and selected applications in speech recognitionProceedings of the IEEE, 1989