Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please solve this code challenge and show me the code you used. write the code in python and please show me how your notebook looks

please solve this code challenge and show me the code you used. write the code in python and please show me how your notebook looks with the code. use the sample input and output. image text in transcribed
Given a profite matrix Profit, we can evaluate the probability of every k mer in a string Text and find a Profile-most probable k mer infertile, a k-mer that was most likely to have been generated by Profile among all mers in Text. For example, ACGGGGATTACC is the Profile most probable 12 mer in GG TACGGGGATTACCT Indeed, every other 12 mer in this string hos probability 0. In general, if there are multi Profile most probable kmers in Text, then we select the first such k-mer occurring in Text Profile most probable k-mer Problem: Find a Profile most probablek mer in a string Input: A string Text, an integer and a 4 ** matrix Profie Output: A Profile-most probablemer in Text Code Challenge: Solve the problemost probable k met Problem, Extra Dataset Debug Dataset Sample Input: ACCTGTTTATTGCCTAAOTTOCGAACAAACCCAATATAGCO GAGGGCCT 5 0.2 0.2 0.3 0.2 0.3 0.4 0.3 0.1 0.5 0.1 0.3 0.3 0.5 0.2 0.4 0.1 0.2 0.1 0.1 9.2 Sample Output: CCGAG 131 PM DI Given a profite matrix Profit, we can evaluate the probability of every k mer in a string Text and find a Profile-most probable k mer infertile, a k-mer that was most likely to have been generated by Profile among all mers in Text. For example, ACGGGGATTACC is the Profile most probable 12 mer in GG TACGGGGATTACCT Indeed, every other 12 mer in this string hos probability 0. In general, if there are multi Profile most probable kmers in Text, then we select the first such k-mer occurring in Text Profile most probable k-mer Problem: Find a Profile most probablek mer in a string Input: A string Text, an integer and a 4 ** matrix Profie Output: A Profile-most probablemer in Text Code Challenge: Solve the problemost probable k met Problem, Extra Dataset Debug Dataset Sample Input: ACCTGTTTATTGCCTAAOTTOCGAACAAACCCAATATAGCO GAGGGCCT 5 0.2 0.2 0.3 0.2 0.3 0.4 0.3 0.1 0.5 0.1 0.3 0.3 0.5 0.2 0.4 0.1 0.2 0.1 0.1 9.2 Sample Output: CCGAG 131 PM DI

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

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

Question What is an educational benefit trust and how is it used?

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago