Bioinformatics Armory第9题:Protein Translation

Problem

The 20 commonly occurring amino acids are abbreviated by using 20 letters from the English alphabet (all letters except for B, J, O, U, X, and Z). Protein strings are constructed from these 20 symbols. The RNA codon table shows the encoding from each RNA codon to the amino acid alphabet.

The Translate tool from the SMS 2 package can be found here in the SMS 2 package

A detailed list of genetic code variants (codon tables) along with indexes representing these codes (1 = standard genetic code, etc.) can be obtained here.

For now, when translating DNA and RNA strings, we will start with the first letter of the string and ignore stop codons.

Given: A DNA string  of length at most 10 kbp, and a protein string translated by .

Return: The index of the genetic code variant that was used for translation. (If multiple solutions exist, you may return any one.)

通过使用英文字母中的20个字母 (除B,J,O,U,X和Z以外的所有字母)缩写20个常见氨基酸。蛋白质字符串由这20个符号构成。的RNA密码子表显示了来自各RNA密码子的氨基酸字母的编码。

Translate从工具SMS 2包,可以发现这里SMS 2

可以在此处获取遗传密码变体的详细列表(密码表)以及代表这些密码的索引(1 =标准遗传密码等)。

现在,在翻译DNARNA字符串时,我们将从字符串的第一个字母开始,并忽略终止密码子。

给出: DNA字符串长度最多10kbp,蛋白质串由。

返回值:用于翻译的遗传密码变体的索引。(如果存在多个解决方案,则可以返回任何一个。)

 

Sample Dataset

ATGGCCATGGCGCCCAGAACTGAGATCAATAGTACCCGTATTAACGGGTGA
MAMAPRTEINSTRING

Sample Output

1
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值