← All animations

📜 From Gene to Protein

A gene is a stretch of DNA — but DNA itself does almost nothing directly. To do something, the cell copies the gene into messenger RNA (transcription), then reads that RNA three letters at a time to build a chain of amino acids — a protein (translation). This DNA→RNA→protein flow is the central dogma of molecular biology. Type a sequence, then watch a gene become a working molecule.

1. Transcription — DNA is copied into mRNA

An enzyme called RNA polymerase clamps onto the gene, unzips the double helix, and reads the template strand 3'→5'. For each template base it adds the complementary RNA base, building messenger RNA that matches the coding strand — except RNA uses U in place of T. Pairing: A→U, T→A, C→G, G→C. Type your own coding-strand sequence (A/C/G/T) and press Transcribe.

A T / U G C
Ready

2. Translation — the ribosome reads codons into a protein

The mRNA threads through a ribosome, which reads it in codons — groups of three bases. Each codon is matched by a tRNA carrying one amino acid; the chain grows codon by codon. Reading starts at the first AUG (Met) and ends at a stop codon (UAA/UAG/UGA). This uses the mRNA you just transcribed — try editing one DNA base above and re-transcribing to see a codon change the amino acid (a mutation).

Waiting for mRNA — transcribe first

The genetic code (the codons used by the demos; AUG = start/Met, red = stop):

3. The central dogma — why genes "do" things

DNA—transcription→ RNA—translation→ Protein

DNA is a stable archive — it stores instructions but rarely acts on its own. The work of a cell is done by proteins: enzymes that speed reactions, structural fibres, signals, channels, antibodies. So to use a gene, the cell first transcribes it into a disposable working copy (mRNA), then translates that copy into a protein.

Codons & the genetic code. The four RNA letters (A, U, G, C) are read three at a time, giving 4×4×4 = 64 codons. These map onto just 20 amino acids plus a stop signal, so the code is redundant — several codons can mean the same amino acid. AUG both starts translation and codes for methionine; UAA, UAG, UGA are stops and code for nothing.
Why one base matters (mutations). Because codons are triplets, a single DNA letter change can swap one amino acid for another (missense), leave the protein unchanged (a silent/synonymous change, thanks to redundancy), or create an early stop (nonsense) that truncates the protein. That is how a one-letter typo in a gene can change — or break — the molecule it builds.

Roughly, one gene → one polypeptide: a gene's sequence dictates a protein's amino-acid sequence, which folds into a 3-D shape, which determines what the protein does. (Real biology adds splicing, regulation and folding helpers, but this is the core idea.)