Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Physical Mapping --An Algorithm and An Approximation for Hybridization Mapping Shi Chen CSE497 04Mar2004.

Similar presentations


Presentation on theme: "1 Physical Mapping --An Algorithm and An Approximation for Hybridization Mapping Shi Chen CSE497 04Mar2004."— Presentation transcript:

1 1 Physical Mapping --An Algorithm and An Approximation for Hybridization Mapping Shi Chen CSE497 04Mar2004

2 2 Introduction Why physical mapping? -Physical mapping is a central in Molecular Biology. -DNA is cut into small fragments for replicate and study, and information on the ordering is lost. -The goal of physical mapping is to reconstruct the relative ordering of the clones.

3 3 Introduction Two Popular ways of obtaining fingerprints: - Restriction site analysis. Measure fragment ’ s length which is its fingerprint. - Hybridization. Check whether a small sequence known as a probe binds or hybridizes to the clone which is DNA fragment. Most often a probe is a STS (sequence tagged sites) – DNA string of 200-300 bp whose ends occur only once in the entire genome.

4 4 Models for Hybridization Mapping -Interval Graph Models: Vertices represent clones and edges represent overlap information between clones. -Disadvantage: complexity NP-hard.

5 5 Models for Hybridization Mapping-C1P definition Definition: A binary matrix is said to have the consecutive ones property (C1P) if a permutation of its columns can be found such that all 1s in each row are consecutive. ABCD 11001 20101 31010 CADB 10110 20011 31100

6 6 Models for Hybridization Mapping – C1P Assumptions for Consecutive Ones Property (C1P) Model : a. Probes are unique – a probe can bind to a clone in at most one place – use STS (sequence tagged sites); b. No errors – (C1P permutation exists); c. All “ clones*probes ” hybridization experiments have been done – difficult to achieve. Advantage: Polynomial-time solvable.

7 7 Models for Hybridization Mapping – C1P model n clones and m probes n * m binary matrix M built from experimental data M ij = 1 probe j hybridized to clone i M ij = 0 probe j not hybridized to clone i c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 c8c8 c9c9 l1l1 110110101 l2l2 011111111 l3l3 010110101 l4l4 001000010 l5l5 001001000 l6l6 000100100 l7l7 010000100 l8l8 000110001

8 8 Algorithm for C1P - Introduction Goal – Find a permutation of the columns such that in each row all 1s are consecutive. Assumptions: All rows are different, i.e. no two clones have the same fingerprint. No row is all zeros, i.e. every clone is hybridized by at least one probe.

9 9 Algorithm for C1P – Algorithm sketch Separation of the rows into components (subsets of rows). Permutation of the columns of each component. Join of the components together.

10 10 Algorithm for C1P – Row relations Definition:  row i  S i ={columns k | M i,k =1} Given two rows i and j: 1.S i  S j =  or 2.S i  S j or S j  S i or 3.S i  S j   and none is a subset of the other. First case: i and j have no conflicts - they can be dealt with separately. Second case: i and j are compatible - any solution for the row with fewer 1s is acceptable. Third case: i and j have to be treated simultaneously - they are connected.

11 11 Algorithm for C1P – Taking care of a component α β γ δ Figure 5.7 Graph Gc corresponding to the matrix of Table 5.1 l4l4 l5l5 l3l3 l2l2 l1l1 c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 c8c8 c9c9 l1l1 110110101 l2l2 011111111 l3l3 010110101 l4l4 001000010 l5l5 001001000 l6l6 000100100 l7l7 010000100 l8l8 000110001 TABLE 5.1 A binary matrix. l8l8 l6l6 l7l7

12 12 Algorithm for C1P – Example Matrix c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 c8c8 l1l1 01000011 l2l2 01001010 l3l3 10010011 A section of a binary matrix l 2 → … 0 1 1 1 0 0 … {2,7,8} {2,7,8}{2,7,8} l 1 → … 0 1 1 1 0 … {5} {2,7} {2,7} {8} l 1 → … 0 0 1 1 1 0 … l1l1 l2l2 l3l3

13 13 Algorithm for C1P – Example Matrix What will happen if we place 5 on the right? {8} {7,2} {7,2} {5} l 1 → … 0 1 1 1 0 0 … l 2 → … 0 0 1 1 1 0 … c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 c8c8 l1l1 01000011 l2l2 01001010 l3l3 10010011 l1l1 l2l2 l3l3

14 14 Algorithm for C1P – Example Matrix How to place l 3 ? Consider the number of elements in the intersections between S 1, S 2 and S 3. Definition: Let x*y = |S x ∩S y | be the internal product of rows x and y. -If l 1 *l 3 < min(l 1 *l 2, l 2 *l 3 ), place l 3 in the same direction that l 2 was placed with respect to l 1. -If l 1 *l 3 > min(l 1 *l 2, l 2 *l 3 ), place l 3 in the opposite direction that l 2 was placed with respect to l 1. c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 c8c8 l1l1 01000011 l2l2 01001010 l3l3 10010011 l1l1 l2l2 l3l3

