Problemcore
Planted motif problem
Also called planted (l; d)-motif problem.
Recover a hidden string of length l from random background sequences, when a copy of it with at most d mismatches was planted in each sequence.
The planted motif problem is a test form of motif finding in which the answer is known. A hidden string of length is chosen, and a copy of with at most changed letters is put into each of random sequences. The task is to find from the sequences alone. Pevzner and Sze posed the case , as a challenge in 2000, because the methods of that time failed on it. The decision form of the problem is NP-complete.
In plain words
Someone writes a secret word of 15 letters. They make 20 random DNA strings of 600 letters each. Into each string they copy the word, but before each copy they change 4 of its letters, at random places. So no two copies are the same, and none is equal to the secret word.
You get the 20 strings and the numbers 15 and 4, and you must find the secret word. The hard part is that two copies can differ in up to 8 letters, while many pairs of random pieces of the strings are just as close as that by chance. A method that compares the pieces two at a time sees millions of false matches for each true one.
Definition
The literature writes for the motif length; this page writes , as the other motif pages do. Positions are 1-based on this page.
The model. Fix , , and . Each background sequence has letters drawn independently and uniformly from . A motif of length is drawn uniformly. For each , an instance with replaces the window of that starts at a position , . Here is the Hamming distance. In the model of Pevzner and Sze each instance has exactly changes: positions are picked at random, and each picked letter becomes one of the other three letters at random.
An motif of the sequences is a string of length such that every has a window with . The planted motif is one of them.
The search problem. Given , and , find the planted motif and the positions .
The decision problem. Given strings and integers and , does an motif exist? This is the decision form of the closest substring problem, with no assumption on how the strings were made.
Variants
- At most or exactly changes. The search for motifs is the same in both; only the statistics of the instances differ.
- Sites in only some sequences. In real data a factor may not bind every sequence. A quorum version asks for a string with a match in at least of the sequences.
- Edit distance. Insertions and deletions in the instances give the edited motif problem; the methods on this page do not handle it.
- All motifs. Exact methods list every motif. The output can then hold the planted one and spurious ones, as below.
Examples
A small case. With a fixed seed, the test generator of these pages plants = AATTA (, ) in sequences of length :
| instance | ||||
|---|---|---|---|---|
| 1 | TCGAATCACAAC | 4 | AATCA | 1 |
| 2 | CTAGTTACTCTT | 3 | AGTTA | 1 |
| 3 | GCTAGATTACGT | 5 | GATTA | 1 |
| 4 | AACTAGTGGGAC | 1 | AACTA | 1 |
A check of all strings finds that AATTA is the only motif of these four sequences. No instance equals , and two instances can differ in 2 letters: AATCA and AGTTA differ at positions 2 and 4.
The challenge. Pevzner and Sze used , , and . Their Table 1 (a measurement, on 8 random samples) gives the average performance coefficient , where is the set of planted letter positions and is the set of predicted ones: CONSENSUS 0.07, GibbsDNA 0.12, MEME 0.10, WINNOWER 0.92 and SP-STAR 0.84.
Known algorithms
| method | type | time | source |
|---|---|---|---|
| pattern enumeration: test each of the strings | exact | folklore; see median string | |
| neighborhood enumeration: test each string within of a window of | exact | folklore | |
| branch and bound on the string tree | exact | worst case | Jones and Pevzner 2004 |
| WINNOWER: filter a graph of windows to its -cliques | exact on the graph, heuristic filter | polynomial per round | Pevzner and Sze 2000 |
| SP-STAR: local improvement of star-shaped sets of windows | heuristic | polynomial per round | Pevzner and Sze 2000 |
| PROJECTION: hash on random positions, then EM | randomized heuristic | depends on the trials | Buhler and Tompa 2002 |
Here is the number of strings within distance of a fixed string. The second method is right because is within of the instance in , so is in the neighborhood of some window of . For , , so it tests strings, against for the first method.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| Random projection motif finding | O(m (n W k + B I n W L)) worst | O(n W + L) extra | randomizednot exactofflineiterative | 1 language |
| WINNOWER | O(n^2 W^2 L + E^2 n W + W^n) worst | O(n W + E) extra | deterministicnot exactofflinerecursive | 1 language |
Bounds
Theorem. The decision problem is NP-complete.
Proof. It is in NP: a string and one window in each sequence are a certificate, and the check takes time. For hardness, reduce from the closest string problem over the binary alphabet: given binary strings of length and an integer , is there a binary with for all ? Frances and Litman (1997) proved it NP-complete. Write each over with and , and take , so each sequence has one window, itself. A binary center gives an motif at once. Conversely, let be an motif over . Change every G or T of into A. At such a position every had a mismatch, since holds A or C there, and after the change only the strings with C mismatch. So no distance grows, and the new is a center over . The reduction takes linear time.
- Parameterized. Closest substring is W[1]-hard with the number of strings as the parameter, also over a binary alphabet (Fellows, Gramm and Niedermeier 2006). So an algorithm with time is not expected; see the W hierarchy. For a fixed the enumeration above is polynomial.
- Approximation. Li, Ma and Wang (2002) give polynomial-time approximation schemes for closest string and closest substring: a center within of a window of every sequence.
Theorem (the distance of two instances). In the model with exactly changes, two instances and of the same motif have .
Proof. Each instance changes a uniform random set of positions, so a fixed position is in both sets with probability , and the expected number of shared positions is . A position changed in one instance only is a mismatch. There are of them on average. A position changed in both is a mismatch unless both picked the same of the three other letters, which has probability . So the expected distance is .
For this is . Two random 15-mers are within distance 8 with probability about 0.0566. With 20 sequences of 600 letters there are pairs of windows from different sequences, so about random pairs are as close as the worst pair of instances, against pairs of instances. This is the ratio of about 20,000 to 1 that Pevzner and Sze give.
How many spurious motifs (a heuristic). A fixed string is within of a random window with probability . If the windows were independent, a sequence would hold a match with probability , and the expected number of motifs made by chance would be . For and :
| match in one sequence | expected spurious motifs | |||
|---|---|---|---|---|
| (15, 4) | 123,841 | 0.065 | ||
| (14, 4) | 91,771 | 0.182 | ||
| (16, 5) | 1,225,093 | 0.154 | ||
| (18, 6) | 15,886,504 | 0.126 | ||
| (9, 2) | 352 | 0.549 | 1.6 |
So the motif is the only one with high probability, and the problem is well posed. In the harder cases of Buhler and Tompa, , and , background windows are close to the motif more often, but a unique answer is still expected. For with these sizes, chance alone gives an motif, and no method can tell the planted one from the others.
Reductions
- To motif finding. An motif with its windows is a choice of sites whose largest distance to a center is at most , so its total distance score is at most . The motif finding methods with the total score can find it, but a choice with a small total score need not have a small largest distance.
- To cliques. Make a graph with one vertex for each window and an edge between windows of different sequences at distance at most . The instances of a planted motif are pairwise within by the triangle inequality, so they form an -clique in an -partite graph. WINNOWER uses this view; finding a largest clique is the clique problem.
- From closest string. The NP-completeness proof above.
Applications
- Benchmarks. The model gives inputs with a known answer, so the success rate of a method can be measured. Many motif finding papers after 2000 report results on and harder cases.
- Design of methods. The analysis of two instances showed why methods that start from pairs of similar windows fail on subtle signals, and led to WINNOWER, PROJECTION and the exact enumeration methods.
- Real binding sites. Real sites are not planted uniformly and the background is not uniform, so success on planted data is a necessary test, not proof of success on promoters.
References
- Pavel A. Pevzner and Sing-Hoi Sze, Combinatorial approaches to finding subtle signals in DNA sequences, 2000, pp. 269 to 278, the planted (l, d) motif problem, the (15, 4) challenge, the expected distance of two instances and the comparison of CONSENSUS, GibbsDNA, MEME, WINNOWER and SP-STAR
- Jeremy Buhler and Martin Tompa, Finding motifs using random projections, Journal of Computational Biology 9(2), 2002, pp. 225 to 242, the planted motif model and the harder (14, 4), (16, 5) and (18, 6) cases
- Moti Frances and Ami Litman, On covering problems of codes, Theory of Computing Systems 30(2), 1997, pp. 113 to 119, NP-completeness of the radius of a binary code (the closest string problem)
- Michael R. Fellows, Jens Gramm and Rolf Niedermeier, On the parameterized intractability of motif search problems, Combinatorica 26(2), 2006, pp. 141 to 167, W[1]-hardness of closest substring in the number of strings, also for a binary alphabet
- Ming Li, Bin Ma and Lusheng Wang, On the closest string and substring problems, Journal of the ACM 49(2), 2002, pp. 157 to 171, polynomial-time approximation schemes for closest string and closest substring
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag R51XFJ Edit this page History Report an error Markdown