Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming skills. Design and then write (Python) a program that could detect transmembrane domains called tmScanner.py This program should call two other functions that you

image text in transcribed
Programming skills. Design and then write (Python) a program that could detect transmembrane domains called tmScanner.py This program should call two other functions that you write: getProteinRegion should return a ten amino acid window. (initially it should grab amino acids 1-10...the next time it is called it should grab amino acids 2-11...). The TMscanner should also repeatedly call a second function called testForTM, which should calculate and return the decimal fraction of those ten amino acids which are nonpolar. For example, in the Amino Acid table below, the first set immediately below (AV.L,I,P,M,F,W)nonpolar _/30 For example if your code is run with the test code #Test code for TMSCANNER protein='AVLIPMFWGSTCNQYDEKRH#only the first 8 are nonpolar results=tmScanner(protein) print "Results are", results it should print out: Results are [.8,7,6,.5.4,.3,2,.1,0.0.0.0]

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

What is the role of the Joint Commission in health care?

Answered: 1 week ago