Genetic Code: mRNA Translation & Mutation Simulator

simulator intermediate ~10 min
Loading simulation...
4 codons → 4 amino acids from 12 nucleotides

A 12-nucleotide mRNA sequence encodes 4 codons, each translated into one amino acid. The genetic code maps 64 possible codons to just 20 amino acids plus stop signals — this redundancy (degeneracy) provides some protection against point mutations.

Formula

64 codons = 4³ (three positions, four possible nucleotides each)
Redundancy ratio = 64 codons / 21 signals (20 amino acids + 1 stop)

The Universal Language of Life

The genetic code is one of the most profound discoveries in biology: a simple lookup table that converts three-letter RNA words (codons) into the 20 amino acid building blocks of proteins. First cracked by Marshall Nirenberg and Har Gobind Khorana in the 1960s, this code is shared by virtually all life on Earth — from bacteria to blue whales — providing powerful evidence for the common origin of all living things.

From mRNA to Protein

Translation begins when a ribosome binds to an mRNA molecule and reads it in triplets (codons) from the 5' to 3' end. Each codon is recognized by a transfer RNA (tRNA) carrying the corresponding amino acid. The ribosome catalyzes peptide bond formation between successive amino acids, building a growing polypeptide chain. This simulation animates this process, showing the ribosome sliding along the mRNA and assembling the protein codon by codon.

The Degeneracy Shield

With 64 possible codons but only 20 amino acids (plus stop), the genetic code is redundant — most amino acids are encoded by multiple codons. This degeneracy is not random: synonymous codons typically differ only at the third (wobble) position. This means that roughly one-third of all possible point mutations are silent — they change the DNA sequence but not the protein. This built-in error tolerance is one reason life is robust against spontaneous mutations.

When Mutations Strike

Not all mutations are silent. A substitution that changes the amino acid (missense mutation) may alter protein folding or function — sickle cell anemia results from a single A→T change converting glutamic acid to valine. Worse still, an insertion or deletion of one or two nucleotides shifts the entire reading frame (frameshift mutation), garbling every downstream codon. Toggle the mutation controls in this simulation to see these effects firsthand.

FAQ

What is the genetic code?

The genetic code is the set of rules by which mRNA sequences are translated into proteins. Each three-nucleotide codon specifies one of 20 amino acids or a stop signal. The code is nearly universal across all life on Earth, from bacteria to humans — evidence of a common ancestor.

What is a silent mutation?

A silent (synonymous) mutation changes a nucleotide in a codon without changing the amino acid it encodes. This is possible because the genetic code is degenerate — most amino acids are encoded by 2–6 different codons. For example, both GCU and GCC encode alanine, so a U→C change at the third position is silent.

Why are frameshift mutations so harmful?

Frameshift mutations (caused by insertions or deletions not in multiples of three) shift the entire reading frame downstream of the mutation. Every subsequent codon is misread, producing a completely different and usually nonfunctional protein. They often create premature stop codons, truncating the protein.

How many codons code for each amino acid?

The number varies: methionine and tryptophan have only 1 codon each, while leucine, serine, and arginine each have 6. Most amino acids have 2–4 codons. The three stop codons (UAA, UAG, UGA) signal translation termination. This redundancy is concentrated at the third (wobble) position of codons.

Sources

Embed

<iframe src="https://homo-deus.com/lab/genetics/genetic-code/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub