Question: Solve with python: 1: 2: You want to compute the hydrophobicity profile across the protein sequence. For that you need to compute the mean (average)

Solve with python:

1:

Solve with python: 1: 2: You want to compute the hydrophobicity profile

2:

across the protein sequence. For that you need to compute the mean

You want to compute the hydrophobicity profile across the protein sequence. For that you need to compute the mean (average) hydrophobicity score in all overlapping windows of some length: Write a function, running_mean, which takes one argument: 1. A list of integers, which represents hydrophobicity scores of each amino acid in a protein sequence. 2. An integer, which represents the size of the overlapping windows. The function must return: A a list of floats, which represents the mean hydrophobicity of each overlapping window. Example usage: If the function is called like this: running_mean([1, 2, 3, 4, 5, 6], 2) then it should return : [1.5, 2.5, 3.5, 4.5, 5.5] You have a protein sequence and want to extract a list of the amino acids with a hydropho- bicity score larger than zero: Write a function, find_hydrophobic, which takes two arguments: 1. A string, which represents the protein sequence. 2. A list of integers, which represent hydrophobicity scores of each amino acid in the protein sequence. The function must return: A list of strings, which represents each amino acid in the protein sequence with a hydrophobicity score above zero. Example usage: If the function is called like this: find_hydrophobic('FIPNL', [100, 99, -46, -55, 97]) then it should return : ['F', 'I', 'L']

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!