Question: a. In nucleotide-based alignment, one algorithm to update scores in comparing two nucleotide sequences is shown below (8 is gap penalty; vi and wj

a. In nucleotide-based alignment, one algorithm to update scores in comparing two

a. In nucleotide-based alignment, one algorithm to update scores in comparing two nucleotide sequences is shown below (8 is gap penalty; vi and wj are two nucleotides being compared; u is a constant): Si-1.j S = max [ s -8 i.j i.j-1 S ] i-1,j-1 + 1, if vi= wj i-1, j-1 - , otherwise When performing an alignment of two AA sequences, a scoring matrix is used, which provides the likelihoods (costs) of switching from on AA to another AA. PAM or BLOSUM are well- known such matrices. Suppose, a gap penalty is 8 and that a scoring matrix, D[20][20] is given. As shown above, show the core of the dynamic programming for the for loops that update the scores with respect to the AA score matrix D.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To show the core of the dynamic programming for loops that update the score S with respect to the AA ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!