15 15 Algorithm for C1P – Example Matrix In our case: S3 = {1,4,7,8}, Then l 1 *l 3 = 2, l 1 *l 2 = 2, l 3 *l 2 = 1. So, place l 3 to the right of l 2. {5}{2}{7}{8}{1,4}{1,4} l 1 → … 0 0 1 1 1 0 0 0 … l 2 → … 0 1 1 1 0 0 0 0 … l 3 → … 0 0 0 1 1 1 1 0 … c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 c8c8 l1l1 01000011 l2l2 01001010 l3l3 10010011 l1l1 l2l2 l3l3

16 16 Algorithm for C1P – Complexity Building Graph Gc takes O(nm) time. Process n rows, spending O(m) per row to check consistency of column sets. Total time is O(nm).

17 17 Algorithm for C1P – Joining Components Together β Figure 5.9 Graph G M corresponding to the components of the matrix from Table 5.1. α δ γ c1c1 c2c2 c3c3 c4c4 c5c5 c6c6 c7c7 c8c8 c9c9 l1l1 110110101 l2l2 011111111 l3l3 010110101 l4l4 001000010 l5l5 001001000 l6l6 000100100 l7l7 010000100 l8l8 000110001 TABLE 5.1 A binary matrix.

18 18 Algorithm for C1P – Joining Components Together Process G M in topological ordering: -Process first components that have sets that are not contained anywhere else. -Suppose following edge (α,β), find “ reference column ” in component αthat will tell us how to place the rows of β. a. Choose row l fromβthat has the leftmost 1, and call the column where this 1 is c β. b. Find all rows fromαthat contain S l, and find the leftmost column where all such rows have 1s, this column c α is the reference column.

19 19 Algorithm for C1P – Joining Components Together {1} {2,4,5,7,9} {3,6,8} l 1 → … 1 1 1 1 1 0 0 0 … l 2 → … 0 1 1 1 1 1 1 1 … {2,4,5,7,9} l 3 → … 1 1 1 1 1 … {1} {2,4,5,7,9} {3,6,8} l 1 → … 1 1 1 1 1 1 0 0 0 … l 2 → … 0 1 1 1 1 1 1 1 1 … l 3 → … 0 1 1 1 1 1 0 0 0 … α β

20 20 Algorithm for C1P – Joining Components Together {9,5} {4} {7} {2} l 6 → … 0 0 1 1 0 … l 7 → … 0 0 0 1 1 … l 8 → … 1 1 1 0 0 … {1} {9,5} {4} {7} {2} {3,6,8} … l 1 → … 1 1 1 1 1 1 0 0 0 … l 2 → … 0 1 1 1 1 1 1 1 1 … l 3 → … 0 1 1 1 1 1 0 0 0 … l 6 → … 0 0 0 1 1 0 0 0 0 … l 7 → … 0 0 0 0 1 1 0 0 0 … l 8 → … 0 1 1 1 0 0 0 0 0 … δ

21 21 Algorithm for C1P – Joining Components Together {6} {3} {8} l 4 → … 0 1 1 … l 5 → … 1 1 0 … {1} {9,5} {4} {7} {2} {6} {3} {8}… l 1 → … 1 1 1 1 1 1 0 0 0 … l 2 → … 0 1 1 1 1 1 1 1 1 … l 3 → … 0 1 1 1 1 1 0 0 0 … l 6 → … 0 0 0 1 1 0 0 0 0 … l 7 → … 0 0 0 0 1 1 0 0 0 … l 8 → … 0 1 1 1 0 0 0 0 0 … l 4 → … 0 0 0 0 0 0 0 1 1 … l 5 → … 0 0 0 0 0 0 1 1 0 … γ α β δ γ

22 22 Algorithm for C1P – Joining Components Together Complexity: Topological sorting O(n+m); Preprocessing takes at most O(nm), e.g. store for each row the column where its leftmost 1 is; Total time O(nm).

23 23 Approximation for Hybridization Mapping with Errors 0 1 1 0 1 1 1 1 0 0 a false negation separate two blocks of 1s, creating another gap Approach: find a permutation where the total number of gaps in the matrix is minimum.

24 24 Approximation - Graph Model Gap minimization is equivalent to solving traveling salesman problem (TSP). TABLE 5.3 A clones*probes matrix with added column p 6 *. p1p1 p2p2 p3p3 p4p4 p5p5 P6*P6* c1c1 111000 c2c2 011100 c3c3 100110 c4c4 111100

