Problem 15: Inferring Protein from DNA

Hard

In this problem, you are given a DNA sequence. Your task is to infer the protein that would be produced by this DNA sequence using the standard genetic code. The DNA sequence will be provided in a single string of A, C, G, and T characters. You need to return the protein sequence.

Given: A DNA sequence P of length at most 10,000 nucleotides.

Return: The protein string corresponding to the transcribed and translated DNA sequence, up to the first stop codon.

Sample Input:

ATGGCCATTGTAATGGGCCGCTGAAAGGGTGCCCGATAG

Sample Output:

MAIVMGR*KGAR*

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our app uses cookies to enhance your experience. Check Now
Ok, Go it!