Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(b) The sequence alignment problem may be solved by the following dynamic programming algorithm: SequenceAlignment(X, Y): Let B(i,0) + i xy for each 1 sisn
(b) The sequence alignment problem may be solved by the following dynamic programming algorithm: SequenceAlignment(X, Y): Let B(i,0) + i xy for each 1 sisn Let B(0,j) + jxy for each 1 sism Forit 1 ton For j = 1 to m B(i,j) min [8(xi, Y;) +B(i 1,j 1), V + B(i,j 1), y+B(i 1),j] Where X = (x1,...,xn) and Y = (y1, ... , Ym) are two sequences to be aligned, 8(p,q) is a penalty associated with matching symbol p to q, and y is a gap penalty. r The sequence alignment algorithm is applied using the following data: X = (a,b,c) Y = (a, b, a, b,b) y = 4 The delta function is defined for symbols in the alphabet {a,b,c} : a B a 0 4 5 b 4 0 7 5 7 0 Generate the problem space matrix B and thus determine the optimal alignment between X and Y
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started