Lesson 6 of 20
【Lab】 Opening 181,411 rows — what is in here?
VDJdb 2026-06-03 · starting with what a single row means
The first five lessons were pictures. From here on we count.
The data is VDJdb: a table collecting every published claim of the form "this TCR recognised this fragment". We use the 3 June 2026 release, and after keeping only human rows, 181,411 remain.
gene cdr3 v j epitope mhc_a mhc_b cls
TRB CASSIRSSYEQYF TRBV19 TRBJ2-7 GILGFVFTL HLA-A*02:01 B2M I
One row is one chain, not one cell. A TCR has an α chain and a β chain, and plenty of experiments read only one of them.
Class II is 3.5%. Not because the world is short of CD4 T cells.
Python
Runs in your browser
CMV, EBV and influenza dominate — the ones easiest to find in healthy donor blood.
Python
Runs in your browser
Keep only high scores and the table shrinks hard. Which to use depends on the question.
Python
Runs in your browser
Why is class II only 3.5%?
The body has more CD4 T cells than CD8 — roughly 2:1 in peripheral blood. Yet class II is 3.5% of this table. Why?
One line: the 3.5% in this table is methodology, not biology.
🤔 Check yourself
What does a single row of this table represent?
Answer A cell has two chains, and many experiments read only one of them, so rows and cells are not 1:1.
🤔 Check yourself
What is the biggest reason class II records are only 3.5%?
Answer In the body CD4 outnumbers CD8. This ratio reflects difficulty of measurement.
🤔 Check yourself
What does a VDJdb score of 0 mean?
Answer 0 marks a single confirming paper. Since most rows are 0, filtering on score shrinks the table enormously.