||
Bioinformatics Stronghold - RNA: Transcribing DNA into RNA
The Second Nucleic Acid
在染色质上与DNA一起的还有一种核酸叫做核糖核酸(ribose nucleic acid),简称为RNA。RNA与DNA不一样的地方在于其用尿嘧啶(uracil)替换了DNA上的胸腺嘧啶(thymine)。
Structural differences between RNA and DNA
RNA是以DNA作为模版进行转录合成新链,主要就是把DNA上的T用U替换,其它的碱基都不变,其一类特殊的产物叫做信使RNA(messenger RNA;即mRNA)。
在真核生物中,DNA主要局限于细胞核中,而RNA可以达到细胞的任何位置,以传达DNA的指令。
Problem
An RNA string is a string formed from the alphabet containing 'A', 'C', 'G', and 'U'.
Given a DNA string t corresponding to a coding strand, its transcribed RNA string u is formed by replacing all occurrences of 'T' in tt with 'U' in u.
Given: A DNA string t having length at most 1000 nt.
Return: The transcribed RNA string of t.
Sample Dataset
GATGGAACTTGACTACGTAAATT
Sample Output
GAUGGAACUUGACUACGUAAAUU
Solution
就是把序列中的T替换成U:
>>>
Rosalind is a platform for learning bioinformatics and programming through problem solving. Take a tour to get the hang of how Rosalind works.
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-23 15:31
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社