AnyLearn
All lessons
Scienceintermediate

Antigen recognition: receptor diversity, MHC, and clonal selection

How can a finite genome recognise shapes it has never met? This lesson covers how B and T cells build random receptors by gene recombination, how MHC molecules show T cells what is inside other cells, why one rare matching cell gets selected and copied, and how the thymus removes the receptors that would attack the body.

Updated · AI-authored, review-gated · how lessons are made

Progress1 / 9

The problem: recognising the unknown in advance

Innate receptors read a short list of conserved microbial patterns. The adaptive system takes the opposite bet: build an enormous, random library of receptors before any threat appears, so that almost any molecular shape will fit at least one of them.

Definition: An antigen is any molecule an adaptive receptor can bind. The small part of it that a single receptor actually contacts is an epitope. One protein usually carries many epitopes.

Two cell types carry these receptors, and they read antigen in different ways:

B cell receptor (antibody)T cell receptor
Bindsintact molecules: proteins, sugars, lipidsshort peptide fragments only
Needs presentation?no, binds antigen directlyyes, peptide must sit in an MHC molecule
Secreted formyes, as antibodynever secreted
Typical epitopea 3D surface patcha linear stretch of amino acids

Everything in this lesson follows from two questions: how a cell generates a receptor nobody designed, and how a T cell gets to see fragments of proteins that are hidden inside other cells.

Sign in free to save your progress and earn certificates.

Full lesson text

All 9 steps on one page, for reading, reference, and search.

Show

1. The problem: recognising the unknown in advance

Innate receptors read a short list of conserved microbial patterns. The adaptive system takes the opposite bet: build an enormous, random library of receptors before any threat appears, so that almost any molecular shape will fit at least one of them.

Definition: An antigen is any molecule an adaptive receptor can bind. The small part of it that a single receptor actually contacts is an epitope. One protein usually carries many epitopes.

Two cell types carry these receptors, and they read antigen in different ways:

B cell receptor (antibody)T cell receptor
Bindsintact molecules: proteins, sugars, lipidsshort peptide fragments only
Needs presentation?no, binds antigen directlyyes, peptide must sit in an MHC molecule
Secreted formyes, as antibodynever secreted
Typical epitopea 3D surface patcha linear stretch of amino acids

Everything in this lesson follows from two questions: how a cell generates a receptor nobody designed, and how a T cell gets to see fragments of proteins that are hidden inside other cells.

2. The shape of an antibody

An antibody is a Y-shaped protein made of four chains: two identical heavy chains and two identical light chains, held together by disulphide bonds.

  • The arms (Fab regions) each end in a variable domain from one heavy and one light chain. Together they form the antigen-binding site, so every antibody binds two copies of its antigen at once.
  • The stem (Fc region) is made only of heavy-chain constant domains. It does not touch antigen. It is the handle that immune cells and complement grab, and its type defines the antibody class.
  • Complementarity-determining regions (CDRs) are three hypervariable loops in each variable domain, six per binding site, that make the actual contact with the epitope.

Key idea: Specificity and function are encoded in separate parts of the molecule. The variable tips decide what is bound, the constant stem decides what happens next. That separation is why a B cell can later change its antibody class while keeping exactly the same target.

A T cell receptor has a similar variable architecture, two chains (usually alpha and beta) with CDR loops, but it has no Fc stem and stays anchored in the membrane.

3. V(D)J recombination: building receptors by shuffling

The genome does not contain an antibody gene. It contains libraries of gene segments, called V (variable), D (diversity) and J (joining), and each developing lymphocyte cuts out and splices one of each. The enzymes RAG1 and RAG2 make the cuts at signal sequences flanking every segment. Susumu Tonegawa's work showing this somatic rearrangement (reviewed in Nature, 1983) earned the 1987 Nobel Prize.

A worked count, using the functional human gene numbers listed by IMGT, the international ImMunoGeneTics information system: 46 heavy-chain V, 23 D and 6 J segments, and on the light-chain side 33 V with 5 J for kappa plus 33 V with 5 J for lambda.

46×23×6⏟6,348 heavy×(33×5)+(33×5)⏟330 light≈2.1×106\underbrace{46 \times 23 \times 6}_{6{,}348 \text{ heavy}} \times \underbrace{(33 \times 5) + (33 \times 5)}_{330 \text{ light}} \approx 2.1 \times 10^{6}

