Answered step by step
Verified Expert Solution
Link Copied!

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 x y for

image text in transcribed

(b) The sequence alignment problem may be solved by the following dynamic programming algorithm: SequenceAlignment(X, Y): { Let B(i, 0) + i x y for each 1 sisn Let B(0,j) - jxy for each 15 jsm For it 1 ton For j = 1 to m B[i,j) min [8(xi, yj) + B(i 1,j 1), y + B(i,j 1), y + B(i 1),j] = Where X = (X1, ..., xn) and Y = (v1, ..., 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. The sequence alignment algorithm is applied using the following data: X = (a, b,c) = Y = (a, b, a, b,b) = V = 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 2 Lncs 13427

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124251, 978-3031124259

More Books

Students also viewed these Databases questions