Here's how you can do the translation yourself, using the genetic code in form of a dictionary from Biopython:
import Bio
# Load the genetic code (a mapping from RNA triplet to amino acid)
d = Bio.Data.CodonTable.standard_rna_table.forward_table
print('Genetic code:', d)
print()
# Use it to translate an RNA sequence into an amino acid sequence
s = 'CCAAGUACAGAGAUUAAC'
for triplet in (s[i:i+3] for i in range(0, len(s), 3)):
print(triplet, '->', d[triplet])
Printed result:
Genetic code: {'UUU': 'F', 'UUC': 'F', 'UUA': 'L', 'UUG': 'L', 'UCU': 'S', 'UCC': 'S', 'UCA': 'S', 'UCG': 'S', 'UAU': 'Y', 'UAC': 'Y', 'UGU': 'C', 'UGC': 'C', 'UGG': 'W', 'CUU': 'L', 'CUC': 'L', 'CUA': 'L', 'CUG': 'L', 'CCU': 'P', 'CCC': 'P', 'CCA': 'P', 'CCG': 'P', 'CAU': 'H', 'CAC': 'H', 'CAA': 'Q', 'CAG': 'Q', 'CGU': 'R', 'CGC': 'R', 'CGA': 'R', 'CGG': 'R', 'AUU': 'I', 'AUC': 'I', 'AUA': 'I', 'AUG': 'M', 'ACU': 'T', 'ACC': 'T', 'ACA': 'T', 'ACG': 'T', 'AAU': 'N', 'AAC': 'N', 'AAA': 'K', 'AAG': 'K', 'AGU': 'S', 'AGC': 'S', 'AGA': 'R', 'AGG': 'R', 'GUU': 'V', 'GUC': 'V', 'GUA': 'V', 'GUG': 'V', 'GCU': 'A', 'GCC': 'A', 'GCA': 'A', 'GCG': 'A', 'GAU': 'D', 'GAC': 'D', 'GAA': 'E', 'GAG': 'E', 'GGU': 'G', 'GGC': 'G', 'GGA': 'G', 'GGG': 'G'}
CCA -> P
AGU -> S
ACA -> T
GAG -> E
AUU -> I
AAC -> N
Note that the same RNA sequence can also be translated into another sequence of amino acids by shifting the reading frame 1 or 2 positions. For example, the RNA sequence 'CCAAGUACAGAGAUUAAC'
can be split into different triplets:
'CCA', 'AGU', 'ACA', ...
'CAA', 'GUA', 'CAG', ...
'AAG', 'UAC', 'AGA', ...
In biological systems, an mRNA would have a start codon that marks the beginning of an open reading frame, which is often the triplet AUG
.