That is only the combinatorial floor. The joins themselves are imprecise: nucleotides are trimmed, and an enzyme called TdT adds random ones, which multiplies diversity at the junction (CDR3) by orders of magnitude. Qi and colleagues (PNAS, 2014) sequenced human T cells and estimated at least 100 million unique T cell receptor beta chains in the naive repertoire of young adults.

4. How rare is a matching cell?

A library of hundreds of millions of receptors has a cost: any single receptor is rare.

Predict first

In a mouse, roughly how many naive CD4 T cells can recognise one particular peptide bound to one particular MHC molecule: about 20 to 200, about 20,000, or about 2 million?

This rarity explains two features of adaptive immunity. First, the delay: a handful of cells must find their antigen and multiply into an army before they make a difference, which takes days. Second, the architecture: lymph nodes exist largely to make that search feasible. They concentrate antigen carried in by dendritic cells at the same place where vast numbers of circulating naive T and B cells pass through every day, so the rare matching cell has a realistic chance of meeting it.

5. MHC: the display case for T cells

A T cell receptor cannot see a whole protein. It sees a short peptide held in the groove of a major histocompatibility complex (MHC) molecule, together with part of the MHC itself. This is called MHC restriction. There are two classes, and they report on different places:

MHC class IMHC class II
Found onalmost every nucleated cellprofessional antigen-presenting cells: dendritic cells, macrophages, B cells
Peptides come fromproteins made inside the cellmaterial taken up from outside
Read byCD8 T cells (killers)CD4 T cells (helpers)
Message"this is what I am making""this is what I have collected"

The CD8 and CD4 co-receptors bind the non-variable parts of class I and class II respectively, which is what locks each T cell type to its MHC class.

Gotcha: A T cell's receptor and an antibody can both target the same protein, but not in the same way. Antibodies can bind a folded surface the T cell never sees, while the T cell may recognise a buried stretch that only becomes visible after the protein is chopped up.

6. Two routes to the cell surface

Proteins made inside the cell are cut by the proteasome and loaded onto MHC class I in the endoplasmic reticulum. Material taken up from outside is degraded in endosomes and loaded onto MHC class II. Dendritic cells can also divert external material into the class I route, called cross-presentation, which is how killer T cells get primed against antigens a dendritic cell has swallowed.

flowchart TD
  A["Protein made in the cytosol"] --> B["Proteasome cuts it into peptides"]
  B --> C["TAP pumps peptides into the ER"]
  C --> D["Peptide loaded onto MHC class I"]
  D --> E["Read by a CD8 T cell"]
  F["Material taken up from outside"] --> G["Degraded in an acidic endosome"]
  G --> H["Peptide loaded onto MHC class II"]
  H --> I["Read by a CD4 T cell"]
  F --> J["Cross-presentation in dendritic cells"]
  J --> D

7. Why MHC differs so much between people

In humans the MHC genes are called HLA (human leukocyte antigen). Classical class I comes from three genes, HLA-A, -B and -C, and class II mainly from HLA-DR, -DQ and -DP. Both inherited copies are expressed, so a person typically displays up to six different class I molecules.

These are the most variable genes known in the human population. The IPD-IMGT/HLA Database, the reference catalogue maintained at EMBL-EBI, lists more than 46,000 named HLA alleles in its release 3.66, over 31,000 of them class I.

Why so much variety? Each MHC variant has a groove with its own preferences, so it can display some peptides and not others. A population carrying many variants makes it unlikely that one microbe could evade every person's MHC at once.

In practice: The same diversity is why organ transplants need HLA matching. A recipient's T cells react strongly to a donor's foreign MHC molecules, and the closer the match, the weaker that reaction.

8. Clonal selection: the antigen picks the cell

With receptors generated at random, the system cannot instruct a cell what to recognise. Frank Macfarlane Burnet's clonal selection theory, set out in the late 1950s, explains how it works instead:

  1. Each lymphocyte carries receptors of a single specificity, fixed before it ever meets antigen.
  2. Antigen binding to that receptor, with the right extra signals, activates only that cell.
  3. The activated cell divides into a clone of identical daughters with the same receptor.
  4. Some daughters become effector cells that act now, and some become long-lived memory cells.
  5. Cells whose receptors bind self during development are removed before they mature.

Key idea: Antigen does not shape the receptor. It selects a cell whose receptor already fits, then makes many copies. Specificity comes from the library, and magnitude comes from expansion.

Point 5 is the price of random generation. Shuffling segments produces self-reactive receptors as easily as useful ones, so they must be filtered out, which is the job of the thymus.

9. Central tolerance: the thymus filter

Developing T cells, called thymocytes, pass two tests in the thymus:

  • Positive selection: the receptor must bind self MHC at least weakly. A receptor that cannot engage MHC at all is useless, and the cell dies by neglect.
  • Negative selection: the receptor must not bind self peptide on self MHC too strongly. Cells that do are ordered to die.

The filter is severe. Palmer (Nature Reviews Immunology, 2003) notes that only 5% of developing thymocytes are exported as mature T cells, and that most of the rest die because they were never positively selected.

One puzzle remains: how can the thymus test against insulin or other proteins made only in distant organs? A transcription factor called AIRE switches on a broad set of such tissue-restricted genes in thymic epithelial cells. Liston and colleagues (Nature Immunology, 2003) showed that mice lacking Aire almost completely fail to delete T cells reactive to a pancreatic antigen.

Definition: Central tolerance is the removal or re-editing of self-reactive lymphocytes during development, in the thymus for T cells and in the bone marrow for B cells, where a self-reactive B cell can also re-edit its light chain to escape.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. What does a T cell receptor actually recognise?
    • Any intact protein floating in the blood
    • A short peptide held in the groove of an MHC molecule
    • Conserved microbial patterns such as lipopolysaccharide
    • The Fc region of antibodies bound to a cell
  2. Using IMGT's functional counts of 46 V, 23 D and 6 J heavy-chain segments, how many heavy-chain V-D-J combinations are possible before junctional diversity?
    • 75
    • 1,058
    • 2.1 million
    • 6,348
  3. A cell is making a protein from inside its own cytoplasm. Which pathway displays fragments of it, and to which T cells?
    • MHC class I, to CD8 T cells
    • MHC class II, to CD4 T cells
    • MHC class II, to CD8 T cells
    • No MHC pathway; only antibodies can detect it
  4. According to clonal selection theory, what does antigen do to a lymphocyte?
    • It instructs the receptor to fold around its shape
    • It converts a B cell into a T cell
    • It selects a cell whose pre-existing receptor already fits and drives that cell to multiply
    • It inserts new gene segments into the receptor locus
  5. Mice lacking the transcription factor Aire fail to delete T cells that react to a pancreatic protein. Why?
    • Without Aire, the thymus cannot display tissue-restricted self proteins, so self-reactive cells are never tested against them
    • Aire is the enzyme that cuts V, D and J segments
    • Aire is required for positive selection on MHC
    • Without Aire, T cells cannot leave the thymus

Related lessons

Science
intermediate

The adaptive response: T cell help, killer cells, and antibodies

What happens after a rare T or B cell finds its antigen. This lesson covers the three signals that activate a T cell, helper subsets and killer cells, how B cells get T cell help, how germinal centres evolve better antibodies by mutation and selection, and what each antibody class actually does.

9 steps·~14 min
Science
intermediate

Immune memory, vaccines, and the limits of tolerance

Why the second encounter with an antigen goes so much better than the first, and how vaccines exploit that. This lesson covers the cells that carry memory, why some memories last decades longer than others, how vaccine platforms and adjuvants work, and the layered tolerance that usually stops the system attacking the body.

10 steps·~15 min
Science
intermediate

Innate immunity: how the body detects danger in the first hours

Before any antibody exists, a germline-encoded system spots invaders by the molecules they cannot do without. This lesson covers barriers, pattern recognition receptors, phagocytes, complement, inflammation and natural killer cells, and why dendritic cells decide whether adaptive immunity starts at all.

10 steps·~15 min
Science
intermediate

mRNA as a Programmable Drug

Instead of manufacturing a protein, an mRNA medicine delivers the instructions and lets your own cells build it. This lesson covers the anatomy of a therapeutic mRNA, the immune problem that stalled the field for decades, and the modified-nucleoside breakthrough by Kariko and Weissman that made it work, the reason mRNA is a programmable platform.

8 steps·~12 min