Efficient and accurate P-value computation for Position Weight Matrices
Open Access
- 11 December 2007
- journal article
- research article
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 2 (1) , 1-12
Abstract
Position Weight Matrices (PWMs) are probabilistic representations of signals in sequences. They are widely used to model approximate patterns in DNA or in protein sequences. The usage of PWMs needs as a prerequisite to knowing the statistical significance of a word according to its score. This is done by defining the P-value of a score, which is the probability that the background model can achieve a score larger than or equal to the observed value. This gives rise to the following problem: Given a P-value, find the corresponding score threshold. Existing methods rely on dynamic programming or probability generating functions. For many examples of PWMs, they fail to give accurate results in a reasonable amount of time. The contribution of this paper is two fold. First, we study the theoretical complexity of the problem, and we prove that it is NP-hard. Then, we describe a novel algorithm that solves the P-value problem efficiently. The main idea is to use a series of discretized score distributions that improves the final result step by step until some convergence criterion is met. Moreover, the algorithm is capable of calculating the exact P-value without any error, even for matrices with non-integer coefficient values. The same approach is also used to devise an accurate algorithm for the reverse problem: finding the P-value for a given score. Both methods are implemented in a software called TFM-PVALUE, that is freely available. We have tested TFM-PVALUE on a large set of PWMs representing transcription factor binding sites. Experimental results show that it achieves better performance in terms of computational time and precision than existing tools.Keywords
This publication has 18 references indexed in Scilit:
- Computing exactP-values for DNA motifsBioinformatics, 2007
- Calculating PSSM probabilities with lazy dynamic programmingJournal of Functional Programming, 2005
- Efficient Exact p -Value Computation for Small Sample, Sparse, and Surprising Categorical DataJournal of Computational Biology, 2004
- WebLogo: A Sequence Logo Generator: Figure 1Genome Research, 2004
- JASPAR: an open-access database for eukaryotic transcription factor binding profilesNucleic Acids Research, 2004
- Determination of Local Statistical Significance of Patterns in Markov Sequences with Application to Promoter Element IdentificationJournal of Computational Biology, 2004
- TRANSFAC: an integrated system for gene expression regulationNucleic Acids Research, 2000
- The statistical significance of nucleotide position-weight matrix matchesBioinformatics, 1996
- Methods for calculating the probabilities of finding patterns in sequencesBioinformatics, 1989
- A catalogue of splice junction sequencesNucleic Acids Research, 1982