From: The difficulty of protein structure alignment under the RMSD
Input: | sequences P = (p1,…,p n ), Q = (q1,…,q m ) and . |
Without loss of generality assume m ≥ n. | |
Output: | (i) subsequences P′ ⊆ P, Q′ ⊆ Q, |P′| = |Q′|, and |
(ii) mapping f:P′ ↦ Q′, fulfilling the following conditions: | |
(A) |P′| = ℓ, | |
(B) d = RMSD(P′,f(p′)) is minimized. | |
1. | l ← 0, u ← ℓ c max |
2. | m ← 1/2(l + u) |
3. | Call LCP to solve the instance (P,Q,m). |
4. | If the LCP solution has size no less than ℓ |
u ← m | |
else | |
l ← m | |
5. | If , |
Output the most recent LCP solution of size no less than ℓ. | |
Otherwise, repeat Steps 2-5. |