Presentation is loading. Please wait.

Presentation is loading. Please wait.

An efficient algorithm for optimizing whole genome alignment with noise P. Wong, T. Lam, N. Lu, H. Ting, and S. Yiu Department of Computer Science, University.

Similar presentations


Presentation on theme: "An efficient algorithm for optimizing whole genome alignment with noise P. Wong, T. Lam, N. Lu, H. Ting, and S. Yiu Department of Computer Science, University."— Presentation transcript:

1 An efficient algorithm for optimizing whole genome alignment with noise P. Wong, T. Lam, N. Lu, H. Ting, and S. Yiu Department of Computer Science, University of Hong Kong Presented by Hyun-Chul Chung

2 Outline Introduction The optimization problem The MaxMinCluster algorithm Finding the k-noisy clusters Homework

3 Introduction (1) Aligning whole genomes of two related species so as to identify regions that possibly contain conserved genes. Conserved genes –Genes that have the same functionality among species. –Usually corresponds to a sequence of matched substrings that are consecutive and close to both genomes and have sufficient length. –Let’s call this sequence a cluster

4 Introduction (2) Conserved Genes (cont’d) –Not every pair of matched substrings correspond to a conserved gene; most of them are noise.

5 Introduction (3) Relaxing the definition of cluster to allow noise –k-noisy cluster Avoid reporting relatively small clusters We investigate the optimization problem of finding an alignment that maximizes the size of the smallest cluster.

6 The Optimization Problem Input is a sequence M=(m 1,m 2,…,m n ) m i : uniquely matched substrings on two genomes A and B – (a i, b i, l i,  i ) a i and b i : starting positions on A and B, respectively l i : length of the substring  i : 1 if m i is of same orientation; -1 if m i is of opposite orientation –Assume a 1 < a 2 < … < a n

7 Noisy Clusters –(m i,m i+1,…,m i+t ) : segment of M –A segment is a k-noisy cluster (denoted by C) if we can remove at most k elements from the segment, denoted by X, s.t. the resulting subsequence S satisfies the following conditions: Same orientation of all matched substrings in S If  i =1, b i ’s of S increase; otherwise decrease For any two consecutive elements m p and m q in S, |a p -a q |  Gap and |b p -b q |  Gap (distance requirement) Size(S) defined to be, is at least MinSize (size requirement)

8 Alignment –Maximal collection of disjoint k-noisy clusters (denote this as A) Max-Min alignment problem –Among all Xs that makes C qualified as a k- noisy cluster, let X o be the one with the smallest size –Define w(C), the weight of C, to be Size(C-X o ) –We want to find an optimal alignment A * of M s.t. –  : set of all possible alignments of M

9 The MaxMinCluster Algorithm Let  j be the set of all possible k-noisy clusters whose elements are in (m 1,m 2,…,m j ) Let  j the set of all alignments in  j Define Let  j   j where each  j has a k-noisy cluster containing m j Define

10 Let S j be the set of the starting positions of all segments which end at position j and which form a k-noisy cluster Let i * be the largest position in S j Let h be the the largest index of the matched substring pair in some alignment A   j -  j Proposition 1. –Assume that W(0)=WI(0)=WE(0)=0. –Then for any j  1,

11 In Step 3, for each iteration,WI(j) & WE(j) takes O(j) time and W(j) takes O(1) time. So, step 3 takes O(n 2 ) time.

12 Finding the k-noisy clusters A set H  M ij is said to be a set of noise in M ij if M ij -H satisfies the requirements of a noisy cluster. Let N ij + (N ij -, respectively) be the set of noise in M ij s.t. all elements in M ij -H have orientation of 1 (-1, respectively). Proposition 2. –M ij is a k-noisy cluster iff the following expression is at least MinSize

13 Define for all 1  i  j  n and 0  x  k, Then where for any i,j < 1 and x < 0,

14 Let P be the set of matched substring pairs m p =(a p,b p,l p ) s.t. the following holds: –m p is of same orientation –max(i, j-x-1)  p  j-1 –b p < b j –m p and m j satisfy the distance requirement If  X s.t. |X|  x-(j-p-1) and M ip -X is a noisy cluster then M ij -X’ is also a noisy cluster where X’=(m p+1, m p+2,…,m j-1 )  X

15 Proposition 3. Time complexity : O(k 2 n 2 ) Space complexity : O(kn 2 ) Space complexity can be reduced to O(k 2 n)?

16 Homework #6 Given M=(m 1,m 2,…,m n ) where m i indicates uniquely matched substrings on two genomes A and B, design your own algorithm to find all k-noisy clusters in M. Analyze the time complexity (explain how you obtained the time bound). email : holyboy@tamu.edu


Download ppt "An efficient algorithm for optimizing whole genome alignment with noise P. Wong, T. Lam, N. Lu, H. Ting, and S. Yiu Department of Computer Science, University."

Similar presentations


Ads by Google