25 25 Approximation - Graph Model FIGURE 5.10 TSP graph for matrix of Table 5.3. p1p1 p2p2 p3p3 p4p4 p5p5 P6*P6* 2 3 1 22 0 2 3 4 4 22 3 3 2 The weight on each edge of G is the number of rows where the two corresponding columns differ. p1p1 p2p2 p3p3 p4p4 p5p5 P6*P6* c1c1 111000 c2c2 011100 c3c3 100110 c4c4 111100

26 26 Approximation - Graph Model  a gap: a transition from 1 to 0 and further on a transition from 0 to 1. -two transitions for each gap, each gap contributes 2 to the weight of the cycle.  extremal transitions: transitions between elements in extremal (1 or m) column. -include an extra column of zeros in column m+1 to ensure every row has a pair of extremal transitions. prevent consecutive 1s to wrap around in each row.

27 27 Approximation - Graph Model -Relationship between cycles and permutations: Cycle weight = number of gap transitions + 2n For a given n, minimizing cycle weight is the same as minimizing the number of gaps. -Drawback: one or a few rows may have many gaps, while others may have none. One clone was subject to many more errors than other clones, and this contradicts laboratory experience. -Solution: minimizing the number of gaps per row.

28 28 Approximation - Guarantee -Assumptions: a. The number of probes is sufficiently large. b. The mapping process obeys a certain mathematical model. -Features: a. Each clone ’ s position is an independent random variable, clone locators are distributed uniformly over [0, N-1]. b. Occurrences of a given probe obey a Poisson process with rate λ. Pr{a given probe occurs k times in a given clone} =e -λ λ k / k!.

29 29 Approximation - Guarantee TSP permutation is a good approximation to the true permutation. Prove in terms of graph weights or clone distances. t ij = |l j – l i | + |r j -r i | = 2|l j -l i | t ij : true distance; clone ’ s coordinates: l (left), r (right); h ij : Hamming distance between clones i and j. Given any four clones i, j, r, and s, h ij < h rs implies t ij < t rs t ij < t rs implies h ij < h rs.

30 30 Approximation – Computational Practice Define hybridization graph H as a bipartite graph (U, V, E): Clones are the vertices of the U partition; Probes are the vertices of the V partition; There is an edge between two vertices if the corresponding probe hybridized to the corresponding clone.

31 31 Approximation – Computational Practice p1p1 p2p2 p3p3 p4p4 p5p5 c1c1 c2c2 c3c3 c4c4 FIGURE 5.11 Hybridization graph H corresponding to hybridization matrix from Table 5.3, without the added column. p1p1 p2p2 p3p3 p4p4 p5p5 P6*P6* c1c1 111000 c2c2 011100 c3c3 100110 c4c4 111100 TABLE 5.3 A clones*probes matrix with added column p6*.

32 32 Approximation – Computational Practice Observations: a. H may not be connected, not be able to tell the relative order between probes that belong to different components. b. Connected component may be as simple as a singleton vertex. No hybridization - 0 in Column. c. Redundant probes, or probes that hybridize to exactly the same set of clones - same 1s and 0s in columns.

33 33 Approximation – Computational Practice Evaluation of a mapping algorithm is a difficult task. The fraction of strong adjacencies is used to measure a mapping algorithm. -Strong adjacencies: the number b of blocks of consecutive 1s present in a hybridization matrix with a given probe permutation π = p 1, p 2, …, p m. -Translocations: operations that reverse the order of a set of consecutive probes. Two adjacent probes p i and p i+1 represent a strong adjacency if placing these probes apart by any translocation increases b in each row.

34 34 Approximation – Computational Practice Strong adjacency cost: 100(1/m-1∑δ i ) δ i = 1, if p i and p i+1 is a strong adjacency in the true permutation but these probes are not adjacent in the proposed permutation. δ i = 0, otherwise.

35 35 Approximation – Computational Practice TABLE 5.4 Strong adjacency costs for two algorithms on matrices with different kinds of errors. Error rates are indicates in the heading of each column (only one type of error per column). Coverage in all cases is 10, where coverage is the ratio between the total length of all clones and target DNA length. C1P 0 Chimerism 0.5 False Positives 0.04 False Negatives 0.32 Greedy TSP 1.90.916.028.3 Random86.489.794.494.9

36 36 REFERENCES 1. Sections 5.3 and 5.4 in our textbook: Introduction to Computational Molecualar Biology, Setubal/Meidanis, 1997. 2. On the Complexity of DNA Physical Mapping, Martin Charles Golumbic, Haim Kaplan and Ron Shamir, Advances in Applied Mathematics 15, 251-261 (1994).

37 37


Download ppt "1 Physical Mapping --An Algorithm and An Approximation for Hybridization Mapping Shi Chen CSE497 04Mar2004."

Similar presentations


Ads by Google