Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

When a new gene is discovered, a standard approach to understanding its function is to look through a database of known genes and find close

When a new gene is discovered, a standard approach to understanding its function is to look through a database of known genes and find close matches. The closeness of two genes is measured by the extent to which they are aligned. To formalize this, think of a gene as being a long string over an alphabet
={A,C,G,T}. Consider two genes (strings)x=ATGCC and y=TACGCA. An alignment of x and y is a way of matching up these two strings by writing them in columns, for instance: Here the "-" indicates a "gap". The characters of each string must appear in order, and each column must contain a character from at least one of the strings. The score of an alignment is specified by a scoring matrix of size (||+1)(||+1), where the extra row and column are to accommodate gaps. For instance the preceding alignment has the following score:(-,T)+(A,A)+(T,-)+(-,C),+(G,G)+(C,C)+(C,A)
Give a dynamic programming algorithm that takes as input two strings x[1dotsn] and y[1dotsm] and a scoring matrix , and returns the highest scoring alignment. Give the definition, Base case, solution and formula
image text in transcribed

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

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago