A template strand is written as a string of letters, from its 3′ end to its 5′ end. You will make the mRNA, find the coding strand, and cut the introns out of a hnRNA.
The idea. The mRNA pairs with the template, with U in the place of T. The coding strand is the same as the mRNA with T for U, but it is written 5′ to 3′, the same as the mRNA. Splicing removes the introns, which are given as pairs of positions.
Your tasks.
transcribe. It gives the mRNA, written 5′ to 3′, for a template written 3′ to 5′.coding_strand. It gives the coding strand, written 5′ to 3′.splice. It takes a hnRNA and a list of introns as (start, end) positions, where the intron is hnrna[start:end], and it gives the RNA with the introns removed.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…
With Standard, you also open 12 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.