Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HW 1 0 - Challenge Problem - RNA Structure Prediction 1 . Given an RNA sequence, such as ACAGU, we can predict its secondary structure

HW10- Challenge Problem - RNA Structure Prediction 1. Given an RNA sequence, such as ACAGU, we can predict its secondary structure by tagging each nucleotide as (,., or ). Each matching pair of () must be AU, GC, or GU (or their mirror symmetries: UA, CG, UG). We also assume pairs can _not_ cross each other. The following are valid structures for ACAGU: ACAGU ........()..(.).(.).(...)((.)) We want to find the structure with the maximum number of matching pairs. In the above example, the last structure is optimal (2 pairs).>>> best("ACAGU")(2,'((.))') Tie-breaking: arbitrary. Don't worry as long as your structure is one of the correct best structures. the program does not pass all test some other cases (more cases at the bottom): GCACG (2,'().()') UUCAGGA (3,'(((.)))') GUUAGAGUCU (4,'(.()((.)))') AUAACCUUAUAGGGCUCUG (8,'.(((..)()()((()))))') AACCGCUGUGUCAAGCCCAUCCUGCCUUGUU (11,'(((.(..(.((.)((...().))()))))))') GAUGCCGUGUAGUCCAAAGACUUCACCGUUGG (14,'.()()(()(()())(((.((.)(.))()))))') CAUCGGGGUCUGAGAUGGCCAUGAAGGGCACGUACUGUUU (18,'(()())(((((.)))()(((())(.(.().()()))))))') ACGGCCAGUAAAGGUCAUAUACGCGGAAUGACAGGUCUAUCUAC (19,'.()(((.)(..))(((.()()(())))(((.)((())))))())') AGGCAUCAAACCCUGCAUGGGAGCACCGCCACUGGCGAUUUUGGUA (20,'.(()())...((((()()))((()(.()(((.)))()())))))()')2. Total number of all possible structures >>> total("ACAGU")63. k-best structures: output the 1-best, 2nd-best, ... kth-best structures. >>> kbest("ACAGU",3)[(2,'((.))'),(1,'(...)'),(1,'.(.).')] The list must be sorted. Tie-breaking: arbitrary. In case the input k is bigger than the number of possible structures, output all. Sanity check: kbest(s,1)[0][0]== best(s)[0] for each RNA sequence s.

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

Students also viewed these Databases questions