How translation works
A ribosome reads mRNA from the 5′ end. It starts at the first AUG in a good context, which codes for methionine, then moves three bases at a time. Each codon is matched by a tRNA with the right anticodon, which brings the amino acid. At a stop codon (UAA, UAG or UGA) the protein is released.
A worked example
mRNA: 5′-GG AUG GCC AUU GUA AUG GGC CGC UGA AAG-3′
- The first AUG is at position 3.
- AUG GCC AUU GUA AUG GGC CGC = Met Ala Ile Val Met Gly Arg.
- UGA is a stop codon, so the protein is MAIVMGR, seven amino acids.
The second AUG inside the protein is just methionine; only the first one starts translation. Have DNA instead? Convert it first with DNA to mRNA. To learn the one-letter codes in the output, see the amino acid chart.
Limits of a simple translator
Real cells pick start codons by context (the Kozak sequence in many eukaryotes, the Shine-Dalgarno sequence in bacteria), splice out introns, and in rare cases read UGA as selenocysteine. This tool uses the standard code and the first AUG, which is what most homework and quick checks need.