METHODS AND APPARATUS FOR PERFORMING PATTERN DICTIONARY FORMATION FOR USE IN SEQUENCE HOMOLOGY DETECTION

Abstract: In a dictionary formation aspect of the invention, a computer-based method of processing a plurality of sequences in a database comprises the following steps. First, the method includes evaluating each of the plurality of sequences including characters which form each sequence. Then, at least one pattern of characters is generated representing at least a subset of the sequences in the database. The pattern has a statistical significance associated therewith, the statistical significance of the pattern being determined by a value representing a minimum number of sequences that the pattern supports in the database.

Description: METHODS AND APPARATUS FOR PERFORMING PATTERN DICTIONARY FORMATION FOR USE IN SEQUENCE HOMOLOGY DETECTION Cross-Reference to Related Applications The present application claims priority to provisional U.S. patent application no. 60/106,295, filed October 30, 1998, in the names of A. Floratos and I. Rigoutsos, and is related to U.S. patent application, entitled "Methods and Apparatus for Performing Sequence Homology Detection," filed concurrently herewith, in the names of A. Floratos and I. Rigoutsos, the disclosures of which are incorporated herein by reference. Field of the Invention The present invention relates generally to database searches and, more particularly, to methods and apparatus for detecting sequence homology between a query sequence and sequences in a database in association with a given application, e.g., genetic research. Background of the Invention In the area of genetic research, the first step following the sequencing of a new gene is an effort to identify that gene's function. The most popular and straightforward methods to achieve that goal exploit the following biological fact — if two peptide stretches exhibit sufficient similarity at the sequence level (i.e., one can be obtained from the other by a small number of insertions, deletions and/or amino acid mutations), then they probably are biologically related. Examples of such an approach are described in A.M. Lesk, "Computational Molecular Biology," Encyclopedia of Computer Science and Technology; A. Kent and J.G. Williams editors, 31 :101-165, Marcel Dekker, New York, 1994; R.F. Doolittle, "What we have learned and will learn from sequence databases," Computers and DNA, G. Bell and T. Marr editors, 21-31, Addison- Wesley, 1990; C. Caskey, R. Eisenberg, E. Lander, and J. Straus, "Hugo statement on patenting of DNA," Genome Digest, 2:6-9, 1995; and W.R. Pearson, "Protein sequence comparison and protein evolution," Tutorial of Intelligent Systems in Molecular Biology, Cambridge, England, 1995. Within this framework, the question of getting clues about the function of a new gene becomes one of identifying homologies in strings of amino acids. Generally, a homology refers to a similarity, likeness, or relation between two or more sequences or strings. Thus, one is given a query sequence Q (e.g., the new gene) and a set D of well characterized proteins and is looking for all regions of Q which are similar to regions of sequences in D. The first approaches used for realizing this task were based on a technique known as dynamic programming. This approach is described in S.B. Needleman and CD. Wunsch, "A General Method Applicable To The Search For Similarities In The Amino Acid Sequence Of Two Proteins," Journal Of Molecular Biology, 48:443-453, 1970; and T.F. Smith and M.S. Waterman, "Identification Of Common Molecular Subsequences," Journal Of Molecular Biology, 147:195-197, 1981. Unfortunately, the computational requirements of this method quickly render it impractical, especially when searching large databases, as is the norm today. Generally, the problem is that dynamic programming variants spend a good part of their time computing homologies which eventually turn out to be unimportant. In an effort to work around this issue, a number of algorithms have been proposed which focus on discovering only extensive local similarities. The most well known among these algorithms are referred to as FASTA and BLAST. The FASTA algorithm is described in W.R. Pearson, and D. J. Lipman, "Improved tools for biological sequence comparison," Proc. Natl. Acad. Sci., 85:2444-2448, 1988; and D.J. Lipman, and W.R. Pearson, "Rapid and sensitive protein similarity searches," Science, 227:1435-1441, 1989. The BLAST algorithm is described in S. Altschul, W. Gish, W. Miller, E.W. Myers, and D. Lipman, "A basic local alignment search tool," J. Mol. Biology, 215:403-410, 1990. In the majority of the cases, increased performance is achieved by first looking for ungapped homologies, i.e., similarities due exclusively to mutations and not insertions or deletions. The rationale behind this approach is that in any substantial gapped homology between two peptide strings, chances are that there exists at least a pair of substrings whose match contains no gaps. The locating of these substrings (the ungapped homology) can then be used as the first step towards obtaining the entire (gapped) homology. Identifying the similar regions between the query and the database sequences is, however, only the first part (the computationally most demanding) of the process. The second part (the one that is of interest to biologists) is evaluating these similarities, i.e., deciding if they are substantial enough to sustain the inferred relation (functional, structural or otherwise) between the query and the corresponding database sequence(s). Such evaluations are usually performed by combining biological information and statistical reasoning. Typically, similarity is quantified as a score computed for every pair of related regions. Computation of this score involves the use of gap costs (for gapped alignments) and of appropriate mutation matrices giving the evolutionary probability of any given amino acid changing into another. Examples of these matrices are the PAM matrix (see M.O. Dayhoff, R.M. Schwartz and B.C. Orcutt, "A model of evolutionary change in proteins," Atlas of Protein Sequence and Structure, 5:345-352, 1978) and the BLOSUM matrix (see S. Henikoff and J.G. Henikoff, "Amino acid substitution matrices from protein blocks," Proc. Natl. Acad. Sci., 89:915-919, 1992). Then, the statistical importance of this cost is evaluated by computing the probability (under some statistical model) that such a score could arise purely by chance, e.g., see S. Karlin, A. Dembo and T. Kawabata, "Statistical composition of high-scoring segments from molecular sequences," The Annals of Statistics, 2:571-581, 1990; and S. Karlin and S. Altschul, "Methods for assessing the statistical significance of molecular sequence features by using general scoring schemes," Proc. Natl. Acad. Sci., 87:2264-2268, 1990. Depending on the statistical model used, this probability can depend on a number of factors such as: the length of the query sequence, the size of the underlying database, etc. No matter, however, what conventional statistical model one uses there are always the so called "gray areas," i.e., situations where a statistically unimportant score indicates really a biologically important similarity. Unfortunate as this might be, it is also inescapable; there is after all a limit to how well a statistical model can approximate the biological reality. An alternative to the inherent difficulty of attaching statistical importance to weak similarities is the use of biological knowledge in deducing sequence descriptors that model evolutionary distant homologies. BLOCKS (see S. Henikoff and J. Henikoff, "Automatic Assembly of Protein Blocks for Database Searching," Nucleic Acids Research, 19:6565-6572, 1991) is a system that employs pattern-induced profiles obtained over the protein classification defined in the PROSITE (see S. Henikoff and J. Henikoff, "Protein Family Classification Based on Searching a Database of Blocks," Genomics, Vol. 19, pp. 97-107, 1994) database in order to functionally annotate new genes. The advantage here is that this classification is compiled by experts working with families of proteins known to be related. As a result, even weak similarities can be recognized and used in the annotation process. On the other hand, there is only that much knowledge about which proteins are indeed related and consequently being representable by a pattern. Furthermore, there is always the danger that a family of proteins actually contains more members than is currently thought of. By excluding these other members from consideration, it is possible to get patterns that "over fit" the family, i.e., they are too strict to extrapolate to the unidentified family members. Therefore, it is evident that there exists a need for methods and apparatus for creating improved pattern dictionaries through unique dictionary formation techniques that permit improved sequence homology detection, as well as a need for methods and apparatus for sequence homology detection, itself, which are not limited to searching only annotated sequences. Summary of the Invention The present invention provides solutions to the above and other needs by providing improved pattern dictionary formation techniques and improved sequence homology detection techniques, as will be described in greater detail below. In a sequence homology detection aspect of the invention, a computer-based method of detecting homologies between a plurality of sequences in a database and a query sequence comprises the following steps. First, the method includes accessing patterns associated with the database, each pattern representing at least a portion of one or more sequences in the database. Next, the query sequence is compared to the patterns to detect whether one or more portions of the query sequence are homologous to portions of the sequences of the database represented by the patterns. Then, a score is generated for each sequence detected to be homologous to the query sequence, wherein the sequence score is based on individual scores generated in accordance with each homologous portion of the sequence detected, and the sequence score represents a degree of homology between the query sequence and the detected sequence. In a dictionary formation aspect of the invention, a computer-based method of processing a plurality of sequences in a database comprises the following steps. First, the method includes evaluating each of the plurality of sequences including characters which form each sequence. Then, at least one pattern of characters is generated representing at least a subset of the sequences in the database. The pattern has a statistical significance associated therewith, the statistical significance of the pattern being determined by a value representing a minimum number of sequences that the pattern supports in the database. Accordingly, in a significant departure from prior art approaches, the methodologies of the invention are based on the unsupervised pattern discovery performed on arbitrary data bases without requiring any prior partition of the database. The BLOCKS approach assumes that the database has been partitioned (by outside experts) in subsets of biologically related sequences. Profiles are then obtained by individually processing each subset. As a result of this approach, BLOCKS cannot handle arbitrary databases, since not all such databases are partitioned in related subsets. In fact, BLOCKS works only with the SwissProt database, referenced herein, using the protein groups described in the PROSITE database, also referenced herein. The present invention, on the other hand, preferably uses the entire database as its input and provides for an automated methodology to decide which patterns are important and which are not. Further, the present invention provides anew statistical framework for evaluating the statistical importance of the discovered patterns. Unlike existing frameworks, the approach of the invention introduces the concept of memory in its computations. That is, for example, when a region A on the query sequence is compared with a region B on some database sequence, the resulting similarity score is evaluated by taking into account the similarity of A to all the other sequences in the database. The use of the enhanced statistical model described herein allows the detection of important local similarities which, using existing approaches, would go undetected. This allows the system of the invention to perform similarity searches at a higher level of sensitivity than is possible using prior art systems. Still further, the present invention provides an automated method to utilize partial annotation information available in the underlying database D. This methodology allows the user to exploit in greater detail similarities that seem unimportant. For example, when a pattern matches the query sequence region A, all the database regions also matching that pattern can be inspected. If all (or more) of these database regions are annotated in the same way, then this annotation can be transferred to the query region A. Partially annotating the query sequence in the above manner can prove useful towards the overall sequence annotation. The present invention also provides for a detailed methodology to cluster the database into groups of highly homologous sequence. In a genetic data processing application, this methodology allows for the correct treatment of multi-domain proteins. It is also to be appreciated that the inventive concepts described herein may be implemented on a network such as, for example, the Internet, in a client-server relationship. This allows a user to enter a query sequence at a client device at a remote location that is transmitted to a server over the network and processed at the server. The server then returns the results of the homology search to the client device of the user via the network. These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings. Brief Description of the Drawings FIG. 1 is a block diagram of a sequence homology detection system according to an embodiment of the present invention; FIG. 2 is a block diagram of an exemplary hardware implementation of a sequence homology detection system of the present invention; FIG. 3 is a block diagram of a network-based implementation of a sequence homology detection system of the present invention; FIG. 4 is a high level flow chart illustrating a search engine methodology according to one embodiment of the present invention; FIG. 5 is a diagram illustrating an example of a pattern matching process for a given query sequence according to one embodiment of the present invention; FIG. 6 is a diagram illustrating an example of a hash table generated for a particular query sequence according to one embodiment of the present invention; FIG. 7 is a diagram illustrating an example of a chaining process for a given query sequence according to one embodiment of the present invention; FIG. 8 is a diagram illustrating an example of a directed, weighted graph generated in accordance with a scoring process for a given query sequence according to one embodiment of the present invention; FIG.9 is a flow diagram illustrating an embodiment of the matching and chaining phase of a search engine methodology of the present invention; FIG. 10 is a flow diagram illustrating an embodiment of the scoring phase of a search engine methodology of the present invention; FIG. 11 is a diagram illustrating a distribution of patterns with given backbone structures in SP34 and comparison with the random distribution of the same backbones; FIGs. 12 through 15 are flow diagrams illustrating a dictionary formation methodology according to one embodiment of the present invention; FIG. 16 is a flow diagram illustrating a database clean up process according to one embodiment of the present invention; and FIGs. 17 through 30 are diagrams illustrating experimental results associated with the present invention. Detailed Description of Preferred Embodiments The present invention will be explained below in the context of an illustrative genetic data processing application. However, it is to be understood that the present invention is not limited to such a particular application. Rather, the invention is more generally applicable to creating pattern dictionaries from arbitrary databases (after appropriately translating database records to an equivalent sequence representation) and performing unrestricted homology searches of any given query record against the data in the database. Referring initially to FIG. 1, a block diagram of a sequence homology detection system according to an embodiment of the present invention is shown. The illustrative system 100 includes a search engine module 110, a pattern dictionary 120, a dictionary formation module 130 and a source database 140. As will be explained in detail below, the search engine 110 receives a query sequence from a user and performs a search of the pattern dictionary 120 to attempt to locate patterns stored in the dictionary which represent sequences from the database 140 that are similar in some way to the query sequence. Prior to a query, the dictionary formation module 130 creates the pattern dictionary 120 from the database 140. This dictionary formation process is referred to as information gathering or mining. The search engine 110 returns some or all of the query results (e.g., homologous sequences from the database) to the user. FIG. 2 is a block diagram of an exemplary hardware implementation of the sequence homology detection system 100. As shown, the system 100 may be implemented in accordance with a processor 210, a memory 220 and I/O devices 230. It is to be appreciated that the term "processor" as used herein is intended to include any processing device, such as, for example, one that includes a CPU (central processing unit). The term "memory" as used herein is intended to include memory associated with a processor or CPU, such as, for example, RAM, ROM, a fixed memory device (e.g., hard drive), a removable memory device (e.g., diskette), flash memory, etc. In addition, the term "input/output devices" or "I/O devices" as used herein is intended to include, for example, one or more input devices, e.g., keyboard, for making queries and/or inputting data to the processing unit, and/or one or more output devices, e.g., CRT display and/or printer, for presenting query results and/or other results associated with the processing unit. It is also to be understood that the term "processor" may refer to more than one processing device and that various elements associated with a processing device may be shared by other processing devices. Accordingly, software components including instructions or code for performing the methodologies of the invention, as described herein, may be stored in one or more of the associated memory devices (e.g., ROM, fixed or removable memory) and, when ready to be utilized, loaded in part or in whole (e.g., into RAM) and executed by a CPU. FIG. 3 is a block diagram of a network-based implementation of the sequence homology detection system of the present invention. As shown, a client computer system 310 is in communication with a server computer system 320 via a network 330 such as, for example, the Internet. However, the network could also be a private network and/or a local network. According to the implementation of FIG. 3, all or a portion of the elements of system 100 shown in FIG. 1 reside on and are executed by the server 330. A user operating remotely on his client computer system, e.g., a personal computer, laptop and/or some other type of personal processing device, enters a query sequence through application software running on the computer system, e.g., web browsing software and/or a graphical user interface associated with the search engine. The query is passed over the network 330, in a conventional manner, and processed by server 320. The server 320 receives the query and executes the search engine methodologies of the invention in accordance with a stored pattern dictionary. The dictionary may have been formed by a dictionary formation module of the invention in accordance with a source database. The server returns some or all of the query results (e.g., homologous sequences from the database) to the client via the network. It is to be understood that the server may represent more than one computer system. That is, one or more of the elements in FIG. 1 may reside on and be executed by their own computer system, e.g., with its own processor, memory and I/O devices. Given a general description of the elements of the sequence homology detection system of the invention and various exemplary hardware implementations, the various inventive methodologies will now be explained in detail. The respective methodologies associated with the search engine module 110 and the dictionary formation module 130 will be described below together in an illustrative embodiment associated with the sequence homology detection system 100. However, it is to be understood that the inventive methodology associated with the search engine module may be utilized with other known pattern dictionaries. Likewise, the inventive methodology associated with the dictionary formation module may be employed to create pattern dictionaries for use with other known search engines. For ease of reference, the remainder of detailed description will be divided into sections as follows: (I) Definitions; (II) Search Engine; (III) Dictionary Formation; and (IV) Experimental Results. I. Definitions The following section provides some notation that is used below to describe various aspects of the invention. Σ refers to the set of characters used for constructing sequences. In the biological setting (the one preferably addressed here), the sequences that we are dealing with are proteins and the set Σ is the set of the 20 amino acids. The terms protein/sequence will be used interchangeably below, and the same is true for the terms character/amino acid. D refers to the underlying database of proteins, the one that the collection of patterns (pattern dictionary or bio-dictionary) is built upon. An example database that we will be using throughout this description is the following (containing three sequences) D = {s„ s 2 , s3}, where s, = ARQSTLUMNPQ s 2 = FDSALQFTGMRA s 3 - RKMFPQDDSLA II refers to a collection of patterns, i.e., referred to herein as the bio-dictionary or the pattern dictionary 120. The exact method of obtaining II will be explained below in the section entitled "Dictionary Formation." Patterns are regular expressions describing families of peptides. The polypeptide family represented by a single pattern is expected to contain stretches of related (structurally, functionally, evolutionary) amino acids. More specifically, given the alphabet Σ of amino acids, we define a pattern P in Et as a regular expression of the form: ∑ ( ∑ u {'.'})* Σ, where '.' (Referred to as the "don't care character") denotes a position that can be occupied by an arbitrary residue. Being a regular expression, every pattern P defines a language of polypeptides consisting of all strings that can be obtained from P by substituting each don't care character by an arbitrary residue from Σ. Also, each P in II matches at least K-- in sequences in D. K^ is an integer and its computation is explained below in the "Dictionary Formation" section. In the example below, we will assume a specified value. The regions of the database sequences matching a pattern P are recorded in an offset list L D (P) of the pattern P. This is a list containing all the pairs (j, k) such that the pattern P matches the j-th sequence of the database at offset k. For the example database introduced above, and assuming that K^- = 2, the set of patterns is P = {A.Q.T, M.PQ}. The two patterns in this set appear in the following input sequences (the matching positions are shown in bold-case): A .Q . T M . PQ s,: ARQSTLUMNPQ s,: ARQSTLUMNPQ s 2 : FDSALQFTGMRA s 3 : RKMFPQDDSLA The offset lists of the two patterns are as follows: L D (A.Q.T) = { (1, 1), (2, 4) } L D (M.PQ) = { (1, 8), (3, 3) } It is to be appreciated that the first term in each parenthetical is the sequence number and the second term is the offset. The offset corresponding to any character in a sequence is the distance of that character from the beginning of the sequence. For example, (2, 4) denotes that the sequence is s 2 and that the pattern A.Q.T begins at a distance of four characters from the beginning of sequence s 2 . Q refers to the query protein. An objective of the search engine of the invention is to identify sequence homologies between the database sequences in D and any query sequence Q that the user may supply. As an example, we will use the query Q = JLANQFTLMDPQDLA. This sequence has a number of homologous regions with the database sequences. Below, we are showing some of them (again, pairs of similar regions are shown in bold-case): Q: JLANQFTLMDPQDLA Q: JLANQFTLMDPQDLA si: ARQSTLUMNPQ s2: FDSALQFTGMRA Thus, the search engine identifies similarities such as the ones shown above. Two regions of equal length are similar if, when put one under the other, they have several matching characters lined up together. The exact notion of similarity will be made precise in what follows; for now, it suffices to say that it involves the use of scores for every possible pair of characters. Every such score is a measure of fitness, identifying how biologically probable it is for two characters to be lined up together. Given a pattern P, a "backbone" of P is defined as a string over the alphabet {1, 0} obtained from P by turning every residue of P into the character ' 1 ' and every don't care into the character '0'. For example, the backbone of the pattern P = "A..DFE" is the string "100111". Backbones partition the set of patterns into equivalent classes with each class containing all the patterns sharing the same backbone. Another concept that may be employed in accordance with the invention is that of the "density" of a pattern. Generally, the density describes the minimum amount of homology between any two members of G(P) (where G(P) refers to the language of polypeptides consisting of all strings that can be obtained from P by substituting each don't care character by an arbitrary residue from Σ) and is defined by two integers L and W (L≤W): a pattern P has an <L, W> density if every substring of P that starts and ends with an amino acid and has length at least W contains L or more residues. In every such pattern, the ratio of the number of residues over the length of the pattern is at least L/W. The integers L and W are parameters of our preferred method and their values control the amount of similarity allowed in the searches performed. These parameters are also described in detail in a U.S. patent application identified by serial no. 09/023,756, filed on February 13, 1998, directed toward the "TEIRESIAS" algorithm, which claims priority to aU.S. provisional application identified by serial no.60/049,461, filed on June 12, 1997, the disclosures of which are incorporated herein by reference. Notice that, by definition, an <L, W> pattern has at least L residues. Further, given a pattern P and a sequence S, any substring of S that belongs to G(P) is called a matching site for P. The offset list of P contains the offsets of the first character of all matching sites of P. Given the above definitions, we can now provide a general description of a preferred approach to improved sequence homology detection according to the invention, for example, in association with system 100 (FIG. 1). Sequence homology detection comprises two distinct phases: information gathering and searching. First, before any search is performed, the underlying database D is mined. This mining procedure is also referred to as information gathering or dictionary formation. During this step all the significant <L, W> patterns are gathered and each such pattern P is associated with its offset list L D (P) (the particular criterion used for deciding if a pattern is significant or not is detailed in the search engine section). The second step is the actual search. Given a query sequence Q, we identify all the patterns P (among those collected in the first phase of the process) which are matched by Q. For every such P, we pair together the region(s) of Q which match P with the corresponding regions of all the database sequences that also match P (these regions are easily accessible through the offset list L D (P)). Finally, the paired regions are extended and aligned in both directions and scored by the use of a (user-defined) mutation matrix and the highest scoring matches are reported along with the implied alignments. It is worth pointing out here that the information gathering phase is an one-time computation over D. The results obtained are stored in a file (pattern dictionary 120 of FIG. 1) and used every time that a search session is performed over the database D. A motivation behind using patterns for describing related polypeptides lies on biological facts. In particular, it is known that there is a number of basic elements (either of structural nature like alpha helices, beta strands, loops, etc., or larger, functional units like motifs, modules and domains) which are the building blocks that proteins are made of. One of the key mechanisms used by evolution for differentiating among species is the mutation of amino acid positions in a protein sequence. Functionally/structurally important regions, though, are more resistant to such mutations. It is then reasonable to expect that such biologically related polypeptides can be identified by discovering: (a) conserved positions in their primary structure; and (b) an increased degree of reusability. In our terminology, these properties correspond to patterns with unexpectedly high support. However, it is important to reiterate that the inventive search engine methodology described herein may be utilized with other known pattern dictionaries. Likewise, the inventive dictionary formation methodology may be employed to create pattern dictionaries for use with other known search engines. It is to be appreciated that both methodologies are described below in sections II and III, respectively. While the dictionary formation method is applied before the search method, for the sake of facilitating the explanation, we discuss the processes in reverse order, starting with the search engine method and followed by the dictionary formation method. II. Search Engine Referring now to FIG. 4, a high level flow chart illustrating a search engine methodology according to one embodiment of the invention is shown. This methodology may be employed by the search engine 110 in FIG. 1. The operation of the search engine can be broken down into two distinct phases : (i) pattern matching + chaining (block 402); and (ii) scoring (block 406). The first phase checks every pattern P in II (recall that II refers to the pattern dictionary 120 mentioned above) against the query sequence Q, isolating all the patterns that match Q. Below we describe a specific algorithm for performing this "check for a match" process; however, any matching algorithm can be used. Notice the "Complexity Checking" (block 404) of phase 1 in FIG. 4. In some cases, it is possible that a pattern P matches the query Q and yet it is undesirable to take this match into account. Such examples are the so called "low-complexity" patterns. Such patterns arise sometimes due to the nature of biological sequences. Low-complexity patterns are comprised almost exclusively of the same amino acid, e.g., the pattern "A.A..AAA.A.A" and appear because some proteins have long regions of repeating amino acids. Such patterns, though, are not considered important for homology detection purposes and it may be better to ignore any matches induced by these patterns. The decision to do so or not is left to the system users, by allowing them to set a "complexity-checking" component within the search engine to its "ON" or "OFF" state. For now, it is enough to remember that in the case when this component is set to "ON," some patterns in P will be ignored even though they match the query protein Q. Below we will give a description of the precise conditions under which a pattern P matching Q is ignored when the complexity checking is "ON." Continuing with phase 1, every pattern P that matches Q generates a local homology between Q and all the database regions also matching P. Those latter regions are easily accessible through the offset list L D (P) of P. Assuming that P matches Q at offset i, every region (j, k) in L D (P) gives rise to the segment (i, j, k, 1), where 1 is the length of the pattern P. This is explained in detail below. Finally, as the matching process goes on, compatible segments get chained together, forming longer segments (the notion of compatible segments as well as the operation of chaining will be explained below). At the end of phase 1 , we are left with a set R containing all the sequences of the database D that match at least one pattern P in II such that P also matches Q. Each sequence S in R is accompanied by the segments that describe the pattern-induced homologies between Q and S. Consider the example that we introduced above. The query sequence Q = JLANQFTLMDPQDLA, matches both the patterns PI = "A.Q.T" and P2 = "M.PQ" in II. Given that PI matches Q at offset 3 and P2 matches Q at offset 9, these 2 matches give rise to the following 4 segments: (3, 1, 1, 5) (3, 2, 4, 5) - from L D (P1) (9, 1, 8, 4) (9, 3, 3, 4) - from L D (P2) and the set R is: R = { Sl - (3, l, l, 5) (9, 1, 8, 4) s 2 - (3, 2, 4, 5) s 3 - (9, 3, 3, 4) } where each sequence s ; in R carries along a list of segments. Notice that in this particular example no chaining was possible. The second of the phases of the search engine methodology depicted in FIG. 4 assigns a score to every sequence S in R. There are a number of approaches for computing this score for a given S j . Each one, though, starts by scoring all the segments carried along by S j . Each segment receives a score (these scores are called segment scores). The scoring is performed based on a mutation matrix M. Mutation matrices are 20 x 20 arrays of reals. The (ij)-th entry of such a matrix indicates the probability that the i-th amino acid has changed during evolution to the j -th amino acid. For our purposes here, it suffices to assume that M is a function from Σx∑->R which, when given two amino acids Al, A2 as input, returns a real number. Since there are many mutation matrices that may be used, the user is given the option of choosing the particular matrix M to use. For example, assume that we are using the unary mutation matrix M, i.e., M(A, A) = 1 for all amino acids A, and M(A,B) = 0 for all distinct amino acids A, B. Consider the first sequence in the set R above, namely the sequence s, which carries along the segments (3, 1, 1, 5) and (9, 1, 8, 4). We show how to score the first of these two segments (the other one, as well as all segments in the set R are scored similarly). Imagine that we have aligned (one under the other) the two protein regions of length 5 implied by the segment, i.e., the region starting at offset 3 of Q and at offset 1 of s,: ANQFTL (from Q) ARQSTL (from s,) The score of the segment is then computed by summing over all the aligned columns the values M(X,Y) where X, Y are the two amino acids aligned together under any given column. For the segment above, this score is: M(A, A) + M(N, R) + M(Q, Q) + M(F, S) + M(T, T) + M(L, L) = 1+0+1+0+1+1=4. The scoring scheme described above for the segments is a basic scoring scheme. That is, the system user can set a number of options to modify the way in which the segment score is computed. For example, if the system parameter extend (which is an integer and is described below) has been set to a value larger that 0, the scoring takes into account not only protein regions described by the segment, but also an area of extend amino acids left and right of the two regions (the scoring proceeds exactly as described above, only that now longer regions are considered). Furthermore, if a gapped _alignment option has been set, then in the alignment of the extended regions (i.e., those regions left and right of the basic segment) we also use gaps in order to maximize the alignment score. At the end of the above process (independent of which scoring variant is used), a segment score will have been computed for every segment in the set R. These segment scores are then utilized for the final step of the scoring phase, namely, quantifying the amount of similarity between Q and all the sequences S j in R. This quantification is performed by assigning a score to every S j in R; this score is called the sequence score for S (in order to distinguish it from the segment scores). Ideally, the higher the sequence score is for a sequence S , the more similar this S. should be to Q. In scoring S JS we only consider the segment scores of the segments that S. carries along. There are, again, several options. In the simplest case, the sequence score for S j is defined as the maximum among all the segment scores for the segments of S.. A second, more involved approach is described below. Here, a directed graph is first built for the sequence S. being scored. The vertices of this graph are all the segments that S j carries along. Every vertex is assigned the segment score of the segment corresponding to that vertex. An edge is placed from the segment (i, j, k, 1) to the segment (i', j, k', 1') if i <= i' and k <= k', i.e., if the relative order of the two query regions described by the two segments (the regions Q[i..i+1-1] and Q[i'..i'+r-l]) is the same with the relative order of the two regions on S. described by the two segments (the regions S. [k..k+1- 1 ] and S j [k\ .k'+l'- 1 ]). As with the vertices, every edge is also assigned a score, representing how regular is the displacement of the regions in the query (i.e., the difference i'-i) relative to the displacement of the regions on S j (i.e., the difference k'-k). The larger the difference between the displacements (i.e., the number | (i'-i) - (k'-k) |), the smaller the score of the edge. After the graph has been built, we can apply any standard longest path algorithm for identifying the path with the highest score (the score of a path is defined as the sum of all vertex and edge scores in the path). This score then becomes the sequence score for S j . Above, we have described several ways of computing both the segment and the sequence scores. In general, any other "biologically reasonable" scoring scheme can be used in their place. Referring now to FIGs. 5, 6 and 7, more specific examples of the pattern matching, chaining and scoring processes of the search engine methodology 400 will now be explained. Again, during the search phase implemented by search engine 110, query proteins Q are provided to the system and database sequences Se D similar to Q are identified and reported back to the user. The searching phase utilizes a set π of patterns obtained by mining the input database D. For the purposes of the example here it is sufficient to assume that II is a set of <L, W> patterns of the form described in the "Definitions" section above. Each pattern Pe II is accompanied by its offset list L D (P) and has support at least !£-_;„ in D. The numbers L, W and K^- are parameters of our preferred method and the way in which they are set will be described below in the "Dictionary Formation"section. The first thing to do when a query sequence Q is provided to the system is to locate all Pe II that are matched by Q. This can be done very fast by using a hashing variation of a technique presented in D. Gusfield, "Algorithms on strings, trees and sequences: Computer Science and Computational Biology", Cambridge University Press, 62-63, 1997. More specifically, for every position within Q we generate W hash values, one for every substring of length 2, 3, ..., (W+l) starting at that position. For every such substring, the corresponding hash value depends only on the first and last characters of the substring, as well as on the number of residues in between these two characters. FIG. 5 provides an example of the process for a given query sequence. In the example, the hash values generated for the W = 4 substrings starting at position 6 of the sequence Q are shown. The hash value used for a substring s is: H(s) = ((av(first_char)-av('A'))+(av(last_char)-av('A'))*26)*W+gap where av(c) is the ASCII value of the character c, first_char and last_char are the first and last characters of s respectively and gap is the number of residues in between the first and last characters of s. Notice that because of the <L, W> density restriction, the gap is always less than W. The hash entry corresponding to a particular value h contains all the offsets p of the query sequence Q such that a substring (of length at most W+l) starting at p hashes to the value h. FIG. 6 gives an example of the hash table generated for a particular query sequence. In FIG. 6, a snapshot of the hash table generated for the sequence Q = AFGHIKLPNMKAMGH is shown. Instead of using actual numeric hash values in order to label the table entries, we use a pattern describing all the strings that hash to a particular hash value. Each hash entry points to a list of offsets. Every offset in that list marks the beginning of a substring in Q which hashes to the relevant hash entry. In order to check if a pattern P e π is matched by Q we use an array of counters C[1..|Q|] of size equal to the length of Q. Initially, every entry of the array is set to 0. Starting at offset 1 in P, we locate all offsets j within P corresponding to a residue, excluding the offset corresponding to the last residue. For every such j, let F be the shortest substring of P starting at j and containing exactly two residues. Let OL denote the list of offsets in Q pointed to by the hash table entry corresponding to F. If OL is not empty, then for every offset p e OL, the counter C[p-j+l] is incremented by one. If the pattern P contains exactly n residues, then at the end of this process the counter C[i] will have the value (n-1) if and only if Q matches P at offset i. An advantage of the matching technique described above is that it typically requires time which is sublinear to the size of the query sequence Q and only depends on the number of residues in the pattern P. Once a pattern Pe II is found to be matched by a substring of Q starting at offset i, we need to relate that substring of Q with all the data base regions also matching P. This is easily done by scanning the offset list L D (P) which contains exactly these regions. More specifically, each entry (j, k) e L D (P) indicates that the substring starting at offset k of the j-th database sequence S j is an element of G(P). The local similarity between the query sequence Q and the database sequence S j is then registered as a quadruplet (i, j, k, 1), called a segment, which gets associated with S j . The number 1 = |P| is the length of the local similarity. Sometimes, two distinct patterns P and P' matching both Q and a database sequence S j correspond to the same local similarity between Q and S j . An example of such a situation is depicted in FIG. 7. In such cases, the individual segments corresponding to the two patterns must be chained into one. In particular, two segments (i, j, k, 1) and (i', j, k', 1') associated with S j are called compatible if and only if: k <= k' and k + 1 + w_len > k' and k' - k = i' - i where w_len is an integer parameter defined by the user; w_len allows for the chaining of segments which are not intersecting as long as one starts no more than w_len positions after the end of the other. The segment resulting from chaining (i, j, k, 1) and (i', j, k', 1') together is: (i, j, k, max(l, k'-k+l'» Chaining of compatible segments takes place every time that a new segment gets associated with a database sequence S j5 as the result of locating a pattern Pe II matched by both Q and S j . If there are segments already associated with S j which are compatible with the newly arriving segment, then the relevant pair of the new and the existing segment is discarded and gets replaced by the outcome of their chaining. Having identified all the local similarities between Q and the database sequences, we are left with the task of evaluating these similarities. This is done by assigning a score (using a user defined scoring matrix) to every database sequence S j that is associated with at least one segment. Several options are available for the scoring function. One of ordinary skill in the art will appreciate other ways to score given the inventive teachings herein. As mentioned above, one approach is to score each segment of S j individually and assign to S j the highest of these scores. Scoring a segment (i, j , k, 1) can be done in either of two ways: no gaps allowed: in this case the score is computed from the ungapped alignment implied by the segment, namely, the alignment of the regions Q[i, i+1-1] of the query and S j [k, k+1-1] of the sequence. Furthermore, the user is given the option to extend the alignment "around" the segment by setting the variable extend. If this value is greater than 0, then the score is computed from the ungapped alignment of the regions Q[i-extend, i+1-1 +extend] and S j [k-extend, k+1-1 +extend]. allowing gaps: this option is available only when extend > 0 and permits for a finer scoring of the area around the segment, by allowing for gaps in that area of the alignment. As mentioned above, other scoring options are also offered, taking into account the relative order of the segments associated with the database sequence S j currently being scored. One approach after scoring each segment individually as described above, is to build a directed, weighted graph, as shown in FIG. 8. The vertices V of this graph are the segments associated with S. and there is a directed line between the segments (i, j, k, l) and (i', j, k', l') if: i <= i' and k <= k'. Every vertex is assigned a weight equal to the score of the corresponding segment, while every edge E is weighted based on: (a) how close the two segments are, i.e., the value of (i'- i - 1); and (b) how regular is the displacement among the two segments, i.e., how much different (i' - i) is from (k' - k). The score of a path within this graph is the sum of the weights of all the vertices and edges of the path. The path with the maximal score is then computed and that score is assigned to S.. Referring now to FIG. 9 and 10, respective flow charts summarily illustrate embodiments of the two phases performed by a search engine module of the invention. FIG. 9 depicts an embodiment 900 of the matching and chaining phase, while FIG. 10 depicts an embodiment 1000 of the scoring phase. In FIG.9, it is assumed that every sequence S. in the database D has an associated list of segments SegL(S.). Initially, all these lists are empty. Also, the set R is initially empty. As the computation described by the flow chart of FIG. 9 proceeds, R is populated by sequences S.. As such a sequence gets inserted into R, it brings along its segment list SegL(S j ). Thus, for every pattern P in II (block 902), the search engine performs does the following operations. In step 904, the search engine determines whether P matches Q. If no, then go to the next P in the dictionary. If yes, in step 906, the search engine determines whether the complexity checking component has been enabled by the user. If it has been enabled, in step 908, the engine determines is the match of P to Q is a low complexity match (to be explained in greater detail below). If yes, then the engine goes to the next P in the dictionary. If no, then, for all offsets i where P matches Q (bock 910) and for all (j, k) in L D (P) (block 912), the engines performs the following operations. In step 914, it chains the segment (i, j, k, |P|) with any compatible segment in SegL(S.). Then, the engine adds the result in SegL(S.). In step 916, the engine determines whether S s is in R. If yes, then the engine returns to step 914. If no, then the engine adds S. and SegL(S.) in R. Steps 914 through 916 are performed for all offsets i where P matches Q and for all (j, k) in L D (P). The entire process (steps 904 through 916) is repeated for every P in the pattern dictionary. Now that matching and chaining has been performed, the search engine the scoring operations in FIG. 10. So, for all sequences S. in R (block 1002) and for all segments s in S } (block 1004), the engine computes a segment score for s, in step 1006. Then, for all sequences S in R (block 1008), the engine computes a sequence score for S., in step 1010. Lastly, in step 1012, the engine reports the highest scoring S. in R along with the local alignments implied by their respective sequence scores. Referring again to FIG.4 and as previously mentioned, the search engine module 110 may include a complexity checking component (e.g., step 906 of FIG. 9). The complexity checking component is responsible for discarding local homologies generated because of low complexity regions. First, the low complexity checking happens in two phases: both during the dictionary building phase ("Dictionary Formation" section) as well as in the Searching phase (this section). During the dictionary building phase, low complexity regions are dealt with in two ways. First, when looking for patterns in the input database, we disregard (i.e., remove from the input) all protein regions that constitute of L or more consecutive appearances of the same amino acid (L is an integer parameter that we set during the dictionary building phase; for our purposes here it suffices to assume that it has some fixed value). This takes care of low complexity regions like the one shown in boldface below (the dots indicate that there are more amino acids left and right of the depicted string): ASDFHRTYIUSFFFFFFFFFFFFFFFFFFAKJRBVCJ This is, however, just one case of a low complexity region. Many more exist. Consider, for example, the bold-faced part of the following region: GFWRETIOJIFPAPAPAPAPAPAPAPAPAPAPAPAJSHDGF. . . . To deal with regions of that sort (i.e., of a generalized repetitive composition), we also discard all overlapping appearances of a given pattern P. In other words, if the pattern P matches the database sequence Sj at the offsets k [ and k 2 (where k 2 > k^ and k 2 -kj is less than the length of P, then neither offset is placed in the offset list L D (P) of the pattern P. For example, in the region shown above, the pattern "P.P.PA" which has a length of 6, appears (among other places) at offsets 12 and 14, i.e., at overlapping positions, since 14-12 = 2 and 2 < 6. During the search engine phase now, we have two ways of capturing and discarding low complexity homologies. The first one is a generalization of the example given above. In short, we would like to discard all patterns that are not "linguistically rich," i.e., they exhibit an over-representation of one specific amino acid. For that purpose, we allow the user to set the value of a parameter V (a real between 0 and 1). A pattern P matching the query sequence Q will be further considered only if a variability v(P) of P is no more than the value V. In particular, for each pattern P, we define its variability v(P) as: max {number of times that the residue R appears in P} v(p) = _R total number of positions in P covered by residues Even after passing the variability test described above, a second level of checking follows. This second level intends to capture a more subtle notion of low complexity. To understand how it works, consider the following example. Let us assume that the query protein Q is the following simple string: Q = FRGDSAAABBBBAABBSJIEKL and let us consider the pattern P = "A...B..AB". The pattern matches the query at offset 7, as shown below: A . . . B . . AB FRGDSAAABBBBAABBSJIEKL The region of the match and its immediate surrounding is a low complexity region (it is comprised of just 'A's and 'B's). The pattern P, however, has a variability of just 0.5. To deal with low complexity regions of this character, we allow the user to define integers margin and minjn (where minjn <= 2 *margiή) as well as a percentage perc. We then check for approximate matches of the pattern under consideration (here the pattern "A...B..AB") in margin characters left and margin characters right of the actual matching site (here the offset 7 of the query). A pattern P matches approximately at a given offset of the query if, when placed at that offset, at least perc % of the regular characters in the pattern match the underlying characters of the query. For example, if perc - 75%, then the pattern "A...B..AB" approximately matches Q at offsets 6 and 8, as shown below: A . . . B . . AB FRGDSAAABBBBAABBSJIEKL (at offset 6) A . . . B . . AB FRGDSAAABBBBAABBSJIEKL (at offset 8) since, in each of these offsets, 75 % of the pattern regular characters (i.e., 3 out of the 4) match the corresponding query characters. Having defined the parameters margin, minjn and perc, we are now ready to say when a pattern induced local homology between the query and a database region is deemed of low complexity during this level of checking. Consider that a pattern P matched the query Q at offset X and a database sequence S at offset Y. The matching will be considered of low complexity if either of the following is true: (i) the pattern matches the query Q approximately in at least minjn of the 2 ^margin characters left and right of X.; or (ii) the pattern matches the sequence S approximately in at least minjn of the 2*margin characters left and right of Y. III. Dictionary Formation As previously mentioned, in a preferred embodiment, the dictionary formation methodology is performed prior to a the search engine receiving a query sequence from a user. This is because, referring again to FIG. 1, the search engine module 110 preferably utilizes the pattern dictionary 120 formed by the dictionary formation module 130. The dictionary formation module 130 implements the inventive database processing methodology that is explained below to form the pattern dictionary (or bio-dictionary). However, also as previously mentioned, the pattern dictionary 120 may be used by search engines other than the one described herein. That is, existing search engines may utilize the patterns mined from a source database in accordance with the invention. Nonetheless, in accordance with a preferred embodiment, it will be assumed that the pattern dictionary formed according to the inventive methodology described herein will be used by the inventive search engine also described herein. During the dictionary formation phase (also referred to as an information gathering phase), the set II of all the significant <L, W> patterns found in the database D under consideration is determined. This is, in essence, a data mining procedure in which D is exploited with the intention to discover hidden relationships among the sequences of D. The idea is to focus on those relationships which are considered unexpected and by virtue of that quality they are also presumably of biological relevance. For our purposes, the significance of a pattern will be described by its support within D. More specifically, we will seek to define the number K,^,, (the minimum support) such that every pattern with support at least ]£_,, ; _ can be shown to be statistically important. All such patterns (along with a few exceptions which do not abide by the minimum support requirement) will be included in the set II, the input to the search phase. Recall that the concept of K^- was first introduced above in the "Definitions" section. Also, the concept of "density" was also introduced. Recall, that density describes the minimum amount of homology between any two members of G(P) (where G(P) refers to the language of polypeptides consisting of all strings that can be obtained from P by substituting each don't care character by an arbitrary residue from Σ) and is defined by two integers L and W (L<W): a pattern P has an <L, W> density if every substring of P that starts and ends with an amino acid and has length at least W contains L or more residues. Again, these parameters are described in the above-incorporated U.S. patent application identified by serial no. 09/023,756, filed on February 13, 1998, directed toward the "TEIRESIAS" algorithm. While a preferred methodology of the invention utilizes parameters L and W in forming the pattern dictionary II, it is to be appreciated that other known techniques for determining the minimum amount of homology between any two members of a group of sequences may be employed. Setting the values of parameters L, W and K mm involves the consideration of a number of sometimes conflicting and interconnected factors. The ratio L/W, for example, describes the amount of homology allowed, during the search phase, between a query sequence and the proteins in D. A small L/W will permit the detection of weak similarities. Since several value pairs (L, W) lead to the same ratio L/W, what should the exact settings for L and W be? Opting for a large value of L will usually result in a long running time for the information gathering phase (unless L/W is close to 1). Furthermore, selecting a large L would ignore weak patterns with only a few amino acids, which are among the ones that are of interest (i.e., are usually missed by existing similarity searching tools). Selecting too small an L on the other hand (e.g., 2 or 3) may be useless since in that case the distribution of <L, W> patterns with L+i residues (for small i) in the input database D is not significantly different from the corresponding distribution in a random database with the amino acid composition of D. In the most general case, it is to be appreciated that the values L, W and K mm can be chosen completely arbitrarily. However, in order to substantially guarantee that the discovered patterns are well above the level of statistical noise, we augment the pattern discovery process with a statistical framework (i.e., a way to set the parameters mentioned above). To make the above point more clear, consider FIG. 11 which compares the distribution of patterns in a test database known as SwissProt Rel. 34 or SP34 (see A. Bairoch and R. Apweiler, "The SWISS-PROT protein sequence data bank and its supplement TrEMBL in 1998", Nucleic Acids Res., 26:38-42, 1998) with the corresponding random distributions. FIG. 11 depicts a distribution of patterns with given backbone structures in SP34 (the distributions being denoted by the "o" symbols) and comparison with the random distribution (the distributions being denoted by the "+" symbols) of the same backbones. Recall that the concept of a backbone was first introduced above in the "Definitions" section. A point (X, Y) in a curve indicates that there are exactly Y patterns (of the given backbone structure) such that each of these patterns has support X, i.e., it is matched by exactly X distinct database sequences. The results shown here were obtained using a "cleaned-up" version of SP34 (cleaning up of a database is explained below). For SwissProt, we computed the support of each <L, W> pattern with exactly L residues (for the values of L, W shown in FIG. 11). Then, the results were tabulated creating one row for each possible backbone: the i-th column of the row corresponding to a given backbone B indicates the number of patterns (of that backbone structure) with support i within SwissProt. The random distributions were obtained by following exactly the same approach for N=2000 randomly shuffled versions of SwissProt (FIG. 13 describes the shuffling process by which each one of the shuffled versions is obtained). In this case, the row for a given backbone B is obtained by averaging the rows corresponding to B in all the 2000 tables. As a result, the i-th column gives a sufficiently accurate estimate of the mean number of patterns with backbone B that appear in exactly i sequences within a random data base having the residue composition of SwissProt. In FIG. 11 , we plot the SwissProt results of selected backbones against the distribution of the means for the same backbones. Although the results presented involve particular backbones, there is no qualitative change if other backbones are used. Notice that we are using 2000 sampling points (the randomly shuffled versions of the input database). This is just for illustrative purposes. The actual number of sampling points can, in principle, be set arbitrarily. In general, as the number of such points becomes larger, the estimates that we obtain converge more accurately to their true values. Given any desired confidence level for the estimations to be computed, standard statistics theory can be used to decide how many sampling points to use. As FIG. 11 implies, we start distinguishing the compositional bias (in terms of patterns) in SwissProt versus a random database only when L becomes 5 or larger. In general, the value of L will depend on the size of the underlying database D: the larger the database, the higher this value should be. The results shown for SwissProt have been obtained using the value L = 6. For W, we chose the value 15, so that the ratio L/W (i.e., the minimum allowed homology) is 40%. Having set the values of L and W it remains to decide what the minimum support K^ should be. We focus only on patterns with exactly L residues since every larger pattern contains at least one subpattern with exactly that many amino acids. One approach is to select K-_ in so that the probability of a pattern appearing in K-.^ or more distinct sequences is small. A closer look at FIG. 11(d), though, reveals that this approach might be too strict. In particular, consider a support level of K = 15. The random distribution indicates that one expects, by chance alone, between one and two patterns with support K. So, according to the aforementioned criterion, a pattern with support 15 within SwissProt would be deemed not important. However, the two distributions have a striking difference at that support level. In particular, while the mean of the random distribution at K = 15 has a value of about 1.5, within SwissProt there are about 180 patterns with support 15. So, it seems that if one considers the probability of a pattern in isolation the result will be to discard many patterns which, according to the above distribution, are above the level of noise. This observation prompts us to use a different criterion for significance. Referring now to FIGs. 12 through 15, we present flow diagrams illustrating a preferred approach for determining a significance criteria. That is, we provide a methodology for computing the value of K-_ in . Given the value of K^, the pattern dictionary II is formed by including therein all patterns in the source database D that have at least that value K^ as support. Thus, it is to be understood that the dictionary formation module 130 of FIG. 1 may perform the processes depicted in FIGs. 12 through 15. Generally, in our approach, instead of looking at individual patterns, we consider together all the patterns of a particular backbone structure. More specifically, for any given backbone B and an underlying database D, let N B κ be: N B κ = number of patterns with backbone B which have support K within D. Also, letX B K be the random variable (defined over the space of all shuffled versions of D) corresponding to N B κ . The minimum support K mm is then the first number K for which the following inequality is true: max .Pr[ ^ > _V β ^ < threshold where threshold is a user defined probability imposing a level of confidence on the minimum support K mm coming out of the above inequality. A smaller threshold leads to a larger value for K mm and to a greater statistical importance for the patterns that will be eventually selected. Thus, as inputs to the process for determining the significance criteria K--,-, we have the source database D, the integer parameters L and W, an integer N representing a number of samples, and threshold which is a real number between 0 and 1. Of course, as the output of the process, we get the integer K^-, such that all patterns in D that have support K mιn or more are statistically important and therefore are included in the pattern dictionary to be searched upon receipt of a user query. The following explanations of the flow charts uses various notation, some of which has been introduced above. However, for the sake of clarity, the following definitions apply. Given any pattern P, the backbone B(P) of P is defined as the string over {1, 0} obtained when replacing every regular character of P with ' 1 ' and every don't care character of P with a '0,' e.g., if P = A..F.G..R, then B(P) = 100101001. If B is an arbitrary backbone and P is a pattern such that B(P) = B, then we say that P is a B- pattern. N B κ is then said to be the number of B-patterns with support K in D, X' B K is the number of B-patterns with support K in the i-th random database. While m B κ is the average of all X' B κ and s B κ is the variance of all X' B K . It is to be appreciated that since we do not have an analytical description for the distribution of the random variable X B K , we employ standard sampling techniques. Thus, for a given database D, we are able to experimentally compute accurate point estimates for both the average (mean) m B κ and the variance (deviation) s B K of the random variable X B K . Referring initially to FIG. 12, the overall process 1200 starts by running the TEIRESIAS algorithm (i.e., as described above and in the above-incorporated U.S. patent application identified by serial no. 09/023,756, filed on February 13, 1998) on D and computing N B K , in step 1202. While the TEIRESIAS algorithm is preferred, it is to be understood that N B κ may be computed using other conventional techniques. Then for i = 1 to N (block 1204), the following steps are performed. In step 1206, a random database R_D { is generated. This step is further explained in the context of FIG. 13. As shown in process 1300, R_D ; (block 1302) is generated by computing, for each sequence S in D (block 1304), a random permutation of the characters in S (step 1306). The random permutation of the characters in S is referred to as S'. S' is added to R_D S (step 1308). The process is repeated until every sequence S in D is processed (block 1310). Thus, R_D ; includes all random permutations S'. Returning to FIG. 12, in step 1208, TEIRESIAS is run on R_D S in order to compute X' B K . Steps 1206 and 1208 are for all i's, that is, until i = N (block 1210). Then, for every B, K (block 1212), we use the X' B κ for computing m B κ and s B κ . This step is further explained in the context of FIG. 14. As shown in process 1400, s B κ is first set to 0 (step 1402). Then, for i = 1 to N (block 1404), s B κ is computed as the sum ofs B K andX' B K (step 1406). Theprocess is repeated for all i's (block 1408) and the mean s B K is finally computed by dividing s B K by N (step 1410). Then, the deviation m B K is computed in steps 1412 through 1420. First, in step 1412, m B κ is first set to 0. Then, for i = 1 to N (block 1414), m B K is computed as the sum of m B K and (X' B)K - s B K ) 2 (step 1416). The process is repeated for all i's (block 1418) and the deviation m B K is finally computed by dividing m B K by N (step 1410). Returning to FIG. 12, in step 1216, p B K is now computed using m B K and s B K . This step is further explained in the context of FIG. 15. As shown in process 1500, a real number C is defined in step 1502, such that: where N represents a particular number of samples or trials, e.g., 2000. Thus, in step 1504, p B κ is computed as being equal to — . It is to be understood that p B κ is an upper C 2 bound for the probability Pr[X B K > N B K ]. Thus, in summary, we use the sample mean and deviation of X B κ to compute C for the values of N B κ at hand. It is to be appreciated that the constant C is associated with Chebychev's inequality, as is well known in the art of statistics. Note that the constant C is calculated using a confidence level of 95%, however, this is not a requirement. That is, any other value would be applicable as well. Returning to FIG. 12, steps 1214 (FIG. 14) and 1216 (FIG. 15) are repeated for every B,K. Then, in step 1220, _£__;_ is determined to be the smallest K such that max B {p B K } < threshold. In the test case presented in the next section (SwissProt. Rel. 34), the value of threshold has been chosen so that K-- in = 15, i.e., the support level where only 1.5 patterns of a given backbone structure are expected by chance. There is a tradeoff: we are willing to allow a small number of pattern-induced local homologies which can be the result of chance (the 1.5 patterns above) in order to be able to capture the many more statistically important similarities implied by the other patterns at that same support level present within SwissProt. Before providing some experimental results in the next section, we first explain the concept of cleaning up a database before performing the dictionary formation methodology of the invention. This process is depicted in FIG. 16 and also may be implemented by the dictionary formation module 130 of FIG. 1. Several databases contain groups of highly homologous sequences (e.g., the hemoglobin alpha chain proteins). Such groups not only slow down the pattern discovery process by introducing a huge number of patterns, but they can also spuriously elevate the significance of a pattern. This happens for patterns that appear many times within a family of highly homologous sequences and only occasionally outside of it. In order to deal with these problems, a database D may be "cleaned up" before the pattern discovery process begins. As shown in FIG. 16, the cleaning up process 1600 involves identifying and grouping together highly similar proteins (step 1602). Two sequences are placed in the same group if after being optimally aligned the shorter one has X% of its positions (e.g., 50%) identical to that of the longer sequence. The resulting groups are called redundant groups. The set D' on which the information gathering process will be performed is comprised of: (a) those sequences in D which were not found to be sufficiently homologous to other proteins; and (b) the longest sequence from each of the redundant groups (step 1604). Finally, each of the redundant groups is separately processed by the TEIRESIAS algorithm (step 1606), collecting patterns until all the sequences of the group match at least one of these patterns. This approach guarantees that even groups containing multi-domain proteins are treated correctly, by generating at least one pattern per domain. It is worth pointing out that patterns resulting from the processing of the redundant groups will usually be quite dense (the number of residues is going to be much larger than the number of don't care characters) and long. This is a consequence of the high homology of the group sequences. For such patterns, we allow approximate matches during the search phase. IV. Experimental Results In this section we discuss experimental results associated with a preferred embodiment of the invention. That is, the following results have been generated by implementing both the dictionary formation (information gathering) and search engine methodologies of the invention, explained in detail above, in accordance with SwissProt Rel. 34 as the test database. A quantitative and qualitative description of the patterns discovered in the information gathering phase is given in the first subsection (A) below by analyzing the coverage that these patterns achieve for SwissProt and by annotating the most frequently occurring of them. In a second subsection (B) below, we present the results of the search phase on a number of query sequences. A. Information Gathering The treatment of SwissProt starts by cleaning it up as described in the previous section. The results of this process are detailed in FIG. 17. The clean-up process on SwissProt generates 9,165 redundant groups of highly similar sequences. The cleaned-up database (the one that the information gathering phase will operate on) is formed by removing the highly-similar sequences from the original input and then augmenting the resulting set by adding in it the longest sequence from each redundant group. Having the cleaned up database available, all that is needed for TEIRESIAS to work on it is setting the values of the parameters L, W and _£__,_. As already explained, we use the settings L = 6 and W = 15. Further, in the results reported here we chose a threshold value of 10 _// and a confidence level of 95% in the computation of the deviations. The value of K mm computed for these settings turned out to be 15. Running TEIRESIAS on the cleaned-up database with the values of L, W and K mm specified above generated a set II (pattern dictionary) of 534,185 patterns. Mining the cleaned-up database is only the first step of the information gathering phase. It is also necessary to apply the pattern discovery process on the 9,165 redundant groups. Again, we use TEIRESIAS to treat each such group collecting enough <6, 15> patterns to make sure that each sequence in the group matches at least one pattern. These patterns are then added to the set II in order to form the final set of patterns II which will be used by the search phase. FIG. 18 provides information regarding the coverage achieved by these patterns over the entire SwissProt Rel. 34. The database regions covered by a pattern are exactly those substrings matching the pattern. Notice that for dense and long patterns (coming mostly from the processing of the redundant groups), we have allowed for approximate matches, where "most" of the pattern (specifically, 80% of the patterns' residues) is matched by a region. It is worth pointing out that most of the uncovered sequences are fragments. More specifically, only 231 have size more than 50. FIG. 19 gives distributions for the following characteristics of the patterns in II: (i) length of the SwissProt Rel. 34 patterns; and (ii) number of amino acids or residues. As exemplified in FIG. 18, one of the key goals for the success of the search phase to follow (namely the good coverage of SwissProt) has been achieved. The question that remains to be answered is if the patterns discovered are of biological relevance. In an effort to address this concern, we analyzed the most frequently occurring among these patterns. The resulting annotation is presented in FIG. 20. From this analysis, it is evident (at least for the patterns which were examined) that the pattern discovery process identifies sequence features that are biologically important. FIG. 20 illustrates the 100 patterns with the highest support. Wherever possible, the patterns within a category were aligned with respect to one another. The lower case italics were used for convenience and are place-holders for the following bracketed expressions: a: [STGDAR], b: [STGDK], c: [STGDKY], d: [STGK], e: [GASMDL],/: [GISETV], g: [LIVMFY], h: [LIVMF], : [LIVMA], j: [LIVMC], k: [LIVMF], [ILVMF], m: [QKCS], n: [KRQA], o: [IVTNF], p: [QKCASN], q: [QKIAGN], r [RKAHQN], s: [KRQNE], t: [KRQMN], u: [LFYIMS], and v: [AGSPE]. A bracket indicates a position that can be occupied by any one of the residues in the bracket. It is to be appreciated that not all the discovered patterns exhibit such clear cut functional specificity. Several of them correspond to regions (e.g., loops, coiled-coils, transmembrane) which are traditionally considered uninteresting at least for the purposes of functionally annotating aprotein. Sometimes, though, even such weak similarities can provide useful hints for the characterization of protein regions. We have implemented two mechanisms that allow the exploitation of this potential. First, the user is provided with the list of all the patterns which are matched by the query sequence. An expert user will, in most cases, be able to identify which patterns are of biological importance. Selection of a particular pattern leads then to a refinement of the scoring, focusing only on the areas of the database covered by this pattern. Second, when the underlying data base includes annotations of the various database sequence regions, this annotation is used in conjunction with the patterns for the extraction of useful information. Examples of the use of these two mechanisms are given in the next subsection. B. Searching In order to illustrate the searching phase (and to explain how it may be used), we selected two query sequences. The first is a well studied and annotated core histone 3 protein (SwissProt ID: H31_HUMAN), while the second is a not yet characterized ORF (SwissProt ID: YZ28_METJA) from Methanococcus Jannaschii. H31_HUMAN Core histones have been the obj ect of extensive study due to their central role in the packaging of DNA within the cell. These small proteins are rich in positively charged amino-acids that help them bind to the negatively charged DNA double helix, see J.D. Watson, N.H. Hopkins, J.W. Roberts, J. Steitz and A.M. Weiner, "Molecular Biology of the Gene," The Benjamin/Cummings Publishing Company, Fourth Edition, 1987. The four core histones (H2A, H2B, H3 and H4) bind together into an octameric construct (reminiscent of a cylindrical wedge) that provides the substrate for 146 bps long DNA segments to wrap around, thus creating the nucleosome complexes within the cell chromatin. The SwissProt Rel. 34 database contains 33 sequences which are annotated as Histones 3, among which is H31_HUMAN, the core histone 3 protein found in humans. The top-scoring results of searching this sequence with our homology detection tool are tabulated in FIG. 21. Next to each sequence is given the similarity score of the highest scoring local alignment between that sequence and H31_HUMAN. The scores mentioned in FIG. 21 are obtained using the PAM 130 matrix (see M.O. Dayhoff, R.M. Schwartz and B.C. Orcutt, "A model of evolutionary change in proteins," Atlas of Protein Sequence and Structure, 5:345-352, 1978) and every matching sequence from the database is assigned the score of its highest scoring segment. All the 33 core Histones 3 of SwissProt Rel. 34 are correctly identified as homologous to H31_HUMAN. Furthermore, several other proteins (YB21JCAEEL, CENAJHUMAN, CSE4 EAST, YL82_CAEEL, CENA_BOVIN, YMH3 CAEEL) are found to have extensive local similarities with H31J1UMAN. Inspection of the annotation for these proteins indicates that they are known histone 3-like proteins. As a final note, H3_NARPS (a known histone 3) appears within the release 34 of SwissProt only as a fragment and that is the reason that it is scored lowest in the list of results. FIG. 22 gives a selected view (both high and low-scoring) of the alignments generated for the query sequence H31_HUMAN. In FIG. 22, local alignments of H31_HUMAN with a highly similar (H3_YEAST) and a moderately similar (CENA_HUM AN) protein are shown. For every sequence, a number of local similarities are reported. In every such similarity, the relevant query ("Query") and the data base sequence ("Seq") regions are listed one under the other having between them the resulting consensus regions. We use the character '+' to indicate chemically similar amino acids. YZ28_METJA H31JIUMAN Is in a sense an easy test case because the database contains several sequences which are highly homologous to it. An interesting question to ask is how does our methodology fare when presented with "borderline" sequences, i.e., sequences for which no known homology exists. In an effort to address this question, the system was presented with the yet not annotated sequence YZ28 METJA, an open reading frame with 1272 residues from the genome of M.jannaschii. The top scoring alignments produced by our system when presented with the query sequence YZ28JΛETJA are depicted in FIG. 23. The mutation matrix used is PAM130. For the purposes of functional annotation of YZ28JMETJA, the above mentioned results are not very enlightening as the database hits involve quite diverse proteins: the first two (NTNOJIUMAN, NTNOJBOVIN) are sodium-dependent noradrenaline transporters, while the last one (KAPL_APLCA) is a kinase. With these questions in mind, we proceeded to a closer examination of the similarities between YZ28 ΛETJA and the database sequences. For this analysis, every pattern matching YZ28_METJA was scrutinized individually. It is to be appreciated that the search phase of the invention allows the user to select any of the patterns matched by the query sequence at hand and focus on the local alignments induced by that particular pattern alone, disregarding all the other patterns. This feature was employed for each of the patterns matched by YZ28_METJA . The intention was to discover if any such pattern is specific to one particular protein family, thus giving clues about the functionality of YZ28JΛETJA. As it turned out, there exist three patterns (namely, the patterns "Y.S..I...DLK", "NIL IKL" and "I.H.DLK. D") which are very specific for the kinase family. FIG. 24 describes a few among the top scoring alignments produced for the first one of them, that is, the top scoring local alignments for the query sequence YZ28JMETJA induced by the pattern Υ..S..I...DLK". The mutation matrix used is PAM130. FIG. 25 contains a complete listing of all the database sequences containing that particular pattern. FIGs. 26 and 27 give the corresponding listings for the remaining two patterns. FIG. 28 provides a graphic representation of: (a) the distribution of all the patterns matched by YZ28jMETJA and (b) the areas covered by the three kinase-specific patterns. The pattern "7..S..Z..E>L_v" generates 24 hits within SwissProt. All of these proteins (with the exception of NABA_RAT, a sodium/bile acid cotransporter) are annotated as protein kinases (two of them, KD82 SCHPO and KKK1 YEAST, are characterized as putative/probable kinases) with the majority belonging or showing similarity to the serine/threonine kinase family. Furthermore, "Y.S..I...DLI ' not only belongs to the kinase domain of these proteins but it actually contains the active site (amino acid D) of that domain. In FIG. 25, SwissProt Rel. 34 sequences containing the pattern "Y..S..I...DLK" are shown. All of them are annotated as protein kinases or probable/putative protein kinases (almost exclusively of the serine/threonine variety). The only exception is the protein NABA_RAT which is annotated as a sodium/bile acid cotransporter. Similar results are obtained for "NIL IKL ", the second of the three patterns, are shown in FIG. 26. In this case the number of database hits is 34 and all of them (excluding two unannotated ORFs from Yeast and Mycoplasma Hominis) are known (or probable) protein kinases. Again, serine/threonine kinases are the majority. Finally, the third pattern "I.H.DLK. D" generates 30 SwissProt Rel. 34 hits, all of them known or putative protein kinases. This is shown in FIG. 27. Furthermore, as in the case of the first of the three patterns, the pattern "I.H.DLK. D " includes the active site of the kinase domain. It is interesting to notice that all three of the aforementioned patterns are specific instances of (parts of) the following general pattern: [LIVMFYC].[FT^].D[LIVMFY]K..N[LIVMFYCT][LIVMFYCT][LIVMFYCT] where the notation [XYZ] indicates a position which can be occupied by any of the residues X, Y, Z. This more general pattern is the PROSITE database entry with accession number PS00108, namely, the signature of the serine/threonine protein kinase active site. Notice that this PROSITE signature is too specific for picking up a kinase catalytic site in the areas of YZ28JΛETJA covered by the three patterns examined above. This situation (known in the language of artificial intelligence as overrepresentation of the training set) is typical of learning systems trained by a finite subset of the entire universe: there is always the danger that the set of positive examples (in this case, the specific set of known serine/threonine kinases used by PROSITE) is biased and as a result the features learned (here the kinase signature) while explaining the observations are not general enough to extrapolate efficiently to new instances of the family under consideration (i.e., there are false negatives). The cure for this problem is the use of as large a training set as possible and this is the crux of the approach we present here. As mentioned, FIG. 28 provides a graphic representation of: (a) the distribution of all the patterns matched by YZ28 METJA and (b) the areas covered by the three kinase-specific patterns. In FIG. 28(a), there are 410 patterns (among those discovered in the information gathering phase) matched by YZ28JVIETJA. A pattern "covers" a residue position if it starts before (or at) that position and ends after (or at) that position. The chart shows, for each residue position (x-axis), how many patterns (y-axis) cover that position. As shown in FIG. 28(b), the three kinase pattern discussed in the text match the sequence at offsets 35 (pattern "Y.S..I...DLK"), 112 (pattern "NIL IKL") and 1052 (pattern "I.H.DLK. D"). These offsets are depicted here relative to the spikes of the pattern distribution in FIG. 28(a). Using Existing Annotation Ofthe 410 patterns matched by YZ28JVIETJA, only the three patterns analyzed above exhibit such clear cut functional specificity. This does not mean that the remaimng 407 are useless. The kind of biological inference that can be drawn from a local similarity between two sequences is not always of a functional nature. Sometimes the homology indicates preservation of structure and yet other times it might correspond to functional units of a supporting role (e.g., DNA-binding domains) in the overall function of the sequences compared. In an effort to explore such weaker similarities, we have provided for a way to exploit the annotation available in the underlying database. In the description given below we assume the SwissProt annotation format. The SwissProt data base associates with most of its sequences annotations of sequence regions (the FT lines, see A. Bairoch and R. Apweiler, "The SWISS-PROT protein sequence data bank and its supplement TrEMBL in 1998", Nucleic Acids Res., 26:38-42, 1998). A typical region description looks like: FT DOMAIN 528 779 PROTEIN KINASE where the keyword "FT" indicates that this is a region description line and the remaining line describes the region by giving its starting and ending positions (from residue 528 up to and including residue 779 of the relevant data base sequence) and its annotation (a protein kinase domain). When presented with a pattern P, we can use (as already mentioned) the offset list L D (P) to locate all the sequences in the database that match P. Assume that S is such a sequence and that at offset j within S begins a substring that matches P. If P happens to fall in an annotated region of S (either entirely or in part), we can associate this region with P. Performing this process for every sequence S matching P results in a set RS D (P) of regions associated with P. FIG. 29 gives an example of part ofthe output produced by our system for one of the three kinase patterns described above. That is, FIG. 29 illustrates analysis of individual patterns using the SwissProt annotation: some of the database sequences matching the pattern "I.H.DLK. D ". For every such sequence, its ID and DE lines are reported (see A. Bairoch and R. Apweiler, "The SWISS-PROT protein sequence data bank and its supplement TrEMBL in 1998", Nucleic Acids Res., 26:38-42, 1998), giving the SwissProt name ofthe sequence and a short description of its functionality. Next follows the offset within the sequence where the match originates. Finally, there are the FT lines for all the annotated regions having an intersection with the region covered by the pattern. Given now a pattern P matched by a subsequence A of a query sequence Q, the question is how to use RS D (P) in an effort to characterize A. A number of approaches can be used. For example, if RS D (P) is large enough and the majority of its members agree in their functionality, then it can be inferred that A is quite likely to have the same functionality. Another consideration is the relative lengths of the pattern P and the regions described by the FT lines. If, for example, a pattern P has an extent of 15 residues while an annotated sequence region containing P has a length of 300 amino acids then one might not want to transfer the annotation of that region to P. In conclusion, the end user is expected to apply his/her expertise in deciding how to best exploit the information provided by the system. FIG. 30 illustrates two ways to use the sets RS D (P) for annotating regions of YZ28_METJA, thus extending the picture drawn in FIG. 28(b). That is, FIG. 30 shows a characterization of various segments of YZ28_METJA from the annotation of the patterns matched by these segments. The annotation of the patterns is obtained by exploiting the information available for the various regions of the database sequences also matching these patterns. The segments are shown again relative to the spikes ofthe distribution of patterns over the entire YZ28_METJA. The first approach (FIG. 30(b)) assigns an annotation X (e.g., X = transmembrane region) to a pattern P if: (i) the size of RS D (P) is at least 15 ; (ii) the majority (80%) ofthe regions in RS D (P) are annotated as X; and (iii) at least 50% of every region of RS D (P) annotated as X is covered by P. The second approach (FIG. 30(c)) shares the requirements (i) and (ii) above and relaxes (iii) by allowing the percentage ofthe annotated region covered by the pattern to be 30% or more. Performance The running time of a homology search for a query sequence Q depends on: (i) the size of the set of patterns II used; and (ii) the actual number of local similarities (induced by the patterns matching Q) between Q and the database sequences. For the case of SwissProt Rel. 34 used here, typical searches for query proteins of size around a thousand residues take 4-6 seconds on a Pentium 266MHz computer with 256 MB of memory. It should be mentioned that the running time reported above is achieved by keeping all the program data (patterns and their offset lists) in memory. For SwissProt, this data occupies around 200MB. In accordance with the various aspects of the invention, we have provided a methodology for performing sequence similarity searches based on the discovery of patterns over an underlying database D of proteins and the use of these patterns for the identification of homologies between a query sequence and the proteins ofthe database at hand. We described a way to precisely define a set of patterns to be searched using statistical arguments and discussed how patterns provide more sensitivity in identifying significant homologies by introducing memory into the statistical computations. Finally, the utility ofthe methodology was exhibited using the SwissProt Rel. 34 database as a test bed and showing how the system can be used for annotating query sequences. In this context, we also discussed the potential of exploiting the discovered patterns in conjunction with the annotation ofthe underlying database towards characterizing even weak similarities between the query and the data base sequences. Advantageously, one aspect ofthe sequence homology detection system ofthe invention that sets it apart from prior art pattern based tools for homology detection (e.g., BLOCKS) is the completeness ofthe set of patterns used. The patterns are learned in an unsupervised way from a very large training set, that of all the proteins within the underlying database D. There are no bias-creating prior assumptions on which sequences "should" be considered as members of the same family. As a result, the patterns discovered are expected to be more sensitive. Furthermore, by considering together sequences of distinct functionalities, we are able to discover weak similarities that span family boundaries (e.g., patterns that describe transmembrane regions). Such similarities, although not sufficient for the inference of functional annotations, nevertheless give useful information regarding the role of different parts of the query sequence under examination. Another advantage ofthe system ofthe invention is the running times achieved for the homology searches. The speedup afforded by using patterns rather than scanning the entire database for every search can become a factor as the size of genomic databases increases ever faster (especially for users who want to run in-house tests rather than use public servers). Although illustrative embodiments ofthe present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be affected therein by one skilled in the art without departing from the scope or spirit ofthe invention.

Claims: Claims What is claimed is: 1. A computer-based method of processing a plurality of sequences in a database, the method comprising the steps of: evaluating each ofthe plurality of sequences including characters which form each sequence; and generating at least one pattern of characters representing at least a subset of the sequences in the database, the pattern having a statistical significance associated therewith, the statistical significance of the pattern being determined by a value representing a minimum number of sequences that the pattern supports in the database. 2. The method of claim 1, further comprising the step of collecting the generated patterns having the minimum support value into a set for use in comparison with a query sequence to detect one or more homologies between the query sequence and one or more sequences in the database. 3. The method of claim 1, wherein the statistical significance of a pattern further depends on at least one of a length parameter and a width parameter associated with the pattern. 4. The method of claim 1 , wherein the minimum support value, represented as K^-, is calculated to be the first number K for which an inequality represented as: max { Pr X B κ ≥ N B κ u ≤ threshold B is satisfied, wherein N B K represents a number of patterns with a backbone structure B which has support K within the database D, X B K represents a random variable defined over i processed versions of D, i = 1,..., N, and threshold represents a predefined probability value. 5. The method of claim 4, wherein a pattern is represented by the expression: ∑ ( ∑ u {'.'}) * ∑ where Σ represents an alphabet of permitted characters, and '.' represents a don't care character which relates to a position in the pattern that can be occupied by an arbitrary character in the alphabet Σ. 6. The method of claim 5, wherein the backbone structure B of a pattern is a string over a numerical value set { 1 , 0} obtained when replacing characters ofthe pattern with a value of ' 1 ' and the don't care characters ofthe pattern by a value of '0.' 7. The method of claim 4, further comprising the step of generating each of the processed versions of D associated with the random variable X B κ by computing a random permutation ofthe characters in each sequence of D. 8. The method of claim 7, further comprising the step of computing a mean s B κ and a variance m B κ ofthe random variable X B κ . 9. The method of claim 8, further comprising the step of computing a constant value C as a function of N B K and the mean s B K and the variance m B K ofthe random variable 10. The method of claim 9, further comprising the step of computing an upper bound p B κ for the probability expression Pr[X B κ > N B K ] as the inverse ofthe square of the constant value C. 11. The method of claim 10, wherein the minimum support value is the smallest number K wherein max {p B κ } ≤ threshold . B 12. The method of claim 4, wherein threshold is selected to represent a confidence level associated with the minimum support value resulting from the inequality. 13. The method of claim 4, wherein the magnitude of threshold is inversely related to the magnitude ofthe minimum support value. 14. The method of claim 4, wherein the statistical significance of a pattern is directly related to the magnitude of the minimum support value. 15. The method of claim 1 , further comprising the step of grouping two or more similar sequences in the database into a group prior to the evaluating step. 16. The method of claim 15, wherein two or more sequences are similar when, after alignment, a first sequence has at least a given percentage of characters in common with a second sequence. 17. The method of claim 16, wherein the longest sequence from the group is used in the evaluating step. 18. The method of claim 1, wherein the database includes sequences having both known and unknown sequence features. 19. The method of claim 1, wherein the sequences represent proteins. 20. Apparatus for processing a plurality of sequences in a database, the apparatus comprising: at least one processor operative to: (i) evaluate each of the plurality of sequences including characters which form each sequence; and (ii) generate at least one pattern of characters representing at least a subset of the sequences in the database, the pattern having a statistical significance associated therewith, the statistical significance of the pattern being determined by a value representing a minimum number of sequences that the pattern supports in the database. 21. An article of manufacture for processing a plurality of sequences in a database, comprising a machine readable medium containing one or more programs which when executed implement the steps of: evaluating each ofthe plurality of sequences including characters which form each sequence; and generating at least one pattern of characters representing at least a subset of the sequences in the database, the pattern having a statistical significance associated therewith, the statistical significance of the pattern being determined by a value representing a minimum number of sequences that the pattern supports in the database.

Inventors: FLORATOS ARIS, RIGOUTSOS ISIDORE, FLORATOS, ARIS, RIGOUTSOS, ISIDORE
Applicants: FLORATOS ARIS, IBM, RIGOUTSOS ISIDORE, FLORATOS, ARIS, INTERNATIONAL BUSINESS MACHINES CORPORATION, RIGOUTSOS, ISIDORE
Application year: 1999
Main classification: G06F17
IPC codes: C12N15, G06F12, G06F17, G06F19, G06K9