Download presentation
Presentation is loading. Please wait.
1
A fast parallel algorithm for finding the longest common sequence of multiple biosequences. Yixin Chen, Andrew Wan, Wei Liu Washington University / Yangzhou University December 2006
2
Biological Review DNA can be represented as sequence of four letters (ACGT). New biosequences every day. Sequence comparison. Find similarities with other sequences already known. Longest Common Subsequence (LCS).
3
Longest Common Subsequence LCS Search a substring that is common and longest to two or more given strings. Searching for the LCS of multiple biosequences is a fundamental task in Bioinformatics. LCS is a special case of global sequence alignment. All algorithms of global sequence alignment can be used to solve LCS.
4
Longest Common Subsequence LCS Algorithms and complexity Dynamic programming. Smith-Waterman algorithm Complexity O(mn). Mayers and Miller Complexity O(m+n). Parallel algorithms. CREW-PRAM
5
Longest Common Subsequence LCS Algorithms and complexity in Multiple sequences What is the problem with those Algorithms? Smith-Waterman: complexity now is exponential. Carrillo and Lipman algorithm. New divide and conquer algorithm DCA.(Stoye) Clustal-W (Feng and Doolittle’s algorithm).
6
FAST_LCS Seeks the successors of initial identical character pairs. Tables Pruning operations FAST_LCS can be extended to find LCS of multiple biosequences. They it implemented using Parallel computing model as well.
7
Initial identical character pair and its successor table Let X and Y be two biosequences, where X i and Y i to { A, C, G, T } Define an Array CH of four CHaracters: CH(1) = A CH(2) = C CH(3) = G CH(4) = T
8
Initial identical character pair and its successor table Build the successor table of identical characters for two strings, Lets call the tables TX for sequence X an TY for sequence Y. The table(s) are defined as follows: TX(i,j) = min { k | k SX (i,j) } SX(i,j) Otherwise Where SX (i,j) = {k | X k = CH(i), k > j } and i = 1,2,3,4 and j = 0,1,…n For example if i = 1 means A
9
Example Let X = “TGCATA” and Y = “ATCTGAT” If X i = Y i = CH(k) then call them an identical pair CH(k) and denote as (i,j). Let (i,j) and (k,l) be two identical characters pairs of X Then: If i < k and j < l they call (i, j) a “predecessor” of (k,l). or (k,l) the a “successor” of (i,j)
10
Successor Table for example Remember the sequence X = “TGCATA” SX(1,0) = k | X k = CH(A), k > 0 then k = {4,6} TX(1,0) = min { 4,6} => TX(1,0) = 4. SX(1,4) = k | X k = CH(A), k > 4 then k = {6} TX(1,4) = 6
11
Example The final Tables are these: SX(1,0) = 4 SX(1,5) = 6 SX(1,1) = 4 SX(1,6) = - SX(1,2) = 4 SX(1,3) = 4 SX(1,4) = 6 TGCATA ”
12
Some definitions If X i =Y i =CH(k) they call them “Identical pair of CH(k)” and it denoted as (i,j). The set of all “Identical pairs” of X is denoted as S(X,Y). If an identical pair (i,j) S(X,Y) and there is not (k,l) S(X,Y) such that (k,l) < (i,j) then they call (i,j) “initial identical pair”
13
Some definitions The level of each pairs is defined as follows:
14
Theorems T1: If the length of LCS of X and Y is denote as |LCS(X,Y)| then |LCS(X,Y)| = max {level(i,j) | (i,j) S(X,Y)} T2: For an identical character pair (i,j) S(X,Y) the operations of producing all its direct successors is as follows:
15
Back to the Example The successors of the pair (2,5) are: (4,6), (3,-), (-,-), (5,7)
16
Example The successors of the pair (2,5) are: (4,6), (5,7)
17
Pruning operations Operation 1 If on the same level, there are two identical character pairs (i,j) and (k,l) and (k,l) > (i,j) then (k,l) can be pruned without to affecting the correctness of the algorithm This operation will remove all the redundant identical pairs
18
Back to the Example The successors of the pair (2,5) were (4,6), (5,7) since they are on the same level and (4,6) > (5,7) The successors of the pair (2,5) is: (4,6)
19
Pruning operations Operation 2 If on the same level, there are two identical character pairs (i 1,j) and (i 2,j) and i 1 < i 2 then (i 2,j) can be pruned without to affecting the correctness of the algorithm
20
Pruning operations Operation 3 If on the same level, there are two identical character pairs (i 1,j), (i 2,j), …,(i r,j) and i 1 < i 2 … < i r then : (i 2,j) … (i r,j) can be pruned
21
FAST_LCS complexity They claim that the complexity of their algorithm is O(L) where L is the number of the identical character pairs of X,Y. When they algorithm is implement using Parallel computing the complexity is O(|LCS(X,Y)|)
22
FAST_LCS and multiple sequences FAST_LCS can be easily extended to the LCS problem of multiple sequences. From the biological point of views is more important to find LCS for multiple sequence.
23
FAST_LCS and multiple sequences Suppose there are n sequence X 1, X 2, …, Xn where X= (X i1, X i2, …, X i,ni ), ni is the length of X i, X ij to { A, C, G, T } and where j = 1,2,3…,n i. The successors tables will be denoted as: TX 1, TX 2,….,TX n Where TX s is a two dimesional array for the sequence X s =(X s1, X s2,… X ns ), s = 1,2,…,n
24
FAST_LCS and multiple sequences Following the same procedure that it is used to find two sequences, in this case start building the successors tables of all the sequences, following:
25
FAST_LCS and multiple sequences Identical character tuple for LCS of multiple sequences. The level of each tuple comes from the following:
26
FAST_LCS and multiple sequences For an Identical character tuple this operation follows: They claim two more Theorems which are basically the extension of T1 and T2 for multiple sequence
27
Example Let n = 3, X 1 = “TGCATA”, X 2 =“ATCTGAT” and X 3 =“CTGATTC” The successors tables are:
28
Example The direct successors of the identical character triple (1,2,2) can be obtained by :
29
Example The successors are : (4,6,4), (3,3,7), (2,5,3), (1,2,2). Then following the algorithm, apply the pruning operations we get (3,3,7), (2,5,3), (1,2,2), etc.
30
FAST_LCS for multiple sequence. complexity The time complexity of most algorithms for multiple sequence LCS depends on the number of sequence. They are not practicable when the number of sequence is large.
31
FAST_LCS for multiple sequence. complexity When FAST_LCS algorithm is implement using Parallel computing the complexity is O(|LCS(X 1, X 2,… X n )|). It complexity is “Independent of the number of sequences n”
32
Sequential computation on two sequences
33
Sequential computation on multiple sequences
34
Sequential computation on using parallel computing
35
Conclusion The precision of FAST_LCS is higher than FASTA and faster than S-W algo for computation on two sequences FAST_LCS is faster than other algorithms that compute LCS for multiple sequences, like CLUSTAL-W. FAST_LCS could be implemented using Parallel computation.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.