GENOMICS VIA OPTICAL MAPPING WITH ORDERED RESTRICTION MAPS

Abstract: A method of producing high-resolution, high-accuracy ordered restriction maps based on data created from the images of populations of individual DNA molecules (clones) digested by restriction enzymes. Detailed modeling and a statistical algorithm, along with an interactive algorithm based on dynamic programming and a heuristic method employing branch-and-bound procedures, are used to find the most likely true restriction map, based on experimental data.

Description: GENOMICS VIA OPTICAL MAPPING WITH ORDERED RESTRICTION MAPS BACKGROUND OF THE INVENTION This invention relates to the construction of ordered restriction maps and, more particularly, to a method capable of producing high-resolution, high-accuracy maps rapidly and in a scalable manner. Optical mapping is a single molecule methodology for the rapid production of ordered restriction maps from individual DNA molecules. Ordered restriction maps are constructed by using fluorescence microscopy to visualize restriction endonuclease cutting events on individual fluorochrome-stained DNA molecules. Restriction enzyme cleavage sites are visible as gaps that appear flanking the relaxed DNA fragments (pieces of molecules between two consecutive cleavages). Relative fluorescence intensity (measuring the amount of fluorochrome binding to the restriction fragment) or apparent length measurements (along a well-defined "backbone" spanning the restriction fragment) have proven to provide accurate size-estimates of the restriction fragment and have been used to construct the final restriction map. Such a restriction map created from one individual DNA molecule is limited in its accuracy by the resolution of the microscopy, the imaging system (CCD camera, quantization level, etc.), illumination and surface conditions. Furthermore, depending on the digestion rate and the noise inherent to the intensity distribution along the DNA molecule, with some probability one is likely to miss a small fraction of the restriction sites or introduce spurious sites. Additionally, investigators may sometimes (rather infrequently) lack the exact orientation information (whether the left-most restriction site is the first or the last). Thus, given two arbitrary single molecule restriction maps for the same DNA clone obtained this way, the maps are expected to be roughly the same in the following sense — if the maps are "aligned" by first choosing the orientation and then identifying the restrictions sites that differ by small amount, then most of the restrictions sites will appear roughly at the same place in both the maps. There are two approaches to further improve the accuracy and resolution of the maps: first, improve the chemical and optical processes to minimize the effect of each error source and second, use statistical approaches where the restriction maps of a large number of identical clones are combined to create a high-accuracy restriction map. These two approaches are not mutually exclusive and interesting trade-offs exist that can be exploited fruitfully. For instance, in the original method, fluorescently-labeled DNA molecules were elongated in a flow of molten agarose containing restriction endonucleases, generated between a cover-slip and a microscope slide, and the resulting cleavage events were recorded by fluorescence microscopy as time-lapse digitized images. The second generation optical mapping approach, which dispensed with agarose and time-lapsed imaging, involves fixing elongated DNA molecules onto positively-charged glass surfaces, thus improving sizing precision as well as throughput for a wide range of cloning vectors (cosmid, bacteriophage, and yeast or bacterial artificial chromosomes (YAC or BAC)). Further improvements have recently come from many sources: development of a simple and reliable procedure to mount large DNA molecules with good molecular extension and minimal breakage; optimization of the surface derivatization, maximizing the range of usable restriction enzymes and retention of small fragments; and development of an open surface digestion format, facilitating access to samples and laying the foundations for automated approaches to mapping large insert clones. Improvements have also come from powerful statistical tools that process a preliminary collection of single-molecule restriction maps, each one created from an unage of a DNA molecule belonging to a pool of identical clones. Such restriction maps are almost identical with small variations resulting from sizing errors, partially digested restriction sites and "false" restriction sites. Such maps can be combined easily in most cases. However, the underlying statistical problem poses many fundamental challenges; for example, the presence of some uncertainty in the alignment of a molecule (both orientation and/or matching in the sites) in conjunction with either false cuts or sizing error is sufficient to make the problem infeasible (NP-complete). M.R. Garey and D.S. Johnson, Computer and Intractability: A Guide to the Theory of NP-Completeness (W.H. Freeman and Co., San Francisco 1979). In spite of the pessimistic results mentioned above, the problem admits efficient algorithms once the structure in the input is exploited. For instance, if the digestion rate is quite high, then by looking at the distribution of the cuts a good guess can be made about the number of cuts and then only the data set with large numbers of cuts can be combined to create the final map. J. Reed, Optical Mapping, Ph. D. Thesis, NYU, June 1997 (Expected). Other approaches have used formulations in which one optimizes a cost function and provides heuristics (as the exact optimization problems are often infeasible). In one approach, the optimization problem corresponds to finding weighted cliques; and in another, the formulation corresponds to a 0-1 quadratic programming problem. S. Muthukrishnan and L. Parida. "Towards Constructing Physical Maps by Optical Mapping: An Effective Simple Combinatorial Approach, in Proceedings First Annual Conference on Computational Molecular Biology, (RECOMB97), ACM Press, 15 209-215, 1997). However, these heuristics have only worked on limited sets of data and their efficacy (or approximability) remains unproven. SUMMARY OF THE INVENTION 20 In accordance with our invention, we use a carefully constructed prior model of the cuts to infer the best hypothetical model by using Bayes' formula. The solution requires searching over a high-dimensional hypothesis space and is complicated by the fact that the underlying distributions are multimodal. Nevertheless, the search over this space can be accomplished without sacrificing efficiency. Furthermore, one can speed 25 up the algorithm by suitably constraining various parameters in the implementation (but at the loss of accuracy or an increased probability of missing the correct map). The main ingredients of this method are the following: • A model or hypothesis J< of the map of restriction sites. 30 • A prior distribution of the data in the form of single molecule restriction map (SMRM) vectors: 35 Assuming pair- wise conditional independence of the SMRM vectors D Thus, the prior distribution of the entire data set of SMRM vectors becomes where index j ranges over the data set. • A posterior distribution via Bayes' rule Here IPr[J I is the unconditional distribution of hypothesis J , and Ψτ[D] is the unconditional distribution of the data. Using this formulation, we search over the space of all hypotheses to find the most "plausible" hypothesis t that maximizes the posterior probability. The hypotheses J are modeled by a small number of parameters Φ( ) {e.g., number of cuts, distributions of the cuts, distributions of the false cuts, etc.). We have prior models for only a few of these parameters (number of cuts), and the other parameters are implicitly assumed to be equi-probable. Thus the model of 3Pr[^Wj is rather simplistic. The unconditional distribution for the data Pr[D] does not have to be computed at all since it does not affect the choice of C. In contrast, we use a very detailed model for the conditional distribution for the data given the chosen parameter values for the hypothesis. One can write the expression for the posterior distribution as: log(Pr[Φ(ft)|P]) = C + Penalty + Bias, where C ≡Σ } log (Prf-D j | Φ( * )] is the likelihood function, Penalty = log Pr[Φ ( " )] and Bias = - log( r[ ]) = a constant. In these equations Φ(J ) corresponds to the parameter set describing the hypothesis and Φ (H)cφ(H) a subset of parameters that have a nontrivial prior model. In the following, we shall often write " for Φ(-H " ), when the context creates no ambiguity. Also, note that the bias term has no effect as it is a constant (independent of the hypothesis), and the penalty term has discernible effect only when the data set is small. Thus, our focus is often on the term C which dominates all other terms in the right hand side. As we will see the posterior distribution, Fr[H \D] is multimodal and the prior distribution Pr[D j \ H does not admit a closed form evaluation (as it is dependent on the orientation and alignment with ). Thus, we need to rely on iterative sampling techniques. Thus the search method to find the most "plausible" hypothesis has two parts: we take a sample hypothesis and locally search for the most plausible hypothesis in its neighborhood using gradient search techniques; we use a global search to generate a set of sample hypotheses and filter out all but the ones that are likely to be near plausible hypotheses. Our approach using this Bayesian scheme enjoys many advantages: • One obtains the best possible estimate of the map given the data, subject only to the comprehensiveness of the model Φ(_W) used. • For a comprehensive model Jζ estimates of Φ(J0 are unbiased and errors converge asymptotically to zero as data size increases. • Additional sources of error can be modeled simply by adding parameters to Φ(J0. • Estimates of the errors in the result can be computed in a straightforward manner. • The algorithm provides an easy way to compute a quality measure. DESCRIPTION OF THE DRAWINGS These and other objects, features, and elements of the invention will be more readily apparent from the following Description of the Preferred Embodiments of the invention in which: Figures 1 and 2 depict in schematic form the global and local searches, respectively; Figure 3 is a graphic representation of a statistical model of a restriction map; Figure 4 is an example of the alignment detection; and Figure 5 illustrates a variable block diagonal matrix for the dynamic programming process. DESCRIPTION OF THE PREFERRED EMBODIMENTS This description has several parts. In part A, we describe the restriction map model and formulate the underlying algorithmic problems. In part B, we describe a statistical model for the problem based on assumptions on the distributions of the bases in DNA and the properties of the chemical processes involved in optical mapping. These models are then used, in part C, to describe a probabilistic local search algorithm with good average time complexity. Part D describes an update algorithm which is used in conjunction with the local search algorithm to improve computational efficiency. Part E describes the global search algorithm, and how it is made less computationally expensive through the use of a branch and bound algorithm. Finally, part F describes the quality measure used to determine the best map. FIG. 1 illustrates the global search strategy used in the method of the invention. Initially, data is obtained from individual DNA molecules which have been digested into fragments by restriction enzymes (Step 500, FIG. 1). The data (cut sites) is then used to model a restriction map as a vector, for each molecule (Step 501, FIG. 1). Next, for each restriction map, a hypothesis map which is locally most likely to be the true restriction map is found (Step 502, FIG. 1). After the individual locally likely hypotheses are ranked according to their likelihood of correctness (Step 503, FIG. 1), the most likely hypothesis is chosen as the correct, or best, answer (Step 504, FIG. 1). FIG. 2 illustrates a method of searching for the locally most likely hypotheses (Step 502, FIG. 1) wherein a Bayesian approach is used. A.P. Dempster, N.M. Laird and D.B. Rubin, "Maximum Likelihood from Incomplete Data via the EM Algorithm," J. Roy. Stat. Soc, 39(1): 1-38, 1977; U. Grenander and M.I. Miller, "Representations of Knowledge in Complex Systems (with discussions)," J. Roy. Stat. Soc. 2?., 56:549- 603. After a hypothesis H of the restriction map is selected (Step 511, FIG. 2), a prior probability distribution is defined (Step 512, FIG. 2). A posterior probability distribution is then defined (Step 513, FIG. 2), which is then used to search the space of plausible hypotheses to find the hypothesis which is most likely to be correct (that is, the hypothesis which maximizes the posterior probability distribution (Step 514, FIG. 2). A. Restriction map model Our problem can be formulated as follows. Assuming that all individual single-molecule restriction maps correspond to the same clone, and that the imaging algorithm can only provide the fragment size estimates that are scaled by some unknown scale factor, we represent a single molecule restriction map (SMRM) by a vector with ordered set of rational numbers on the open unit interval (0,1): ^j = ( s ljι s 2j, • • • , SMjj), 0 < Sij < $ 2 j < " < S Mj j < 1, Sij € Given a rational number s£ (0,l), its reflection is denoted by s R = 1 - s: Similarly, by ϋ , we denote the vector ■ Dj = («Λf,- » • • • > s 2j> s lj)- Note that if the entries of D } are ordered and belong to the open unit interval, so do D j + c and D* provided that c is appropriately constrained. Thus our problem can be described as follows: Given a collection of SMRM vectors, Dι,D , ..., D m we need to compute a final vector H = (hi , Λ2 , ... , ft//) such that H is ' 'consistent' ' with each D } . Thus, H represents the correct restriction map and the D s correspond to several "corrupted versions" of H. A graphical representation of H and one vector D j is depicted m Fig. 3. We shall define such a general notion of "consistency" using a Bayesian approach which depends on the conditional probability that a data item £> y can be present given that the correct restriction map for this particular clone is H. in order to accurately model the prior distribution Pr[£> | Λ], we need to consider the following categories of errors in image data: 1) misidentification of spurious materials in the image as DNA, 2) identifying multiple DNA molecules as one, 3) identifying partial DNA molecules as complete, 4) errors in estimating sizes of DNA fragments, 5) incomplete digestion of DNA, 6) cuts visible at locations other than digest sites, and 7) unknown orientation of DNA molecule. Our prior distribution Fr[D | !H is modeled as following: • A molecule on the surface can be read from left to right or right to left. The uncertainty in orientation is modeled as Bernoulli processes, with the probability for each orientation being equal. • The restrictions sites on the molecule are determined by a distribution induced by the underlying distribution of the four bases in the DNA. For example, we shall assume that the probability that a particular base (say, A) appears at a location i is independent of the other bases, though the probabilities are not necessarily identical. • The false cuts appear on the molecule as a Poisson process. This is a consequence of the simplifying assumption that over a small region Δh on the molecule, the Fr[# False cuts = 1 over Δh] = λ f Δh and the Fr[#False cuts > 2 over Δh] = o(Δh). • The fragment size (the size of the molecule between two cuts) is estimated with some loss of accuracy (dependent on the stretching of the molecule, fluorochrome attachments and the image processing algorithm). The measured size is assumed to be distributed as a Gaussian distribution. The following notation will be used to describe the parameters of the independent processes responsible for the statistical structure of the data. Unless otherwise specified, the indices , j and k are to have the following interpretation: • The index i ranges from 1 to N and refers to cuts in the hypothesis. • The index j ranges from 1 to M and refers to data items (i.e. , molecules). • The index k ranges from 1 to K and refers to a specific alignment of cuts in the hypothesis vs. data. Now the main parameters of our Bayesian model are as follows: • p d = Probability that the fth sequence specific restriction site in the molecule will be visible as a cut. • <Tj = Standard deviation of the observed position of the /th cut when present and depends on the accuracy with which a fragment can be sized. • λ f = Expected number of false-cuts per molecule observed. Since all sizes will be normalized by the molecule size, this will also be the false-cuts per unit length. • P b = Probability that the data is invalid ("bad"). In this case, the data item is assumed to have no relation to the hypothesis being tested, and could be an unrelated piece of DNA or a partial molecule with a significant fraction of the DNA missing. The cut-sites (all false) on this data item are assumed to have been generated by a Poisson process with 0 the expected number of cuts = λ„. Note that the regular DNA model reduces to the "bad" DNA model for the degenerate situation when/? α → 0 and λ f → λ n . As a result, "bad" DNA molecules cannot be disambiguated from regular DNA molecules if p ά » 0. In practice, p d > 0 and λ„ > λ f , and the degenerate case almost never occurs. Here the "bad" molecules are recognized by having a disproportionately large number of false cuts. • λ n = Expected number of cuts per "bad" molecule. 0 B. Prior Distribution in the Hypotheses Space Recall that by Bayes' rule 5 Assuming that the prior distribution Fr[Λ!j is given in terms of just the number of restriction sites, based on the standard Poisson distribution, we wish to find the "most plausible" hypothesis _H " by maximizing Ψr[! \D]. 0 In our case, .Wis simply the final map (a sequence of restriction sites, h t , h 2 , . . . h N ) augmented by the auxiliary parameters such as p ά , σ,, λ f , etc. When we compare a data item D j with respect to this hypothesis, we need to consider every possible way that D j could have been generated by 9C In particular we need to consider every possible _ alignment, where the £th alignment, A jk , corresponds to a choice of the orientation for D j as well as identifying a cut on , with a true restriction site on Hox labeling the cut as a false cut. By D {K [also abbreviated as D° ], we shall denote the "interpretation of the th data item with respect to the alignment A jk . " Each alignment describes an independent process by which , could have been generated from , and therefore the total probability distribution of D j is the sum of the probability distribution of all these alignments, plus the remaining possible derivations (invalid data). As a consequence of the pairwise independence and the preceding discussion, we have the following: where index j ranges over the data set, and Prj- ≡ Pr lft] = Pr[ |7{, bad] Pr[bad] where index k ranges over the set of alignments. In the preceding equation, -PrCD 0 ^! good] (abbreviated, Ψr jk ) is the probability distribution of model , being derived from model J{ and corresponding to a particular alignment of cuts (denoted, A jk ). The set of alignments includes alignments for both orientations, hence each alignment has a prior probability of 1/2. If D s is bad, our model corresponds to J/ " with ? d → 0 and ) -» λ„. We shall often omit the qualifier "good" for the hypothesis , when it is clear from the context. Thus, in the example shown in Figure 4, for a given hypothesis , the conditional probability distribution that they ' th data item D } with respect to alignment A jk (i.e., D 0 ?) could have occurred is given by the following formula: c -(«ι -Λι ) a /2< ? e -(»N-h N f/2σ Fr = p * v^ o . » C -M » - " -»H. ^ σN ■ In the most general case, we proceed as follows. Let N ≡ Number of cuts in the hypothesis J£ h t ≡ The th cut location on !K M j ≡ Number of cuts in the data D j . K j -a Number of possible alignments of the data/evidence D j against the hypothesis 9€ (or its reversal, the flipped alignment -H *R ). s ijk ≡s The cut location in £ y matching the cut Λ, in ! , given the alignment A jk . In case such a match occurs, this event is denoted by an indicator variable m ijk taking the value 1. m ijk a An indicator variable, taking the value 1 if and only if the cut s ijk in D j matches a cut hj in the hypothesis Jζ given the alignment A Jk . It takes the value 0, otherwise. F jk a Number of false (non-matching) cuts in the data D j for alignment A jk , that do not match any cut in the hypothesis . Thus N Fjk = Mj - ∑ τni jk i=l 5 The number of missing cuts is thus N N ∑(1 - r ijk) = N - J3 my*. «'=1 t=l 0 We may omit the indices j and k, if from the context it can be uniquely determined which data D j and alignment A jk are being referred to. Note that a fixed alignment A jk can be uniquely described by marking the cuts on D j by the labels T (for true cut) and F (for false cut) and by further augmenting each true cut by the identity of the cut h t of the hypothesis _7£ From this information, m ijk , 5 s ijk , F Jk , etc. can all be uniquely determined. Let the cuts of D j be (s lt s 2 , . . . , s Mj . Let the event E t denote the situation that there is a cut in the infinitesimal interval (s, - Δx/2, s { + Δx/2). Thus we have: Q Fτ[Df tø.goo JΔxj • • = Fr[Z j ) |?f,good](Δ*) Λ 'i = prob[E .... EMJ. M,-, U, good] x pro6[ ,_, f c, M0., good] = prob[E Mj, good] x prob[E 2 , x • • • x ρrob[E a , ..., E 0 - my*, Mj, U, good] x • • • x prob[E Mj , ..., E Mj -ι . mij k , Mj, 71, good] Note the following: pro&[myik,Λf,|7,good] = + (1 -p Cj )(l- myjt)) x c -λ ■ /λ ' fr! = d-P,)"-""'' x e- λ /λ >*/ Jk ! For the event E a there are two possible situations to be considered: (a) s a is a false cut and the number of false cuts among s Jt ..., _»„_, is3. prob[E a , E a - y fcl Λf,-, 7{, good] = (F fc - /3)Δx. (b) s a = ^ t is a true cut and h t is the cut in ^associated with it. pro6[£? e , ΛjjtjjE?!, ... , E a - ™ij k , Mj, U, good] = -== Δx. Thus, prob[E ---.EM J , Mj, good] Putting it all together: Pr ^lft.good] By an identical argument we see that the only alignments relevant for the bad molecules correspond to the situation when all cuts in D j are labeled false, and for each of two such alignments, Pr ^lft. b d] = e~ X "\ n M >. The log-likelihood can then be computed as follows: Thus, where, by definition, ej — e ~ * n X n M >, In the model, we shall use an extremely simple distribution on the prior distribution Fr[Λ!j that only depends on the number of restriction sites N and not any other parameters. Implicitly, we assume that all hypotheses with the same number of cuts are equi-probable, independent of the cut location. Given a Λ-cutter enzyme (e.g., normally six-cutters like EcoR I in our case), the probability that it cuts at any specific site in a sufficiently long clone is given by -G) - Thus if the clone is of length G bps we denote by = Gp e (the expected number of restriction sites in the clone), then the probability that the clone has exactly N restriction cuts is given by χN prόb[# restriction sites = N\ enzyme, e and clone of length G] « e ~ -. 7 7 • iV • The preceding computation is based on the assumption that all four bases £ {A.T.C. G} occur in the clone with equal probability A. However, as is known, the human genome is CG-poor (i.e., IPr[q +Pr[G] =0.32 < Pr[- ] +P[7] =0.68). D. Barker, M. Schafer and R. White, "Restriction Sites Containing CpG Show a Higher Frequency of polymorphism in Human DNA," Cell, 36:131-138, (1984). A more realistic model can use a better estimation for p e : e = (0.16) #CG (0.34)* MT , where ttCG denotes the number of C or G in the restriction sequence for the enzyme and, similarly, if AT denotes the number of A or T in the restriction sequence. C. Local Search Algorithm In order to find the most plausible restriction map, we shall optimize the cost function derived earlier, with respect to the following parameters: Cut Sites = h\,h , ... ,h f , Cut Rates = Pc x ,Pc ι . - - -,Pc N , Std. Dev. of Cut Sites = σ\,σ , ...,σn, Auxiliary Parameters = p & , λ / and λ n . Let us denote any of these parameters by θ. Thus, we need to solve the equation ΘC to find an extremal point of C with respect to the parameter θ. Case 1: θ = p b Taking the first partial derivative, we get dc - (ej " di) dpb bej + (l - h )dj ' } Taking the second partial derivative, we get Accordingly, £ can now be easily optimized iteratively to estimate the best value of p b , by means of the following applications of the Newton's equation: dC/dp b Pb:s Pb ~ Wcjdtf - Case 2: θ = This parameter is simply estimated to be the average number of cuts. Note that should be zero at the local maxima. Thus a good approximation is obtained by taking leading to the update rule 12 j 1 Total number of molecules * Thus λ„ is simply the average number of cuts per molecule. Case 3: θ = h t , p d , a. (i- \, . . ., N), or Unlike in the previous two cases, these parameters are in the innermost section of our probability distribution expression and computing any of these gradients will turn out to be computationally comparable to evaluating the entire probability distribution. In this case, ' Wherβ Ftj ≡ Ft[Dj n] and where N \± (-(*Vk - k) 2 \ _ dσ + ∑ m * i=l [dθ 2σ? J σi dθ For convenience, now define ≡≡ Relative probability distribution of the alignment A Jk for data item D j . Thus, ac our earlier formula for ~ ss now simplifies to tf jfc *;*(*)• Before examining the updating formula for each parameter optimization, we shall introduce the following notations for future use. The quantities defined below can be efficiently accumulated for a fixed value of the set of parameters. *o; = ∑ j ∑ f c TjkWijk = Expected number of cuts matching ft,- Φi,- = ∑ j Σ k π jk m ijkSijk = Sum of cut locations matching ft,- Φ2,- = * C j 1 k π jk m ijks jk = Sum of square of cut locations matching ft,- V-a ≡ ∑i ∑* π jk = Expected number of "good" molecules la = ∑ j j f c XjkMj ≡ Expected number of cuts in "good" molecules We note here that the Ψ's can all be computed efficiently using a simple updating rule that modifies the values with one data item D j (molecule) at a time. This rule can then be implemented using a Dynamic Programming recurrence equation (described later). Case 3A: θ = Λ, Note that θ ≡ hi =* • Xik(hi) = mijk(sijk - hi)/σf = g^ = ∑∑ π ikmijk(sij k - hi)/σ . ' 3 k Thus, Although the 's depend on the location Λ„ they vary rather slowly as a function of h t . Hence a feasible update rule for Λ, is Thus the updated value of Λ, is simply the "average expected value" of all the Sg k 's that match the current value of h t . Case 3B: θ = p d Note that θ ≡ Pa => Thus, Again, arguing as before, we have the following feasible update rule for p d Φoi Pc. : =— • ' (5) Thus α is just the fraction of the good molecules that have a matching cut at the current value of h,. - 11 - Case 3C: θ = σ t Note that θ≡σ; Thus, d a øσ,-- = ά (** " 2ΛέΦ " + Λ < Φ(M ~ σ ' ?Φof ) Thus, we have the following feasible update rule for σ 2 , 2 (Φ 2 ,--2ft,Φ 1 ,- + ft?Φ 0t ) Φoi Using the estimate for Λ, (equation (4)), we have This is simply the variance of all the s ijk s that match the current value of h t . Case 3D: θ = > Note that O≡λj _7 9 -∑ t Φoi fi Tf μ,. Thus, we have the following feasible update rule for λ^^ *** i a ^ This is simply the average number of unmatched cuts per "good" molecule. (Note that the molecules are already normalized to unit length.) Case 3E: θ = p c = p cι = . . . = p^ (Constrained) Note that Thus the update equation for this case is: Case 3F: θ = σ = σ } = . . . = σ N (Constrained) Note that Thus the update equation for this case is: D. Update Algorithm; Dynamic Programming In each update step, we need to compute the new values of the parameters based on the old values of the parameters, which affect the "moment functions": α , Ψ 7 „ Ψ 2 „ μ g and g . For the ease of expressing the computation, we shall use additional auxiliary expressions as follows: One motivation for this formulation is to avoid having to compute e ~ f repeatedly, since this is a relatively expensive computation. Note that the original moment function can now be computed as follows: Finally, Pr[P|W] = πPr i . The definitions for P y , W, y , SUM, and SQ,-, involve all alignments between each data element D j and the hypothesis J .This number is easily seen to be exponential in the number of cuts N in the hypothesis 5C, even if one excludes such physically impossible alignments as the ones involving cross-overs (i.e. , alignments in which the order of cuts in and D j are different). First, consider Py. *-?&) Next we shall describe recurrence equations for computing the values for all alignments efficiently. The set of alignments computed are for the cuts {1, . . . , A/,} of D j mapped against the hypothesized cuts {1, . . . , N). We define the recurrence equations in terms of Pq,r — Pj *9> * ' • » s Mji "r> • • • » flNji which is the probability density of all alignments for the simpler problem in which cuts S ] , . ■ • , S q . 1 are missing in the data D j and the cuts h lt . . . , h r are missing in the hypothesis . Then, clearly P ≡ Pι,ι P,, r ≡ This follows from a nested enumeration of all possible alignments. The recurrence terminates in P M . + l τ , which represents JP, if all cuts in Z) y were missing and cuts Λ ; , . . . , h r .j in J/were missing: N P A .r = II( 1 - P .). «=r (13) where 1 ≤ q ≤ M j and 1 ≤ r ≤ N + 1. Thus the total number of terms V q r to be computed is bounded from above by (M j + 1) (N+ 1) where Λf is the number of cuts in data molecule _D, and N is the number of cuts in H. Each term can be computed in descending order of q and r using equations (12) and (13). The time complexity associated with the computation of V q r is 0(N-r) in terms of the arithmetic operations. Note also that the equation (12) can be written in the following alternative form: P,, r = λ/P, +1 , r + P,+l,r+lPc« ~f=^ + (1 - Pc, ) P,,r+l - λ/P, + ι, r+ ι j where 1 < q ≤ M j and 1 ≤ r ≤ N + 1. Thus, by computing V q r in descending order of r, only two new terms [and one new product (l-p σ ) in equation (14)] need be to be computed for each V q r . With this modification, the overall time complexity reduces to 0(M j N). The complexity can be further reduced by taking advantage of the fact that the exponential term is negligibly small unless Λ, and s q are sufficiently close (e.g. , \h, - s q \ ≤ 3 σ,). For any given value of q, only a small number of Λ, will be close to s q . For a desired finite precision only a small constant fraction ofh,'s will be sufficiently close to s q to require that the term with the exponent be included in the summation (in practice, even a precision of 10 "10 will only require 3-5 terms to be included with σ around 1%). Note however that even with this optimization in the computation for equation (12), the computation of P q r achieves no asymptotic improvement in the time complexity, since V q r with consecutive r can be computed with only two new terms, as noted earlier. However, for any given q, only for a few r values are both of these additional terms non-negligible. The range of r values (say, between r^ and r ∞ for which the new terms with e - <hr - sq)22β ? are significant can be precomputed in a table indexed by q = 1, . . . , M j . For r > r ^ all terms in the summation are negligible. For r < r^ the new exponential term referred to previously is negligible. In both cases, the expression for P q r can be simplified: p _ J λ / P 9+l.r. » > rmaxtø]; *' r 1 λ / p ? +ι,r + (1 ~ Pc)(P,.r+ι - λ/P, +lιr+1 ), if r < r min [q]. Since both r^q] and r^q] are monotonically nondecreasing functions of q, the (q,r) space divides as shown in figure 5. Of course, the block diagonal pattern need not be as regular as shown and will differ for each data molecule D j . Note again that our ultimate object is to compute P u . Terms P q r+ , with r > r ma χ[q]. cannot influence any term P q . r . with r' ≤ r (see equation (12)). Therefore, any term P q , r+ ι with r > r-^fq] cannot influence P u as is readily seen by a straightforward inductive argument. Therefore, all such terms need not be computed at all. For r < r- a i n tq], these terms are required but need not be computed since they always satisfy the following identity: P ?.r = (1 - Pe r )P.».r+.ι , r < r min tø]. This follows from equations (13) and (15) by induction on q. These terms can then be generated on demand when the normal recurrence (equation (12)) is computed and whenever a term V q+lr , is required for which r < r„J[q+i], provided terms are processed in descending order of r. Thus, the effective complexity of the algorithm is 0(M j (r^ - r min +2)). Since r a - r mm +2 is proportional for a given precision to [(σN + 1)1 , (where σ is an upper bound on all the σ, values) we see that the time complexity for a single molecule D j is O(σM j N). Summing over all molecules D j the total time complexity is 0(σMN), where M = ∑ j M j . The space complexity is trivially bounded by 0(M majc N) where M,^ = max, M j . Essentially the same recurrence equations can be used to compute W, 7 , SUM^ and SQ, y , since these 3N quantities sum up the same probability distributions τ jk weighted by m ijk , m Vk s ijk or m^s 2 ^, respectively. The difference is that the termination of the recurrence (cf equation (13)) is simply P M + r = 0, whereas the basic recurrence equation (cf equation(12)) contains an additional term corresponding to the m^ times the corresponding term in the recurrence equation. For example: SUM - = SϋM,-, u S TO ≡ λ/ S UM.\,+i,r + ∑ SUM,-,, +u+ ι I II C 1 ~ Pc, ) )P« -j^ σ - where 1 ≤ q ≤ M j and 1 ≤ r ≤ N + 1. Note that the new term is only present and as before need only be computed if the corresponding exponent is significant, i.e. , i lies between r^q] and r^ iq]. This term is the only nonzero input term in the recurrence since the terminal terms are zero. This recurrence is most easily derived by noting (from equations (1) and (10)) that the sum of products form of SUM,-, can be derived from that of P, by multiplying each product term with h r s q in any exponent by s q , and deleting any term without Λ, in the exponent. Since each product term contains at most one exponent with hj, this transformation can also be applied to the recurrence form for P y (equation (12)), which is just a different factorization of the original sum of products form. The result is equation (16). The corresponding derivation for W ( . and SQ,-, is the same except that the s q is replaced by 1 or «J respectively. If the recurrences for these 3N quantities are computed in parallel with the probability distribution P,, the cost of the extra term is negligible, so the overall cost of computing both the probability distribution P, and its gradients is 0(σMN 2 ). The cost of conversion equations (11) is also negligible in comparison. Moreover this can be implemented as a vectorized version of the basic recurrence with vector size 3N+ 1 to take advantage of either vector processors or superscalar pipelined processors. We note in passing that if 3N is significantly greater than the average width σM of the dynamic programming block diagonal matrix shown in figure 3, then a standard strength reduction can be applied to the vectorized recurrence equations trading the 3N vector size for a σN + 1 vector size and resulting in an alternate complexity of 0(σ 2 MN 2 ). Note that the gradient must be computed a number of times (typically 10-20 times) for the parameters to converge to a local maximum and the gain is significant only when σ < < 1. E. Global Search Algorithm Recall that our prior distribution Fr[D | H is multimodal and the local search based on the gradients by itself cannot evaluate the best value of the parameters. Instead, we must rely on some sampling method to find points in the parameter space that are likely to be near the global maxima. Furthermore, examining the parameter space, we notice that the parameters corresponding to the number and locations of restriction sites present the largest amount of multimodal variability and hence the sampling may be restricted to just ~h = (N; h lt h 2 , . . . , h N ). The conditional observation probability distribution 3Pτ[D | H can be evaluated pointwise in time 0(σMN) and the nearest local maxima located in time 0(σMJP), though there is no efficient way to sample all local maxima exhaustively. Thus, our global search algorithm will proceed as follows: we shall first generate a set of samples (A,, Λ 2 , Λ 3 , ...) ; these points are then used to begin a gradient search for the nearest maxima and provide hypotheses (H J{ 2 , ! , • • • ); the hypotheses are then ranked in terms of their posterior probability distribution Ψτ[H\D] (whose relative values also lead to the quality measure for each hypothesis) and the one (or more) leading to maximal posterior probability distribution is presented as the final answer. However, even after restricting the sampling space, the high dimension of the space makes the sampling task daunting. Even if the space is discretized (for instance, each hj £ {0, 1/200, . . . , j/200, . . . , 1}), there are still far too many sample points (200 N ) even for a small number of cuts (say, N=8). However, the efficiency can be improved if we accept an approximate solution. We use approximate Bayesian probability distributions in conjunction with a branch and bound algorithm to reject a large fraction of the samples without further local analysis. For the present the parameter N is searched in strictly ascending order. This means one first evaluates the (single) map with no cuts, then applies global and gradient search to locate the best map with 1 cut, then the best map with 2 cuts etc. One continues until the score of the best map of N cuts is significantly worse than the best map of 0 ... N-l cuts. The global search for a particular N uses an approximate Bayesian probability distribution with a scoring function that is amenable to an efficient branch-and-bound search. Observe that obtaining good scores for some molecule D } basically requires that as many cut locations Sy, . . . , s MjJ as possible must line up close to h h 2 , . . . , h N in one of the two orientations. This means that any subset of the true map h h 2 , h m (m < N) will score better than most other maps of size m, assuming that the digestion rate is equal (p c = p d = . . . = p^). Note that for physical reasons, the variation among the digestion rates is quite small; thus, our assumption is valid and permits us to explicitly constrain these parameters to be the same. For example, if (h } , h 2 , . . . , hu) is the correct map, one expects maps with single cuts located at [ΛJ (1 ≤ i ≤ N) to score about equally well in terms of the Bayesian probability distribution. Similarly, maps with two cuts located at pairs of [Λ,, hj (I ≤ i < j ≤ N) score about equally well and better than arbitrarily chosen two cut maps. Furthermore, the pair-cut probability distribution are more robust than the single cut probability distribution with respect to the presence of false cuts, hence, less likely to score maps with cuts in other than the correct locations. Hence an approximate score function used for a map (h lt h 2 , . . . , h N ) is the smallest probability distribution for any pair map [Λ„ hj which is a subset of (h lt h 2 , . . . , h N ). These pair map probability distribution can be precomputed for every possible pair ([Λ,, hj ) if h it . h j are forced to have only K values along some finite sized grid, for example at exact multiples of 1/2% of the total molecule length for ϋT=200. The pair map probability distribution can then be expressed in the form of a complete undirected graph, with K nodes corresponding to possible locations, and each edge between node i toy having an edge value equal to the precomputed pair map probability distribution of [A,, hj\. A candidate map (h lt h 2 , . . . , h N ) corresponds to a clique of size N in the graph, and its approximate score corresponds to the smallest edge weight in the clique. In general, the clique problem (for instance, with binary edge weights) is NP-complete and may not result in any asymptotic speedup over the exhaustive search. However, for our problem effective branch-and-bound search heuristics can be devised. Consider first the problem of finding just the best clique. We can devise two bounds that can eliminate much of the search space for the best clique: • The score of any edge of a clique is an upper bound on the score of that clique. If the previous best clique found during a search has a better (higher) score than the score of some edge, all cliques that include this edge can be ruled out. • For each node in the graph, one can precompute the score of the best edge that includes this node. If the previous best clique found during a search has a better (higher) score than this node score, all cliques that include this node can be ruled out. As with all branch-and-bound heuristics, the effectiveness depends on quickly finding some good solutions, in this case cliques with good scores. We have found that an effective way is to sort all K nodes by the Bayesian scores of the corresponding single cut map. In other words, we first try nodes that correspond to restriction site locations that have a high observed cut rate in some orientation of the molecules. Also the nodes corresponding to cut sites of the best overall map so far (with fewer than N cut sites) are tried first. For data consisting of a few hundred molecules, the branch-and-bound heuristics allows exhaustive search in under a minute on a Sparc System 20 with N ≤ 7 (with K=20 ). For N > 7, a simple step wise search procedure that searches for the best map (h j , h 2 , . . . , Λ„) by fixing N-7 nodes based. on the previous best map, works well. The N-7 nodes selected are the optimal with respect to a simple metric, for instance, the nodes with the smallest standard error (i.e. , ratio of standard deviation to square- root of sample size). Next, the global search is modified to save the best B (typically 8000) cliques of each size and then the exact Bayesian probability distribution is evaluated at each of these B locations, adding reasonable values for parameters other than (N; h lf . . . , h N ). These parameters can be taken from the previous best map, or by using some prior values if no previous best map is available. For some best scoring subset (typically 32—64) of these maps gradient search is used to locate the nearest maxima (and also accurate estimates for all parameters), and the best scoring maxima is used as the final estimate for the global maxima for the current value of N. The branch-and-bound heuristics was modified to find the best B cliques, by maintaining the best B cliques (found so far) in a priority queue (with an ordering based on the approximate score). F. A Quality Measure for the Best Map As a quality measure for the best map, we use the estimated probability of the dominant mode (peak) of the posterior probability distribution. This could be computed by integrating the probability distribution over a small neighborhood of the peak (computed in the parameter space). Our cost function corresponds to a constant multiple of the posterior probability distribution, as we do not explicitly normalize the cost function by dividing by a denominator corresponding to the integral of the cost over the entire parameter space. To compute the quality measure we make the following simplifying assumption: "All peaks are sharp and the integral of the cost function over a neighborhood where the cost value is larger than a specific amount is proportional to the peak distribution." Also if we know the N most dominant peaks (typically N=64), we can approximate the integral over all space, by the integral over the N neighborhoods of these peaks. Thus we estimate our quality measure for the best map by the ratio of the value assigned to it (the integral of the cost fimction in a small neighborhood around it) to the sum of the values assigned to the N best peaks. This, of course, simplifies the computation while producing a rather good estimate. To take into account the sampling errors (when the number of molecules is small) we penalize (reduce) the distribution of the best map by an estimate of the sampling error. This approach makes the computed quality measure somewhat pessimistic but provides a lower bound. As will be apparent to those skilled in the art, numerous modifications may be made to the specific embodiment of the invention described above that are within the spirit and scope of the invention.

Claims: What is claimed is: 1. A process for constructing an ordered restriction map based on data obtained from individual DNA molecules digested into fragments by restriction enzymes, comprising the steps of: (a) modeling from the data obtained from each individual DNA molecule a restriction map in the form of a vector; (b) for each such restriction map, finding a candidate restriction map, hereinafter referred to as a hypothesis map, which is locally most likely to be the true restriction map; and (c) ranking the individual hypothesis maps according to their likelihood of correctness. 2. The process according to claim 1 further comprising the step of choosing the most likely hypothesis map as the correct answer. 3. The process according to claim 1 wherein the step of finding the locally most likely hypothesis map comprise: (a) selecting a hypothesis H of the restriction map; (b) defining a prior probability distribution of the data, Ft [_9 j I -HJ, where each D j = (s tj , s^, ~,s MJ ) corresponds to a single molecule restriction map; (c) defining a posterior probability distribution, where Wr[D \ ^ = U } IPrlD j | J j; and (d) searching the space of plausible hypotheses to find the hypothesis which maximizes the posterior probability. 4. The process according to claim 3 wherein an uncertainty in orientation of the molecule is modeled as a Bernoulli process. 5. The process according to claim 3 wherein the probability that a particular base appears at a location i is assumed to be independent of the other bases. 6. The process according to claim 3 wherein false cuts are modeled as a Poisson process. 7. The process according to claim 3 wherein for each k- i fragment, measured sizes of the fragments are assumed to be Gaussian distributed. 8. The process according to claim 3 wherein the step of searching the space of plausible hypotheses is made more computationally efficient through the use of a branch-and-bound search. 9. The process according to claim 3 wherein the most likely estimate is determined using an estimated probability of the dominant peak of the posterior probability distribution.

Inventors: ANANTHARAMAN THOMAS S, MISHRA BHUBANESWAR, SCHWARTZ DAVID C, ANANTHARAMAN, THOMAS, S., MISHRA, BHUBANESWAR, SCHWARTZ, DAVID, C.
Applicants: UNIV NEW YORK, NEW YORK UNIVERSITY
Application year: 1998
Main classification: G01N21
IPC codes: C12Q1, G06F19