Download presentation
Presentation is loading. Please wait.
Published byDebra Ross Modified over 8 years ago
1
Space-Saving Strategies for Analyzing Biomolecular Sequences Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan URL: http://www.csie.ntu.edu.tw/~kmchao
2
2 Linear-space ideas Hirschberg, 1975; Myers and Miller, 1988 m/2 Partition line
3
3 Mid-partition-points S - (m/2, j): the best score of a path from (0, 0) to (m/2, j). S + (m/2, j): the best score of a path from (m/2, j) to (m, n). Select the point that maximizes S - (m/2, j) + S + (m/2, j) S - S + The middle row m/2
4
4 Consider the case where the penalty for a gap is merely proportional to the gap’s length, i.e., k x β for a k-symbol gap.
5
5
6
6
7
7
8
8
9
9 Two subproblems ½ original problem size m/2 m/4 3m/4
10
10 Four subproblems ¼ original problem size m/2 m/4 3m/4
11
11 Time and Space Complexity Space: O(m+n) Time: O(mn)*(1+ ½ + ¼ + …) = O(mn) 2
12
Local Alignment 12 1.Finding two end-points in linear space 2.Applying Hirschberg’s approach
13
Find two end-points in linear space (Recording the start-end pairs) 13 The best end
14
Find two end-points in linear space (Backtracking from the end) 14 The best end
15
15 Band Alignment (Joint work with W. Pearson and W. Miller) Sequence B Sequence A
16
16 Band Alignment in Linear Space The remaining subproblems are no longer only half of the original problem. In worst case, this could cause an additional log n factor in time. O(nW)*(1+1+…+1) =O(nW log n) O(log n) W
17
17 Band Alignment in Linear Space
18
18 Parallelogram
19
19 Parallelogram
20
20 Yet another partition line Band width W
21
21 Yet another partition line O(N)O(N)
22
22 Arbitrary region
23
23 Arbitrary region
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.