



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Define an overlap alignment between two sequences v = v 1... vn and w = w 1... wm to be an alignment between a suffix of v and a prefix of w. For example, if v = TATATA and w = AAATTT, then a (not necessarily optimal) overlap alignment between v and w is
Optimal overlap alignment is an alignment that maximizes the global alignment score between vi,... , vn and w 1 ,... wj , where the maximum is taken over all suffixes vi,... , vn of v and all prefixes w 1 ,... wj of w.
Suppose that we have sequences v = v 1... vn and w = w 1... wm, where v is longer than w. We wish to find a substring of v which best matches all of w. Global alignment won’t work because it would try to align all of v. Local alignment won’t work because it may not align all of w. Therefore this is a distinct problem which we call the Fitting problem. Fitting a sequence w into a sequence v is a problem of finding a substring v′^ of v that maximizes the score of alignment s(v′, w) among all substrings of v. For example, if v = GTAGGCTTAAGGTTA and w = TAGATA, the best alignments might be
global local fitting v GTAGGCTTAAGGTTA TAG TAGGCTTA w -TAG----A---T-A TAG TAGA--TA score − 3 3 2
The scores are computed as 1 for match, − 1 for mismatch or indel. Note that the optimal local alignment is not a valid fitting alignment. On the other hand, the optimal global alignment con- tains a valid fitting alignment, but it achieves a suboptimal score among all fitting alignments.
A tandem repeat P k^ of a pattern P = p 1... pn is a pattern of length n·k formed by concatenation of k copies of P. Let P be a pattern and T be a text of length m. The Tandem Repeat problem is to find a best local alignment of T with some tandem repeat of P. This amounts to aligning P k against T and the standard local alignment algorithm solves this problem in O(km^2 ) time.
An alignment of circular strings is defined as an alignment of linear strings formed by cutting (linearizing) these circular strings at arbitrary positions. The following problem asks to find the cut points of two circular strings that maximize the alignment of the resulting linear strings.
The early graphical method for comparing nucleotide sequences—dot matrices—still yields one of the best visual representations of sequence similarities. The axes in a dot matrix correspond to the two sequences v = v 1... vn and w = w 1... wm. A dot is placed at coordinates (i, j) if the substrings si... si+k and tj... tj+k are sufficiently similar. Two such substrings are considered to be sufficiently similar if the Hamming distance between them is at most d. When the sequences are very long, it is not necessary to show exact coordinates; figure 6.29 is based on the sequences corresponding to the β-globin gene in human and mouse. In these plots each axis is on the order of 1000 base pairs long, k = 10 and d = 2.
A local alignment between two different strings v and w finds a pair of substrings, one in v and the other in w, with maximum similarity. Suppose that we want to find a pair of (nonover- lapping) substrings within string v with maximum similarity (Optimal Inexact Repeat problem). Computing an optimal local alignment between v and v does not solve the problem, since the resulting alignment may correspond to overlapping substrings.