Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (10 points) - Sequence alignment is used to compare DNA fragments and to determine similarities between species. Write a python function that automatically aligns

image text in transcribed

1. (10 points) - Sequence alignment is used to compare DNA fragments and to determine similarities between species. Write a python function that automatically aligns the given two sequences and returns the alignment score of the following sequences called gene1 and gene2 where the highest alignment occurs when matching score equals to 4 (shown below). Your program should check all possible alignments until finds the best matching score by shifting the second sequence. For example, in the first step, only base pair at fifth position (t') matches, therefore printed score is 1. When you shift the gene2 for two base pairs, score becomes 4, since 'g ta t' sequence matches in both sequences. Type your code: Gene1='t a agtat Gene2='g gtatga' aligment score is 1 aligment score is aligment score is 4 aligment score is 1 aligment score is 1 aligment score is aligment score is 0 In [92]: IPython console History

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

Explain how absolute advantage and comparative advantage differ.

Answered: 1 week ago

Question

2. How will you handle the situation?

Answered: 1 week ago