VDJdb build outputs#
Every file the build produces, what it contains, whether it ships, and who consumes it.
Status key: shipped in the release zip · artifact produced and uploaded by CI but not zipped · internal produced during a build, not published.
1. Release bundles#
Three core ZIPs per release, with optional web bundles. manifest.json names them by role, so consumers select by role rather than by
asset order (ROADMAP §3.1).
Asset |
Role |
Contains |
|---|---|---|
|
|
the new VDJdb format (§3) |
|
|
byte-layout-compatible with the historical release (§2) |
|
|
AIRR Rearrangement + Receptor/Reactivity (§4) |
|
|
Prepared legacy-browser tables, motifs and assets |
|
|
Prepared browser structure assets |
Alongside them, as release assets rather than zip members: manifest.json, SHA256SUMS.
Build directories and storage#
vdjdb build --out out/ writes tables/, legacy/, airr/ and assembly reports/.
Motifs, record confidence v3, the corpus index, the dashboard and release archives are separate stages, described in
Build and release. A build directory is not itself a download bundle. Release
members are selected explicitly by src/vdjdb/release/manifest.py; reports, raw inputs and old
candidate directories cannot enter a ZIP through a wildcard.
Directory |
Contents |
Publication |
|---|---|---|
|
Six normalized tables, joined view, generated schema and post-motif record scores |
Primary bundle |
|
Full paired, chain and slim text projections plus metadata |
Legacy bundle |
|
Rearrangement, Receptor and Reactivity text tables |
AIRR bundle |
|
TCRNET and optional TCREmp positional tables |
Primary and legacy bundles |
|
Checked HTML fragment staged from the offline dashboard |
Primary and legacy bundles |
|
Search/reference corpus generated by |
Separate build output, outside the release bundles |
|
QC, identity, annotation, timing and comparison reports |
CI artifacts, outside the release bundles |
|
Selected ZIPs, manifest, checksums and identity lifecycle |
Release assets |
Assembly alone writes fourteen files: six .parquet, six .tsv.gz, vdjdb.parquet and
vdjdb.schema.json. After vdjdb score-records, the primary table directory has sixteen files,
including record_scores.parquet and record_scores.tsv.gz. These score files are optional bundle
members for compatibility with historical builds; the hosted pipeline requires both.
Gzip TSV is the portable text alternative to Parquet;
there is no uncompressed normalized TSV and no joined TSV copy. Rebuilding removes obsolete
uncompressed projections. The joined view repeats record attributes once per chain for convenience;
the normalized tables remain the authoritative facts. Do not sum rows across these projections as
distinct observations.
The legacy full, chain and slim files intentionally overlap. They serve existing consumers with
different units and filters; “slim” names a column/row projection, not a compressed file format.
Parquet is the compact choice for new applications. For a primary-only build use
vdjdb build --no-legacy --no-airr --out out/; a complete release still requires all three
projections. Generated TSV and TXT files larger than 1,000,000 bytes are stored locally as
.tsv.gz or .txt.gz, with deterministic gzip metadata and no retained plain copy. This applies
to legacy, AIRR, corpus, motif and report outputs. Smaller files may stay plain. Readers accept
either form. Release packaging preserves gzip sources as .tsv.gz or .txt.gz members inside the ZIP.
Readers resolve either form; packaging creates no oversized uncompressed staging files.
Local out/ can also contain retained candidate builds and audit evidence. Its total disk usage
is not the release download size. Measure one candidate’s table directory and its ZIPs separately,
and retain the accompanying input revisions and checksums when comparing sizes.
2. Legacy bundle - vdjdb-legacy-<version>.zip#
Ten required members, using .gz variants for compressed tables, under a single vdjdb-<version>/ directory. The logical member basenames are a contract; current readers resolve their gzip variants:
vdjmatch looks inside the zip for vdjdb.txt, vdjdb.slim.txt and vdjdb_full.txt by basename,
and vdjdb-web resolves the rest as <database.path>/<name>.
File |
Rows (2026-06-03) |
Cols |
Consumer |
|---|---|---|---|
|
284,546 |
22 |
vdjdb-web; its schema is built from |
|
21 + header |
8 |
vdjdb-web; must match |
|
197,729 |
17 |
vdjmatch, standalone R/Python users |
|
16 + header |
2 |
standalone users |
|
192,753 |
35 |
vdjmatch, standalone users |
|
55,636 |
19 |
vdjdb-web; parsed positionally, no header check |
|
40,061 |
27 |
vdjdb-web; parsed positionally, no header check |
|
- |
- |
vdjdb-web |
|
- |
- |
- |
|
40 lines |
1 |
legacy self-update clients; line 1 must point at this zip |
Optionally also cluster_members_tcremp.txt and motif_pwms_tcremp.txt, same positional schemas.
Column orders (positional contracts)#
vdjdb.txt (22): complex.id gene cdr3 v.segm j.segm species mhc.a mhc.b mhc.class antigen.epitope antigen.gene antigen.species reference.id vdjdb.score TCR_hash method meta cdr3fix web.method web.method.seq web.cdr3fix.nc web.cdr3fix.unmp
Production vdjdb-web additionally serves five appended evidence.* columns (§3.4).
vdjdb.slim.txt (17): gene cdr3 species antigen.epitope antigen.gene antigen.species complex.id v.segm j.segm mhc.a mhc.b mhc.class reference.id vdjdb.score TCR_hash j.start v.end
vdjdb_full.txt (35): the 31 chunk columns + cdr3fix.alpha cdr3fix.beta vdjdb.score TCR_hash
cluster_members.txt (19): species antigen.epitope antigen.gene antigen.species mhc.a mhc.b mhc.class gene cdr3aa x y cid csz v.segm j.segm v.end j.start v.segm.repr j.segm.repr
motif_pwms.txt (27): species antigen.epitope gene aa pos len v.segm.repr j.segm.repr cid csz count count.bg total.bg count.bg.i total.bg.i need.impute freq freq.bg I I.norm height.I height.I.norm antigen.gene antigen.species mhc.a mhc.b mhc.class
vdjdb-web parses cluster_members.txt and motif_pwms.txt positionally, against a fixed 19-entry
and 27-entry column-type array and with no header check. An inserted, removed or reordered column
mistypes or shifts the table without an error, so the column order of both files is a requirement,
not a convention.
Preserved legacy quirks#
vdjdb_full.txt’scdr3fix.*cells are Pythondictrepr, not JSON (single quotes). All 122,930 non-empty cells in 2026-06-03 are this form.vdjdb.txt’smethod/meta/cdr3fixuse Pythonjson.dumpsdefaults:", "separators andensure_ascii=True, so the en dash inM158–66is escaped: it is written as\u2013.struct.json_encode()is not byte-compatible.TSV fields are not wrapped in quotes. JSON cells contain literal double quotes; readers must disable CSV-style quote interpretation.
The
web.methodrow ofvdjdb.meta.txthas a space where a tab belongs, and all fourweb.*rows have a field shift. Reproduced in legacy, fixed in the new format.
3. New VDJdb format - vdjdb-<version>.zip#
A normalised star schema rather than one denormalised table. Six normalized tables plus the joined view.
Parquet, with deterministic gzip TSV projections of the normalized tables for text readers.
The joined convenience view is Parquet only. A rebuild removes obsolete uncompressed table
projections. Legacy and AIRR text layouts remain unchanged. Use the primary ZIP or Parquet
files with vdjmatch; its text-only linked-table loader does not discover .tsv.gz files.
Column names here are underscore_case, not the dotted names the legacy tables use: mhc_a,
antigen_epitope, v_segm, cdr3nt_pgen. A dot is a table qualifier in SQL and blocks attribute
access in most dataframe libraries, and these tables already mixed the two conventions -
record_id and pmhc_id beside mhc.a. The rule is a plain dot substitution with case left alone,
so TCR_hash and meta.donor.MHC ship as TCR_hash and meta_donor_MHC. The legacy tables do not
move: they are a positional contract vdjdb-web parses.
vdjdb.schema.json states both names per column - name is what the legacy tables ship and what
the registry indexes, ships_as is what these tables ship - and
Columns is the generated table for each, so neither can drift from the
build. The chunk format is unaffected: a submitted chunk still uses the dotted names.
3.1 records.parquet - one row per submitted record#
Primary key record_id, unique. A retained chunk row is one observation, reporting one or
both chains. Chunks normally represent one publication; aggregates retain per-row references. method.* and meta.* sit here
because they describe what the publication reports about the record.
The table has one row per retained publication report. Exact within-publication duplicates
are merged; reports from different publications remain separate. When a publication appears
in two chunk files, compatible rows merge and fill each other’s blanks. Different observations,
such as a solved structure and the sort that found the receptor, remain separate.
out/reports/repeated-references.tsv records these decisions. See the
current master summary for database sizes.
The receptor is not here: a chain is an observation, so it is a row of chains, while
vdjdb_full.txt folds both chains into paired columns and leaves half of them blank.
The generated column reference lists names, types and descriptions. Record fields cover identity, antigen, publication, sample, method, score and curation.
submitter, comment, chunk_id, meta_subset_frequency and method_pairing are kept here; the
legacy build discards all five.
method_frequency preserves the source text; method_frequency_count and
method_frequency_total preserve explicit numeric support (#696). Each explicit numeric cell
takes precedence independently. If one is missing, assembly may parse that component from an
x/X frequency string. A decimal or percentage alone cannot recover a count or denominator.
The recorded review counted 43,231 records with a count and total, 17,700 with a percentage,
2,601 with a decimal frequency, and 129,109 with none. Where all three fields are present,
vdjdb qc reports disagreement without repairing the source.
meta_subset_frequency is not filled from method_frequency. In that review it was populated on 2,412 records
and left as submitted, because the records that do carry it are using it for a different quantity -
method_frequency = 17/52 beside meta_subset_frequency = 0.70% is a clonotype’s count within a
sorted subset beside that subset’s share of the sample, and both are real. Consumers must retain the source-defined denominator for each quantity; coalescing these
columns would mix different measurements. Filling it in the build would have
written 61,253 cells across 117 chunks, every one a copy of the column beside it, and mixed the two
readings with nothing to tell them apart.
content_hash, the record state and the release/commit provenance are in the registry (§6), not
here: they describe the record’s history rather than the record.
3.2 chains.parquet - one row per TCR chain of a record#
Primary key (record_id, gene). This is the level vdjdb.txt is written at. Chains are a separate
table so that record fields are not duplicated per chain, as in vdjdb.txt, and not folded into
paired alpha/beta columns, as in vdjdb_full.txt.
The generated column reference lists every chain field. The CDR3 markup guide explains repair reports, segment calls, coordinate slicing and their interpretation. Submitted sequences and V/D/J calls remain available beside repaired junctions, canonical calls and inferred segments, so consumers can distinguish the source observation from the build result.
j_segm is the J that ships, and it is not always the J the paper reported. Three values sit side by
side: j_segm_submitted is the call as submitted, j_segm_arda is the allele arda.cdr3fix aligned
the junction against, and j_segm is what ships. A J is not used when it misses the junction’s last
3 residues, anchor excluded and one mismatch beside the anchor tolerated: it is replaced by the one
other gene of the chain’s locus that matches 3 or more, or by the one gene of its own family that
matches 2 or more when nothing reaches 3. Ties are not broken, a call no other gene explains stands,
and the junction itself is never altered. j_start and j_canonical are then about the gene that
ships (#681; vdjdb.curate.jcalls.recall).
cdr3nt is inferred, not observed (#461): it is the most plausible nucleotide junction behind the
amino-acid one, from the recombination model. 261,097 of 286,047 chains have one and each
back-translates to its junction, but two models agree on only 7.2 % of the sequences, so the column is
a representative history rather than evidence. cdr3nt_pgen is the reconstruction-stage model
score and cdr3nt_margin its ratio to the runner-up score; 9.4 % of those chains have a margin
below 1.1, indicating a close choice at that stage. Germline-flank replacement
can follow without rescoring, so these values are not calibrated probabilities or uncertainty
estimates for the final nucleotide string. The markup guide explains
the scoring and coordinate conventions.
cdr3fix is not a column here. Every member of the legacy JSON blob is its own variable:
cdr3_original is the sequence as submitted, the four fix_* / *_fix_type columns say what was
done to it, and v_canonical / j_canonical say whether the anchors are the expected ones. In the
legacy release the same field is a JSON number on one row and a string on the next.
emit/legacy.py reassembles the blob on the way out, and nothing else may.
clonotype_id is CT plus 16 hex digits of a sha256 over (species, gene, cdr3, v.segm, j.segm).
Records reporting the same receptor chain share it, and it is the level motif evidence and the
independent-study support count attach at. clone_id is CX plus 16 hex digits over the record’s two
sorted clonotype_ids, and is the empty string on the 99,459 records reporting a single chain.
Both are hashes of their own keys rather than counters, so adding or removing a chunk cannot renumber
anything, and sha256 rather than a library hash function so that a dependency upgrade cannot renumber
the database either. records.pmhc_id and records.epitope_id are the antigen-side equivalents.
Identifiers is the reference: the five levels, the two mechanisms, the
lifecycle fields and the seven invariants vdjdb identity check asserts.
The explicit coordinate fields in chains and the joined view are:
Nucleotide field |
Amino-acid field |
Meaning |
|---|---|---|
|
|
Exclusive end of V |
|
|
First included position of J |
|
|
First included position of D |
|
|
Exclusive end of D |
All eight use 0-based, half-open junction space, including both conserved anchors.
The nucleotide coordinates index cdr3nt. V/J offsets come directly from
vdjtools.model.annotate_junctions, preserving boundaries inside codons. D placement
comes from that same call, converted from its 1-based closed interval.
For a nucleotide span [s, e), the amino-acid span is [s // 3, (e + 2) // 3):
every codon touched is included, so two segments can overlap in amino-acid space.
For example, D nucleotides [5, 7) touch residues [1, 3).
V starts at zero; J ends at the junction length in the chosen unit.
Unavailable coordinates are null, including all D coordinates on TRA chains.
Coordinates are also null when the inferred sequence is absent or fails to translate
to the shipped junction. These are annotation-derived boundaries, not observed
nucleotide measurements.
The unsuffixed fields remain for compatibility. v_end and j_start retain the
historical protein-alignment values and -1 sentinel; they need not equal the new
amino-acid endpoints derived from nucleotide spans. d_start and d_end remain
aliases of d_start_nt and d_end_nt. Legacy files, positional motif columns and
cdr3fix JSON retain their existing names and values. Internal table names use dots
(v.end.nt); exported tidy tables use underscores (v_end_nt).
d_segm is the curated D call, as the publication reported it. d_inferred, d_start and d_end
describe the D of the recombination scenario that produced cdr3nt, so the coordinates index that
sequence (0-based, half-open). They agree with the curated call at gene level on 78.4 % of the 40,892
beta chains that have one.
v_inferred and j_inferred record inferred calls where the publication left a
segment blank. Both proposals ship in v_segm and j_segm, while the submitted
fields stay unchanged. The known alpha/beta column supplies the inference locus.
Tied candidates use the library’s first candidate. Fixer labels and boundaries
retain the alignment result, including failed alignments.
The build rejects any present chain missing V, junction, J or fixer information, and any record with zero chains. These errors stop CI; no observation is dropped. Inferred calls describe the build’s inference, not a segment observed in the paper.
Two sources answer, in order: the recombination model (vdjtools.model.infer_nt_batch, with the blank
side marginalised), then arda’s germline anchor table where the model declines - which is also the only
source for a species no model covers, and is what fills the 74 macaque j.alpha blanks that nothing
filled before. Until #658 this was a k-mer scan over res/segments.txt, a by-product of a 2023 IMGT
import whose V half never worked at all: 3 non-empty guesses in 4,000 sequences.
v_end_inferred and j_start_inferred are the two sources of a V/J boundary, kept apart on
purpose (#631). v_end and j_start are arda.cdr3fix’s answer, read off its protein alignment
against the germline of the segment the record names, and -1 where it declined - 4,163 chains for
v_end and 1,164 for j_start. The _inferred pair is the boundary a second germline alignment
supports, from vdjtools.model.germline_boundary, which decides how far into the boundary codon the
germline reaches rather than rounding to a residue. It is filled only where the first declined:
2,442 and 488 chains. Everywhere else it is -1, so the two are distinguishable by column and
coalescing them cannot overwrite the shipped answer.
Two boundaries rather than one filled column, because they are answers to the same question with
different precision and the shipped column is what vdjdb-web reads. Against the external nucleotide
truth in tests/release/test_cdr3fix_accuracy.py the codon decision is exact on 92.9 % of v_end
and 98.0 % of j_start, where a protein alignment rounding to whole residues - VDJdb’s k-mer
scanner and arda.cdr3fix alike - is 71.8 % and 97.1 %. It is not promoted into v_end anyway: that
is a change to what the database says about every record, which belongs to a curation decision and to
its own declared rules, not to a build improvement. What it does do is replace -1, which carries
nothing at all.
The _inferred pair used to come from the argmax recombination history behind cdr3nt instead. That
was 11 points worse on v_end, because maximising P(sequence) explains N-region nucleotides as
templated whenever it can; antigenomics/vdjtools#182 was opened from this measurement and fixed it.
The legacy tables and the cdr3fix JSON vdjdb-web parses keep the alignment’s -1 untouched
throughout.
d_posterior is the probability of the gene d_inferred names, from the same recombination
scenario weights that named it - so the number beside the call is the probability of that call.
Naming the D and placing it are separate questions and one estimator answers each: the model names
the gene, the aligner places it. Measured on 4,000 real human TRB rearrangements whose D and
coordinates come from the nucleotide sequence, the gene is right on 74.35 % of all rows and 99.80 %
carry coordinates. TRBD1 and TRBD2 are short, heavily trimmed and similar, so the junction often
cannot choose between them: filter on d_posterior; do not read d_inferred alone.
There is no d_entropy. It came from a separate estimator (arda.dpost) that named a different D
gene from the one it annotated on 21.5 % of chains, and that estimator is retired: the posterior now
comes from the scenario weights and there is no second distribution to take an entropy over.
3.3 evidence.parquet - long format, one row per piece of evidence#
Primary key (record_id, evidence_id). The table is long rather than wide because a record may have
any number of pieces of evidence of any number of kinds: a wide table would be mostly empty and would
gain a column per producer.
record_id, gene (empty when the evidence is record-level), evidence_id, evidence_type,
evidence_source, evidence_value, evidence_score, first_seen_release.
|
|
|
|
|---|---|---|---|
|
one other reporting reference |
the same reference |
total distinct reference count |
|
release tag |
cluster id |
cluster size, positive |
|
release tag |
cluster id |
cluster size, positive |
|
release tag |
empty |
0 |
|
release tag |
empty |
0 |
|
PDB |
one PDB id |
absent |
|
source model hash |
metric name |
metric value |
Independent publication support is scoped to (clonotype_id, antigen_epitope), not an exact
paired receptor or MHC restriction. Each other publication is a separate value; the numeric score
remains the total number of distinct references, not the number of evidence rows. The original
records and chains tables retain every publication’s observations, methods and metadata. Join
these on the required receptor and pMHC identity to aggregate evidence at another resolution. A
method reported for one partner is not transferred through a shared chain.
The existing motif run now writes evidence for its producer-owned scored cohort as well as its
positive members. TCRNET joins species, chain, peptide and anchor-inclusive junction; TCREmp also
requires the embedding input V/J calls. Both describe peptide-conditioned neighborhoods, not an
MHC restriction. _nonmember rows mean the method scored that input but did not retain it in a
motif. No row means unscored or unavailable. Nonmembership is not a nonbinding label. Keeping a
separate type preserves positive-only motif filters in downstream consumers. Rerunning a selected
method replaces both its positive and nonmember rows and refreshes vdjdb.parquet.
Pass vdjdb build --structure-metadata <input.tsv.gz> to attach the auxiliary structure metadata.
Optional --structure-supplemental <metadata.tsv.gz> adds reviewed raw model metadata to
this input within one build. It is off by default and remains off in hosted assembly/scoring
pending matched-cohort extraction validation. Supplemental raw catalogues distinguish reported
assignments from synthetic swapped pairs and mutants; public deposits contain no assay outcomes.
The independent file audit checks those assets and links separately from the production evidence.
The input requires tcr_pmhc_hash and Boolean is_native, and native rows require one valid
meta.structure.id PDB identifier. Exact existing chains.TCR_hash links propagate across all
records of that complex, not to single-chain matches. Species and MHC class are checked against
metadata when supplied, because the historical hash omits them. The build prints exact matched
and unmatched hash counts. A structure row has empty gene, so it applies to its complete record.
Identical repeated model annotations are deduplicated; conflicting values for one hash and metric
fail instead of selecting the best value. Native evidence identifiers retain the source hash as
well as the PDB accession.
When metadata also provides both anchor-inclusive junctions (cdr3.alpha, cdr3.beta) and
antigen.epitope, the build associates unmatched predicted models with that three-field key.
Each chain must have one unique nonmissing current V gene known to the species-specific
nomenclature authority across all candidate records before
context filtering. Missing calls do not create competing genes and remain missing; multi-call
and unresolved nonmissing annotations are rejected, while allele-only variation is allowed. Source
V/J annotations need not match current annotations. Provided source species, MHC components and
class restrict propagation to compatible records; current record context is preserved. Documented
H-2/H2- prefix spelling and later numeric synonymous HLA fields may agree; expression suffixes
remain distinct. This model association does not prove identical complete receptor constructs.
The build reports additional predicted and native source hashes and record links.
Native evidence additionally requires a compatible fully specified source pMHC context, or the same PDB ID on a current record with both junctions and peptide matching. The latter provenance route requires one current species/pMHC context for that source hash and PDB ID. Conflicting curated restrictions remain unlinked by provenance recovery. A recovered PDB association applies only to its matching PDB ID, even when another PDB ID shares the source hash. Hash-only metadata keeps the existing exact-hash API. No record annotation is rewritten by either association route.
Optional --structure-coordinates <coordinates_aa.tgz> adds molecular proof for unmatched source
hashes independently of three-field association. It requires the complete identity columns from
vdjdb.assemble.master.HASH_FIELDS,
species and mhc.class in the metadata. Reviewed gene spelling synonyms may match the complete
receptor and pMHC identity. Otherwise the producer reads the archive once and requires exact
alpha and beta mature variable-domain sequences, rebuilt from explicit known V/J alleles and
the recorded anchor-inclusive junctions. Gene-only or ambiguous allele calls do not establish
a domain. The modeled beta domain may also have one extra terminal E after the exact reference
domain; the exact untrimmed domain is always checked. The coordinate peptide must equal the
recorded peptide, and species, both MHC components and MHC class must agree. Later synonymous
HLA fields can be compared at protein resolution; expression suffixes are preserved. One matching
chain does not establish a molecular link.
Archive members are <source-hash>_aa_coordinates.tsv, with one amino acid per Chain, ResNum
pair and Residue containing its one-letter code. The required chain roles are TCR_alpha,
TCR_beta and peptide. Each required chain must have contiguous residue numbers starting at 1.
Members with a missing chain, an internal numbering gap or a different start are skipped rather
than concatenated into molecular proof. The archive is an explicit input, never downloaded or
extracted by the build. Recovery adds evidence to the existing table and retains the original source hash; it
changes neither record identities nor TCR_hash. Hashes with no accepted association or molecular
proof remain unlinked.
By default the domain proof uses the bundled reference models already used for AIRR contigs.
--structure-full-germline can supplement missing explicit allele keys through the published
vdjtools.model.reference.arda_full_germline API. Set ARDA_HOME to a pinned local reference
root before starting the process, for example:
ARDA_HOME=/path/to/reference vdjdb build --structure-metadata input.tsv.gz \
--structure-coordinates coordinates_aa.tgz --structure-full-germline --out out/
The root must already contain database/vdj/<organism>/alleles.fasta, markup.tsv and
cdr3_anchors.tsv. This option neither downloads a reference nor changes the process environment
or reference caches. Existing bundled flanks retain priority; absent explicit alleles remain
unavailable. Preserve these raw inputs with the build recipe and their checksums.
Predicted metrics are separate flat values: num_contacts, ranking_confidence, plddt, ptm,
iptm, tcr_pmhc_iptm, scanning_angle and pitch_angle, when supplied. Absent metrics have no row.
Native rows contribute their PDB identifier only, never the corresponding predicted metric values.
The joined view displays availability badges; analysis should read the numeric long table and keep
native evidence separate when it defines validation labels. No coordinates, backgrounds, labels or
fitted classifier parameters are added to the bundle. The separate post-motif
record confidence v3 stage reads a packaged frozen model and
records its digest in the score table; database assembly does not load the classifier.
No held-out validation data is ever an evidence row. See §7.
Structure files and current-record cross-links#
Coordinates and structure-specific maps are distributed separately in the VDJdb structures dataset. The database bundles contain evidence identifiers and supplied numeric metrics, not PDB/mmCIF files, contact tables or SVG maps. Current structure metadata is the broader, reviewed association inventory; it also retains historical links with explicit sequence differences that the automatic evidence producer above does not accept as exact proof. Its counts must not be equated with automatic evidence counts.
To join structures to a particular build:
Select the database revision and input digests recorded in the dataset’s
metadata/current/verification.json. Record IDs are stable identifiers; the snapshot also fixes the annotation and sequence state being compared.Join
metadata/current/record_links.tsv.gztorecords.parquetonrecord_id. To inspect alpha and beta, joinchains.parqueton that same ID and selectgene=TRAorTRB.Select
matches_original,matches_repairedor both according to the intended sequence state. VDJdbcdr3is the anchor-inclusive junction, including conserved Cys and terminal Phe/Trp.matches_originaldescribes the submitted chunk pair;matches_repaireddescribes the built pair. Both true means the model matches both states for that observation.Require
exact_tcr_pmhc_matchwhen recorded species, MHC class and both MHC chains must also agree. Paired junction/peptide equality alone does not prove full variable-domain identity or identical experimental constructs. Inspectlink_basisand mismatch fields for provenance links.Resolve the structure through
tcr_pmhc_hashfor predicted PDBs or its PDB accession for native PDBs.asset_inventory.tsv.gzandasset_sources.tsv.gzmap archive members to source rows;source_rowidentifies a data row in the preserved summer metadata. Link rows are many-to-many, not independent structures or experiments. Historicalidxand legacycomplex.idare not current record IDs.
The reviewed October 2026 migration accounts for all 11,253 historical PDB files: 8,429 have
current record links, 2,811 preserve withdrawn 10X assignments under
low_confidence/withdrawn_10x,
and 13 native complexes retain excluded modified-ligand chemistry. Low confidence refers to the
assignment, not the coordinates, and does not mean experimentally demonstrated non-binding.
Of those 2,811 structures, 2,538 (90.3%) are assigned to KLGGALQAK. The other 273 include
GILGFVFTL (117), RAKFKQLL (95), and six other peptides (61 combined).
Native review and PDB coverage
describe the thirteen exclusions and the recovered 9GV6 observation, VDJDB0000339155.
In that migration snapshot, the latter appeared in the definitive tables and full paired
export with blank V/J calls, so the default legacy chain/slim filter excluded it. This is a
historical snapshot; current complete-chain validation is described in §3.2. Coordinates are
available for all 360 declared PDB_Database accessions after eighteen missing accessions were
downloaded. That historical count covers the PDB aggregate chunk only; the current independent
audit checks all 367 native accessions declared across the current records. The supplemental data/pdb_sources/ mmCIF files retain deposited coordinates, chain
IDs and literal chemistry; they are not interchangeable with the historical canonical-frame PDBs.
The supplemental structure catalogue preserves 11,911 distinct coordinate contents: 11,388 new contents and 523 already present in the historical archive. Its 16,118 structure/record/sequence-state links connect 4,777 structures to 7,292 current records. Original and repaired sequence states can each contribute a link, so these links are not counts of independent experiments. Input positive/negative and pairing flags are ignored: the catalogue maps literal receptor/pMHC sequences to coordinate files and supplies no binding outcomes. Native/predicted construction provenance does not gate these links; default hosted assembly and scoring do not use its optional supplemental build input.
The independent processing/proofread_structure_files.py audit reads the pinned raw-input
manifest proofreading/structure_inputs.tsv, checks every file digest, and streams all declared
archives without extracting them. It validates current model links against reviewed
coordinate-sequence metadata; chain sequences are not independently re-extracted during CI.
It also verifies coordinate coverage for all native accessions, including those outside the PDB
aggregate chunk. Sequence equality and historical lineage associations remain separate findings.
It writes structure_files.parquet, native_structure_files.parquet,
supplemental_structure_files.parquet and structure_files.json under out/reports/structures/;
these are CI artifacts, not bundle members. See
the audit command for the separate input-fetch and verification steps.
Record confidence v3 outputs#
vdjdb score-records --tables out/tables runs after motifs and writes record_scores.parquet
and record_scores.tsv.gz in that table directory by default. Each has exactly one row per
current record_id, sorted by ID. The files report paired and chain-only probabilities,
missing-evidence bounds, integrated evidence features, score version and frozen-model SHA256.
The v3 specification defines their columns and interpretation.
The existing legacy 0-3 score and positional exports remain unchanged. No stored feature or
prediction rows are reused across builds. The frozen v3.2a parameters use explicit epitope contexts;
missing evidence is marginalized. Its reported comparisons use the fitted cohort and do not
estimate universal production-record accuracy. V3.2 is the default. --legacy-v31 selects v3.1;
--legacy-v3 selects original v3 and hard evidence. In these legacy modes,
--soft-membership adds four Hamming-1 fractions and integer *_members /
*_neighbours columns within each producer’s scope.
V3.1 and explicit --continuous-membership use \((1-w)b+wu\) with \(w=1/12\),
retain *_hard assignments and record continuous_membership and
motif_score_version=separated-producer-v2, motif_score_width and *_support.
V3.2 exports validation_score (v3.2a assay validation) and
independent_validation_score (v3.2b additional-publication detection).
record_score and paired remain aliases of v3.2a. Each score has a separate
version field and SHA256: validation_score_version / model_sha256, and
independent_validation_score_version / independent_model_sha256.
The table release is score_version=3.2. All records remain in the output,
including records excluded from the fitting subsample. See the
scoring specification for the two targets,
fixed encodings, native-structure policy, fitting script and legacy selectors.
V3.1 records score_version=3.1 and its decision_threshold; the
v3 specification
defines the ordering guarantee and interpolation semantics.
3.3a epitopes.parquet and restriction.parquet - the antigen catalogue#
VDJdb’s own list of epitopes and the MHCs that present them.
Table |
Key |
|---|---|
|
|
|
|
epitopes has antigen_gene, epitope_length, mhc_class, and the support counts records,
chains, clonotypes and references. Counts are recomputed on each build.
proteome_peptide and proteome_substitution link an epitope to the host-proteome peptide it is
one substitution from, where the epitope is not itself in the proteome (#632). In the
2026-09-29 measurement, 211 of the 2,131
epitopes carry the link, and 67 of those have the proteome form curated in VDJdb as a separate
row - 35,346 records, 18.3% of the database, on rows nothing else says are two forms of one
peptide:
epitope |
records |
|
records |
|
|
|---|---|---|---|---|---|
|
29,729 |
|
13 |
|
NY-ESO-1 |
|
2,401 |
|
140 |
|
MLANA |
|
2,495 |
|
5,048 |
|
INS |
|
100 |
|
19 |
|
PMEL |
A query for NY-ESO-1 responses returns the 29,729 and never learns the 13 exist. That is what the columns are for.
Neither row is wrong, and this is not a defect report. The epitope sequence is the ground truth -
it is the peptide the experiment used - and the difference from the proteome is almost always
deliberate: an anchor-optimised vaccine peptide, a designed altered-peptide ligand, a heteroclitic
variant, or a structure solved with a modified peptide. Of the 36,496 records on these 211 epitopes,
58 carry a meta_structure_id and 54 come from PDB_Database.tsv, so the crystallography case is
real and small. The columns are named for what was measured and not for why, because the sequence
tells those causes apart from none of the others.
Empty on the other 1,920 rows, and on every viral or bacterial epitope, because only the human and
mouse proteomes are read - a pathogen epitope’s source is the pathogen’s proteome, which is a
per-pathogen fetch and a different question. Both columns are read from
proofreading/epitope_proteome.tsv, a committed reviewed input refreshed by vdjdb antigens in its
own pull request, never resolved during a build: mhcmatch fetches the proteome from HuggingFace,
so doing it here would put a network call in the critical path (hard rule 9).
The key is the epitope and the species, not the peptide. A reader who assumes one row per peptide
which the table’s name invites - joins the records of 12 peptides twice.
patches/antigen_epitope_species_gene.dictis keyed on the peptide alone and cannot express them, so this is a table rather than a view over the patch.
The recorded 12-peptide inventory had two classes; a separate corrected example is also
described below. out/reports/epitope-sources.tsv separates them (#633):
6 are conserved peptides - the same sequence in two organisms’ proteomes, retained as separate publication reports.
VEALYLVCGis in humanINSand mouseIns2,RPIIRPATLin influenza A and BNP,LRVMMLAPFin E. coli and S. TyphiyeiH. The report marks themconserved, which is the column to sort on, so a new collision is the only thing to look at.6 are vocabulary gaps - one organism written two ways (
AdVbesideHAdV5), orSyntheticinantigen_species, which is a provenance and not a species. These want an alias table and which way each folds is a curator’s call (#632, #637).a mis-curation, now repaired:
RGPGRAFVTIwasHomoSapiens/P18-I10on one row againstHIV-1/GP160on 85, whereP18-I10is the laboratory name of the HIV-1 V3-loop peptide itself.
The same report carries the other half of the ambiguity, which nothing reported before. epitopes keeps
the modal antigen_gene for each (peptide, species), and 30 of them have more than one label - so
the report counts them in a genes column beside the label the catalogue kept.
Its first run found FVVKAYLPVNESFAFTADLRSNTGGQA carrying 187 labels, Eef2 to Eef188, one per
record and consecutive: a spreadsheet autofill had incremented one gene name down the column. That is
repaired (#397, #694) - mhcmatch’s mouse proteome assigns the peptide to Eef2 and to nothing else -
so the largest remaining is 2.
restriction checks each allele against IPD-IMGT/HLA (https://www.ebi.ac.uk/ipd/imgt/hla/) by
exact name or a colon-delimited extension, retaining the reported resolution, and against
proofreading/mhc_nonhuman.tsv for the names that database does not cover (murine H2-, macaque
Mamu-, and B2M). So mhc_a_status and mhc_b_status read known, unconfirmed, declared or
unknown.
unconfirmed is a refinement of known, not a rejection (#634): the call resolves in IPD and every
allele under it is Unconfirmed - it rests on a single submission rather than an independent
observation. The existence check cannot make that distinction, because every one of these carries a name
IPD has. Measured 2026-09-29: 14 calls over 105 records, and 80 of those are one call,
HLA-A*02:01:48 - a third-field allele resting on one cell from one submitting group, where
HLA-A*02:01 has 169 Confirmed alleles under it. What to do about that is a curation question about
what the submitters meant, so it is reported and never fatal.
An unknown call fails the build, naming the value, column and affected chunks.
A reported class-II chain can have an unreported partner; the build preserves that partial
restriction. See chunk format for permitted missing values. The fix is an entry in
patches/mhc.dict when the call is wrong, or a row in proofreading/mhc_nonhuman.tsv when it is a
species IPD-IMGT/HLA does not cover. Whether the allele could present that peptide, rather than only
whether its name exists, is phase 9e: presentation.tsv in §5 for the offline half, and the six
columns below for the model’s ranking.
restriction also carries six promiscuity columns (ROADMAP §10.6). An epitope is often presented by
several alleles and the curated one is not always the best binder; both facts belong in the database
and neither belongs in a key, because a model upgrade would otherwise renumber pmhc_id and break
every external reference while the build passed.
Column |
What it is |
|---|---|
|
distinct |
|
the panel allele that presents this epitope best |
|
where the curated allele sits in that ranking, 1 being the top |
|
the curated allele’s |
|
panel alleles in the strong band for this epitope |
|
the software version that produced the four prediction annotations above, per row. Empty on a row scored before the column existed |
The five model-related columns are joined from the committed
proofreading/epitope_promiscuity.tsv (13,510 rows over 1,729 epitopes and 107 alleles in the
recorded review). alleles_reported is counted from the current restriction table.
Epitope-level predictions can appear on rows whose reported allele has no panel rank. Nothing is predicted during a build: mhcmatch fetches its reference
data from HuggingFace, and a build that downloads a model is neither offline nor deterministic (hard
rule 9), so the table is a reviewed input refreshed by vdjdb promiscuity through its own pull
request.
A curated allele the prediction outranks is not a defect. The curated allele is the one a
publication typed a donor for, which a proteome-background ranking has no access to, and most of these
epitopes are promiscuous. In the recorded review, 1,793 of 1,989 class-I pairs received a rank; the 196 unranked pairs
fell into three causes: 86 pairs (16,316 records) name an allele outside the panel,
86 (10,395) an epitope the table has not been refreshed to cover since it was written, 24 (381) an
epitope outside the 8–11-residue class-I range. A deeper spelling such as HLA-A*02:01:48 is scored at its two-field molecule, because the
panel is named at two fields and there is no deeper groove.
3.3b epitope_assessment.parquet - reported peptides and predicted binding cores#
Also shipped as epitope_assessment.tsv.gz in the primary bundle. This extends the presentation
annotation in section 3.3a and ROADMAP section 10.6 (#1315). It records predictions separately from
the epitopes provenance catalogue and the reported MHC pairs in restriction.
The key is (antigen_epitope, antigen_species, antigen_gene, species, mhc_species, mhc_class, mhc_a, mhc_b, prediction_allele). Every reported pair has a row with reported = true, including
unsupported peptides and molecules. Competing parent-gene labels are retained. species describes
the receptor; mhc_species selects the presentation model from the reported molecule; neither is
the peptide’s antigen_species. Additional predicted pairings have reported = false, blank
mhc_a/mhc_b and zero records/references. Support counts belong to reported pairs only.
prediction_allele is the mhcmatch panel key. Class-II keys identify a molecule, including both
polymorphic chains for DP/DQ; an absent DP/DQ partner is not imputed. allele_resolution distinguishes
an exact resolution from prefix completion. Deep-field class-II chain names are normalized
to their two-field groove names for scoring; reported chain names remain unchanged. The lowest presentation percentile is marked
prediction_best, with ties broken by allele name. All weak/strong predicted presenters and every
reported pairing are retained. The best panel allele is retained even when its band is non-binder.
That flag is a ranking within this panel, not evidence that the peptide is presented.
Class-II percentile ranks use a random-peptide background of the same length as the scored
peptide, so the null includes the same number of available register frames.
Class I retains mhcmatch’s marginal background and length preference. presentation_p_present
is the published scorer’s separate isotonic probability; it is not a length-conditioned percentile.
prediction_peptide is the scored sequence. A reported class-I peptide longer than eleven residues
is assessed as binding-length windows, retaining the best window per allele and its 0-based
prediction_offset in the reported sequence. Class II is scored as the reported sequence, with its
allele-dependent register. core and core_offset come from the same model register, not an
allele-independent register guess. Class-I cores follow mhcmatch’s footprint: eight residues for
an 8-mer, nine for a 9-11-mer, with central insertions omitted. Such a core need not be a contiguous
substring, and should not replace the full peptide in a structure model.
tcr_facing is the scored peptide with mhcmatch’s class-default anchors masked by X.
core_tcr_facing applies the core residue mapping to that sequence, excluding class-II flanks.
These are predicted representations, not measured minimal recognition epitopes or measured contact
maps. A shared core under the same molecule supports a comparison between reported peptides; it
does not establish equivalent TCR recognition. Flanks and alternative registers can still matter.
No record, pMHC id, motif group or curation field is changed by this table.
assessment_status states coverage. scored rows contain the presentation percentile, calibrated
probability and mhcmatch class-specific band. Other rows name the absent reference, unsupported
peptide/species/class, absent panel allele, empty reference panel, or unscorable pair. Optional
measurements are text, with empty string as
the missing value; select scored rows and cast to numeric types for calculations. The generated
column reference declares every field.
Build-time predictions use the published mhcmatch version and revision/checksum-pinned reference
declared in rules/epitope_assessment.toml. Human and mouse class I/II are supported. Fetching the
reference is a separate input step; assembly is offline, recomputes predictions and calibration on
every run, and disables persisted calibration results. The fitted models bundled with mhcmatch are
immutable model inputs. Each row records the software version, reference SHA256, calibration seed,
background and footprint. CI runs:
uv run vdjdb epitope-reference --out out/inputs
uv run vdjdb build --out out/ --pmhc-reference out/inputs/pmhc/pmhc_full.tsv.gz --epitope-jobs 4
The same table can be recomputed independently with vdjdb assess-epitopes, over explicit chunk
files or --tables. See check scopes; selected-input
support counts are not full-corpus measurements.
Without --pmhc-reference, the table still catalogs all reported pairs and marks
reference_not_supplied; it makes no predictions. --epitope-jobs budgets processes over distinct
MHC species/class groups, each with one native thread. Results are sorted independently of worker
count. The older reviewed class-I promiscuity input and its restriction columns retain their
existing meaning; this table provides detailed freshly computed assessment alongside them.
3.4 vdjdb.parquet - the joined view#
records ⋈ chains ⋈ evidence, one row per chain, with each evidence type pivoted to a boolean. It is
the denormalised convenience table, derived on every build and never authored by hand.
Six boolean columns, all six always present: evidence.motif.tcrnet, evidence.motif.tcremp,
evidence.structure.native, evidence.structure.model, evidence.validation.independent,
evidence.validation.same.study. An evidence type with no producer yet is false, meaning no
evidence of that kind, rather than a missing column, so the shape of the view does not change as
phases 8–11 land.
The names match the five evidence.* columns production vdjdb-web already serves; nothing in this
repo produced them before this view.
3.5 Generated metadata#
vdjdb.schema.json is the field registry in machine-readable form: per column, its vdjdb.meta.txt
attributes, its position in every table that includes it, and its physical dtype. Every other schema
artifact (vdjdb.meta.txt, the legacy column orders, the AIRR mapping in phase 7, the docs tables) is
a projection of the same registry, so none of them can drift.
The dtype is read off the written frame rather than declared, so the schema cannot claim a type the shipped files do not have.
3.6 Motif files#
The primary bundle currently includes the same cluster_members.txt and motif_pwms.txt
files as the legacy bundle (§2), plus their optional TCREmp counterparts. It does not ship
clusters.parquet or motifs.parquet.
Run vdjdb motifs --tables out/tables to produce these files under out/motifs.
The motif stage also replaces its linked evidence rows and refreshes the joined Parquet view in
out/tables. Use the same --release value for build and motif commands.
The column orders in §2 apply to both bundles. Background data are inputs; only derived
counts and statistics ship. The per-epitope diagnostic is
reports/motifs_per_epitope.tsv (§5).
4. AIRR bundle - vdjdb-airr-<version>.zip#
File |
Level |
Rows (2026-06-03 reference corpus) |
|---|---|---|
|
one row per chain; AIRR Rearrangement |
286,047 |
|
one row per paired record; AIRR Receptor |
81,003 |
|
one row per record; AIRR Reactivity |
192,753 |
|
the AIRR schema version the files conform to (2.0) |
- |
The files are linked by cell_id, which is the record_id: a VDJdb record is one publication’s
report on one T-cell clone, and a clone is what AIRR’s Cell names. Both are standard AIRR fields.
Reactivity has ligand_type (MHC:peptide), antigen_type (peptide), antigen,
antigen_source_species, peptide_sequence_aa, mhc_class, mhc_allele_1, mhc_allele_2,
reactivity_method, reactivity_readout, reactivity_value, reactivity_unit and
reactivity_refs.
reactivity_readout is confidence and reactivity_value is vdjdb.score, which is what the AIRR
spec asks of a non-physical assay: “for inferred and annotated methods this should indicate a
confidence/quality level”. reactivity_method is MHC_peptide_multimer, native_protein or
annotated; see AIRR mapping for the classification.
junction contains the inferred nucleotide junction when available in the definitive chains
table. sequence, the two alignments and the three cigars remain empty: inferred junctions do
not establish a measured full nucleotide sequence. The schema requires those columns, not a
value, and CI validates the complete Rearrangement table. The row counts above describe the
reference corpus, not a count assertion for later builds.
Receptor requires receptor_variable_domain_{1,2}_aa, the complete mature variable domain and
non-nullable, so both are rebuilt by stitching germline V and J around the inferred nucleotide
junction and translating. Domain 1 is the beta chain, domain 2 the alpha, as the
schema’s controlled vocabularies require. receptor_hash is a sha256 over the two concatenated
domains and is not VDJdb’s TCR_hash, which hashes CDR3s, segments, MHC and epitope and is the key
the structure store uses.
A receptor is a two-domain object, so only paired records appear in that file: 81,003 of the 93,294 paired records have both domains rebuilt. An unpaired record is not dropped; its chain is in the Rearrangement file and it has a Reactivity row of its own, which is where AIRR puts a single rearranged sequence. Overall the AIRR export keeps 1,141 records and 1,501 chains that the legacy build discarded in that historical comparison.
CI validates the Rearrangement file with the airr package’s own schema validator. airr 2.0.0 has
no Receptor or Reactivity validator, so the Reactivity file is gated against the field list read
from the package’s own airr-schema.yaml instead.
Converting an older release#
vdjdb convert airr --legacy vdjdb.txt reads an extracted legacy chain table and writes
Rearrangement and Reactivity tables plus airr.yaml; it does not accept the ZIP itself or
reconstruct the Receptor table. It runs the same emitter, since legacy vdjdb.txt already uses VDJdb’s column
names, so there is no second mapping to drift. The output has no d_call, because the legacy file has
no D column, and the 1,501 chains the legacy build dropped are absent.
5. Produced but not shipped#
Current reports are written by their named assembly, QC, motif, comparison or dashboard stage
and uploaded by the corresponding CI job; they are excluded from release ZIPs. Historical
Groovy outputs are listed for comparison and are not generated by the current pipeline.
Generated text files above the size limit use .gz. Counts below are recorded review snapshots,
not assertions about every later build.
File |
What it is |
|---|---|
|
records passing the gene, allele and canonical-CDR3 masks |
|
records whose V/J gene name fails the IMGT check |
|
records whose allele number exceeds the gene’s allele count |
|
records whose CDR3 is not biologically valid |
|
the three tables with a |
|
every chunk QC finding: file, row, column, rule, value |
|
one row per rule that fired: level, rule, findings, chunks, whether it is advisory. Written by |
|
text-level findings: encoding, BOM, CRLF, header shape |
|
added / amended / retired records against the previous release |
|
the comparison against a reference release (ROADMAP §5) |
|
one row per (species, gene, method, epitope): clonotypes, clustered, retention, clusters, largest cluster, mean cluster size, singleton clusters, percolation, replicated, tp, precision, lift. 678 rows. Written by |
|
one row per motif stage, using the same columns as |
|
one row per spelling of a value that some other value differs from only in case or in a |
|
one row per |
|
one row per chain whose |
|
one row per value the build rewrote, across the four harmonisation passes |
|
one row per chain whose J call some other J gene explains better (#681). A junction’s 3’ end is templated by the J germline, so a record’s J call can be checked against the sequence the same record reports: match the end - the anchor excluded, so a corrupt anchor cannot vote on its own diagnosis - against every J germline of that species and take the longest run. This is not the question |
|
one row per segment call IMGT has at neither allele nor gene level, after harmonisation (#389). This is the report the retired build wrote as |
|
one row per |
|
one row per chain-segment IMGT does not call functional, and |
|
one row per assembly stage: |
|
one row per (species, gene, source, axis): eighteen axes for five sources – the last legacy release, the latest release, this build’s two methods, and the partition that clusters nothing. 180 rows. Thirteen axes score a clustering on this build’s cohort (two of them, |
|
the same table as markdown, with each axis against its baseline and against |
|
per-clonotype enrichment statistics, embeddings, cluster labels, eps sweeps, the pooled cross-epitope confusion matrix |
|
the eight dashboard panels tiled, for visual review |
The three retired *_scored.txt files used an incorrect membership rule:
MotifsScoresAssembler.py set
cluster.member for every record of an (epitope, species, gene) rather than matching on CDR3. Current membership evidence uses the producer keys described in §3.3.
6. Record registry and the identity lifecycle#
identity-lifecycle.tsv (or .tsv.gz above the size limit) is one row per id ever published, at any level: id, level, state,
first_release, last_release, replaced_by. No key columns, because a key is recomputable from
chunks/ and an id’s history is not. The recorded inventory was 15.9 MB uncompressed for 274,683 derived IDs; it ships as a release asset
beside the zips and is listed in SHA256SUMS. It is written by vdjdb release and never by a build:
a curation branch that adds a clonotype and removes it again has retired nothing. A build with no
previous copy produces exactly the same ids and reports only that the history is unknown.
registry/records.tsv.gz maps record_id to its state, hashes, provenance and amendment history, so an
id survives a curator fixing a typo. It is committed and is an input to the build, not an output of
it. Git stores a deterministic gzip of the TSV directly. Decompression preserves the complete table, including every identifier and its history. Gzip metadata uses a zero timestamp and no filename, so identical inputs produce identical compressed bytes.
No Git LFS fetch is needed for this file. It was originally intended to ship as a release asset the build fetched, and #672 changed
that - without a committed copy the registry went stale between releases and landing one 40-record
chunk moved record_id on 168,723 of 192,753 records (#638). It is written only by
vdjdb identity update, which a chunk branch runs and commits alongside the chunk; vdjdb build reads
it.
Fifteen columns. Thirteen are the state, the two hashes, the chunk provenance, the release and commit at first and last sighting, and the amendment count with the key hash it came from. The other two are the lifecycle a consumer follows:
Column |
What it answers |
|---|---|
|
backwards, and only for an amendment: which key this record used to have |
|
forwards, and only for a retirement the amendment pass refused: which id took over. Two key fields moving is a new record by the rule the registry is built on, so the retirement is right and the pointer is what makes it diagnosable rather than a disappearance (#693, ROADMAP §10.4). Written when one id retires from a line of a chunk, exactly one is allocated against that same line, and the two natural keys name the same receptor; empty otherwise, including on every retirement that is a genuine deletion |
6a. Committed, not produced#
File |
Role |
|---|---|
|
publication years, so the dashboard render is offline and deterministic. A committed, reviewed input refreshed by its own pull request, never written by a build |
|
dashboard event callouts, with no hardcoded coordinates |
|
the differences |
|
where each self epitope sits in its own species’ reference proteome, and how exactly (#632). Written by |
The pinned motif parameters are not a data file. They are the TUNED constants in
vdjdb.motifs.tcrnet and vdjdb.motifs.tcremp, each stated with the scorecard it was chosen from
and the one cost it pays, in the module that uses it.
7. Never produced, never shipped#
For the motif-tuning evaluation described here, TCRvdb / MATCHMAKERS
(Messemaker et al., doi:10.1101/2025.04.28.651095) is held out and read from
VDJDB_TCRVDB, outside this repository. No file in any bundle, artifact or report may contain its rows, its per-record
labels, or any value derived from them at record granularity. Aggregate validation metrics (counts,
AUROC, recall at a threshold) may be reported; per-record verdicts may not.
Motif clustering is tuned on the independent-study support count: 4,129 human clonotype-epitope pairs
with ≥2 distinct reference.id, across 18 epitopes with ≥20 pairs. TCRvdb is read once, at the end,
to validate. Tuning on it would invalidate it as a validation set, and its 614 labels span only two
epitopes (YLQPRTFLL, GLCTLVAML), too narrow a basis for a global hyperparameter.
Record confidence v3.2 has a separate, explicitly documented fitting and evaluation scope; the motif holdout claim does not apply to that fitted score. Private record-level assays and labels remain excluded from public outputs.
CI enforces the export boundary: a guard fails the build if any TCRvdb-derived file appears in the repository or in a release bundle.