The chunk format#
A chunk normally represents one publication, stored as chunks/PMID_<id>.tsv with one record per row. A
record stores the alpha and beta of one clone as columns of the same row; an unknown chain
may remain blank. Multiple reported chains can produce candidate pairs as described below.
chains is derived from the reported sequence columns, never the other way round.
Reports from different publications remain separate, including repeated receptor assays. Different reference identifiers alone do not establish independent capture or validation. Check shared experiments, reused constructs and author overlap before assigning that claim (Submit and review records).
Publication filenames#
Use PMID_<id>.tsv when PubMed indexes the paper, including indexed preprints. Otherwise use
DOI_<doi>.tsv, replacing the DOI slash with _, for example
DOI_10.1101_2020.05.04.20085779.tsv. Strip https://doi.org/, publisher URLs,
/content/, version suffixes such as v1, and page suffixes such as .full before naming.
The submitted reference.id uses the verified identifier; a filename is not a reference identifier.
Unpublished submissions use ISSUE_<number>.tsv. Mixed-publication collections retain descriptive
names, such as PDB_Database.tsv; each row retains its own reference. Excluded negative datasets
may use PMID_<id>_negative.txt. Keep experiment suffixes where they distinguish source files.
Check that the target filename is absent before renaming. Do not overwrite another chunk or
combine two submissions without reviewing their source observations. Perform mechanical renames
on a data-issue branch, retain the source bytes, run vdjdb identity update, and check that
record IDs and content hashes are preserved. Source paths and their natural keys can change.
The declared column order#
The 35 columns below, in this order, are what
template.tsv
carries, and both are generated from the field registry so neither can describe a column set the
build does not read. Chunk columns keep their dotted names: the tidy tables ship
underscore_case, but a chunk header is the submission contract.
This is an order, not a gate. A submitted chunk may order its columns however it likes and may omit
the optional ones - what is checked is that every column it does name is one of these, plus the
three curation columns a chunk may carry and the template does not: submitter, comment and
method.pairing.
Column |
Title |
|---|---|
chunk.id |
Chunk id |
cdr3.alpha |
CDR3 alpha |
v.alpha |
V alpha |
j.alpha |
J alpha |
cdr3.beta |
CDR3 beta |
v.beta |
V beta |
d.beta |
D beta |
j.beta |
J beta |
species |
Species |
mhc.a |
MHC A |
mhc.b |
MHC B |
mhc.class |
MHC class |
antigen.epitope |
Epitope |
antigen.gene |
Epitope gene |
antigen.species |
Epitope species |
reference.id |
Reference |
method.identification |
Identification method |
method.frequency |
Frequency |
method.frequency.count |
Frequency count |
method.frequency.total |
Frequency total |
method.singlecell |
Single cell |
method.sequencing |
Sequencing |
method.verification |
Verification |
meta.study.id |
Study id |
meta.cell.subset |
Cell subset |
meta.subset.frequency |
Subset frequency |
meta.subject.cohort |
Subject cohort |
meta.subject.id |
Subject id |
meta.replica.id |
Replica id |
meta.clone.id |
Clone id |
meta.epitope.id |
Epitope id |
meta.tissue |
Tissue |
meta.donor.MHC |
Donor MHC |
meta.donor.MHC.method |
Donor MHC method |
meta.structure.id |
Structure id |
The rest of this page is how to fill each one, which is the part no generated table can carry.
Complex information columns (required)#
These columns describe the TCR:peptide:MHC complex and its source. Required values and permitted blanks are specified below; optional provenance is not a prerequisite for a record.
column name |
description |
|---|---|
cdr3.alpha |
TCR alpha amino-acid junction, including both conserved anchors. Give the complete sequence, starting with C and ending with F/W, where possible. Trimmed sequences are fixed at the build stage when sufficient V/J germline parts are present |
v.alpha |
TCR alpha Variable (V) segment id, to the best resolution available ( |
j.alpha |
TCR alpha Joining (J) segment id |
cdr3.beta |
TCR beta amino-acid junction, with the same anchor convention as alpha |
v.beta |
TCR beta V segment id |
j.beta |
TCR beta J segment id |
species |
TCR parent species ( |
mhc.a |
First MHC chain allele, to the best resolution available, |
mhc.b |
Second MHC chain allele ( |
mhc.class |
|
antigen.epitope |
Amino acid sequence of the epitope |
antigen.gene |
Parent gene of the epitope sequence (e.g. |
antigen.species |
Parent species of the antigen, to the best clade resolution available (e.g. |
reference.id |
Verified PubMed ID, DOI or other source identifier |
submitter |
Name of submitting person/organization |
Notes:
If a record represents a clonotype whose alpha or beta sequence is unknown, leave the missing CDR3/V/(D)/J fields blank.
A chain exists only when its own CDR3 is reported. Segment usage without that junction belongs in the curation comment, not the chain columns. Strict QC and direct assembly reject such incomplete chain annotations; the chain-table projection rejects them too.
Leave unreported V/(D)/J fields blank. The build preserves submitted calls, attempts junction annotation where supported and distinguishes inferred calls from reported ones. An inferred V ships in the final call with inferred provenance; the submitted field remains blank.
Every record must have at least one of
cdr3.alphaandcdr3.betafilled.
Multiple chains in one clonotype#
When a source identifies several alpha or beta chains within the same clonotype but does not resolve the functional pair, prefer one row per distinct candidate alpha-beta combination. Use only source-reported chains associated with that clonotype. Do not invent a sequence or combine chains from different source clonotypes, donors or experiments.
For one beta B and two alphas A1 and A2, the two representations are:
Representation |
Rows |
Preference |
|---|---|---|
Candidate pairs |
|
Preferred; retains a possible functional pair and every reported chain |
Separate chains |
|
Alternative when paired candidates are not requested |
Candidate pairs can include an incorrect combination; expansion does not establish which pair
recognizes the reported pMHC. Set method.pairing to ambiguous, add a short row comment that
identifies candidate pairing, and explain the representation and source evidence on the issue.
Keep identification and verification fields faithful to the source; do not claim that every
candidate was reconstructed or tested separately.
Always retain the original meta.clone.id on every resulting row. Also retain the donor,
replica, study, tissue, subset, peptide/MHC assignment and source frequency metadata. Change only
the fields that describe the selected chains and the pairing annotation. Never replace the
source clonotype ID with a generated row number or candidate-specific suffix.
Repeated source counts describe the same clonotype, not independent observations. Group by the original clonotype and its experiment metadata before summing counts or counting independent clonotypes. Identical amino-acid receptors from different nucleotide contigs need one protein row; retain the nucleotide distinctions in the source proof and issue. Record candidate-row and source-clonotype counts separately. Missing peptide, restriction or assay outcome remains a blocker; multiple reported chains alone need not quarantine a supported clonotype.
Method information columns (optional)#
These columns may be omitted; include them when the source supplies the corresponding evidence. They set the confidence ranking of an entry: a single confidence score is computed from factors such as the fraction of a given TCRab sequence among the tetramer+ clones sequenced and the verification experiments performed.
column name |
description |
|---|---|
method.identification |
|
method.frequency |
Frequency in the isolated epitope-reactive population, reported as |
method.frequency.count |
Optional, and preferred over encoding the count in the string above (#696). Reads, UMIs or cells supporting this clonotype, as an integer. Counts distinguish sequencing support from relative abundance. Frequencies alone cannot recover the numerator and denominator: |
method.frequency.total |
Optional. The sample total |
method.singlecell |
|
method.sequencing |
Sequencing method: |
method.verification |
|
Notes:
Missing
method.identificationcontributes no identification points. Verification or a reported structure can still support the score; see The confidence score.
For special cases such as CD8-null tetramers, which use HLA with mutated residues that abrogate CD8 binding, specify
cd8null-tetramerinmethod.identificationrather than using themhc.afield.
Linking immunomonitoring assays to a receptor#
The supplement to the 2026 immunomonitoring review distinguishes clinical assay combinations (Supplementary Table 1), tissue sampling (Table 2) and assay capabilities (Table 3, printed pages 7-10). VDJdb records the sequence-to-pMHC assignment established by those assays:
Source evidence |
Representation in VDJdb |
|---|---|
pMHC-multimer staining linked to sequenced cells |
Record the multimer’s peptide and MHC and the identification method. Binding alone does not establish cytokine production or killing. |
AIM, cytokine capture, ICS, ELISpot/FluoroSpot, proliferation or killing |
Record the reported stimulus and readout. A population response supports a receptor assignment only when the source links the responding cells or tested construct to that sequence. |
Bulk TCR sequencing |
Record sequenced chains and the source’s specificity-assignment evidence. Sequencing alone establishes neither specificity nor alpha-beta pairing. |
Single-cell TCR sequencing with phenotype or transcriptome |
Record reported chain associations and |
Use method.identification for the evidence that selected or assigned the receptor;
use method.verification for a subsequent test of that receptor. Describe stimulation
and its readout separately: a cytokine assay is not a direct affinity measurement.
Use existing method terms where they describe the experiment, retain additional source
detail in the comment and review issue, and check QC advisories for unfamiliar terms.
The presence of an assay elsewhere in a paper does not verify every receptor in it.
For pooled or overlapping-peptide stimulation, retain the pool assignment in the source
review until an individual peptide is resolved. Do not assign each pool member to every
responding receptor. Record a measured CD4/CD8 phenotype in meta.cell.subset; peptide
length alone establishes neither subset nor MHC restriction.
Keep anatomical material in meta.tissue, phenotype in meta.cell.subset, and distinct
sampling times or experiments in meta.replica.id. Record culture or expansion in
method.identification; if meta.tissue is TCL, retain the original anatomical source
in the comment or review issue. Distinguish ex vivo from post-expansion frequencies and
state whether support counts enumerate cells, reads or UMIs in the source review.
Count-only records: a suggested denominator review#
A source can report method.frequency.count without a sample total. Keep that count;
absence of a denominator does not erase the sequencing support. As a curation workaround,
consider deriving a total by summing compatible counts within the smallest group that the
available metadata identifies. This is a suggestion for source review, not an automatic build
rule. Prefer groups in this order:
Preference |
Group identified by the source |
|---|---|
1 |
Cell subset in a donor, or a replica from that donor; retain both distinctions when available |
2 |
Donor |
3 |
Experiment |
4 |
Epitope within the study |
Every group stays within one publication and study, one peptide-MHC assignment and one
count unit. Use meta.cell.subset, meta.subject.id, meta.replica.id, meta.tissue
and meta.study.id only to the resolution the paper supplies. Do not pool different donors,
sampling times, tissues, subsets or restrictions when the source distinguishes them.
Before using the sum, check that counts represent comparable cells, reads or UMIs and count independent observations once. Include each paired receptor’s reported support count once, preserving its cell, read or UMI multiplicity. A copied count attached to several verification assays is not several independent sequencing observations. A table of selected reconstructed clones can yield a panel total, but that sum does not establish the denominator of the original epitope-reactive population. Where completeness or count units cannot be established, retain the count and leave the total blank.
Record the grouping fields, included source observations, count units and arithmetic in the
tracked issue, with links to the source evidence. Record the resulting changes to frequency,
record identity and confidence score, including when those values remain unchanged.
If the review supports a derived denominator, distinguish it from a reported total in the
curation comment and issue, fill method.frequency.total and keep any supplied frequency
consistent with the count/total pair. Recheck QC, record identity and confidence scores on a
separate data-issue branch. The count-only corpus review is tracked in
issue #1308.
The build collapses the columns above into a JSON string held in a single method column, e.g.:
{
"identification":"tetramer-sort",
"frequency":"5/13",
"sequencing":"sanger",
"verification":"antigen-loaded-targets"
}
Meta-information columns (optional)#
column name |
description |
|---|---|
meta.study.id |
Internal study id |
meta.cell.subset |
T-cell subset, free style, e.g. |
meta.subset.frequency |
Frequency of a given TCR sequence in the specified cell subset, e.g. |
meta.subject.cohort |
Subject cohort, free style, e.g. |
meta.subject.id |
Subject id (e.g. |
meta.replica.id |
Identifier distinguishing replicates, experiments or sampling time points within a study (e.g. |
meta.clone.id |
T-cell clone id |
meta.epitope.id |
Epitope id (e.g. |
meta.tissue |
Tissue used to isolate T-cells: |
meta.donor.MHC |
Donor MHC list if available, blank otherwise. IMGT nomenclature (e.g. HLA-A*02:01) is preferable. Allele group names (e.g. |
meta.donor.MHC.method |
Donor MHC typing method if available, blank otherwise |
meta.structure.id |
PDB structure ID if one exists, blank otherwise. A record with associated structural data gets the highest confidence score, so the field is not free text: a figure or table reference here awards that score for evidence the reader cannot check. QC reports anything that is not a four-character PDB entry id under |
comment |
Plain text comment, maximum 140 characters |
Note:
These columns are optional, but the subject identifier, replica identifier and the other id fields above are used when scanning a submission for duplicates. Duplicate records, those with identical complex information columns, are not allowed, but they are not treated as duplicates when they have distinct id fields.
The build collapses the columns above into a JSON string held in a single meta column, e.g.:
{
"cell.subset":"CD8+",
"subject.cohort":"HSV-2+",
"subject.id":12,
"clone.id":46,
"tissue":"PBMC"
}
Proposed extensions (not accepted chunk columns)#
The fields below are design proposals, not part of the current submission schema. Do not add them to a shipping chunk header.
Condition association columns#
Condition metadata:
column name |
description |
|---|---|
condition.name |
natural language terms like |
condition.id |
|
condition.type |
|
condition.subtype |
natural language terms like |
Association metadata:
column name |
description |
|---|---|
condition.freq |
fraction of samples matching the entry |
condition.count |
number of samples matching the entry (can be blank) |
population.freq |
fraction of controls matching the entry, or Pgen computed by OLGA/IgOR |
population.count |
number of controls matching the entry (can be blank) |
association.pvalue |
Association P-value, e.g. enrichment P-value for Fisher’s exact test |
association.test |
|
Ambiguous antigens#
Columns for peptide pools, long peptides used in T-cell culture expansion, and non-peptide ligands.
column name |
description |
|---|---|
antigen.epitope.long |
encompassing protein sequence containing the epitope |
antigen.peptide.pool |
e.g. |
antigen.nonpeptide |
|
Non-TRA/TRB columns#
Columns for non alpha-beta T-cells, CAR-T, etc.
column name |
description |
|---|---|
v.delta |
ID of Variable segment in delta chain |
cdr3.delta |
CDR3 of delta chain |
… |
… |
v.heavy.shm |
CIGAR string of hypermutations in the heavy chain Variable segment |
… |
… |
Completeness and observation identity#
Every record requires at least one reported junction (cdr3.alpha or cdr3.beta) and a
reported antigen.epitope. Neither sequence can be inferred. Missing both junctions or a missing
epitope fails strict QC and direct assembly. Keep the source submission outside the shipping
chunks until the missing evidence is supplied; never silently drop the row during a build.
Missing V/J calls do not justify dropping a sequence-bearing observation. Use the built-in arda/vdjtools annotation and inspect its proposals. Preserve the submitted call separately from inference; an inferred V proposal is not a paper-reported V call.
Resolve every reported MHC name and mhc.class before submission. Class I uses B2M as its second
chain. Strict QC and direct assembly reject class I without B2M, class II with
B2M, and B2M in the first-chain field. Assembly also checks both harmonised
chain names against their declared MHC class. For class II, distinguish an explicitly reported pair from a single-chain or haplotype
label. Use the installed mhcmatch naming and partner-inference functions where supported;
record the original label, inferred partner and inference basis in the review. Its
pseudoseq.class2_key supports eligible DP/DQ beta-only typings through alpha_prior;
unsupported or ambiguous typings remain unresolved. A prediction of peptide binding is not
proof of the restriction reported by a paper. Never infer restriction solely from peptide length.
A source reporting only one class-II chain can be submitted with its partner blank.
QC reports a partial restriction; the build preserves the reported chain and does
not invent its partner. Both chains absent, invalid nonempty names and incomplete
class-I pairs still fail. Unknown peptide parent genes stay blank and are reported
as missing provenance. Bovine receptors use BosTaurus; unavailable germline
annotations stay empty and do not borrow another species’ model.
For duplicate review, compare both chains together: v.alpha, j.alpha, cdr3.alpha,
v.beta, j.beta, cdr3.beta, epitope and both MHC chains, within species. Compare the complete
observation metadata for every matching group, within and across files. Different references,
donors, methods, subsets, tissues, clone IDs or other reported metadata distinguish observations.
File boundaries alone do not establish independence: the same paper can occur in an aggregate
and its own chunk. Merge only confirmed duplicates, preserving complementary information and
recording the decision. Review both submitted and harmonised values without silently replacing
the source values.
Strict QC rejects exact within-file duplicate observations. Check the primary table before removing repeats. Preserve reported abundance when repeated cells describe one clonotype, and retain source template/construct labels in experiment metadata when receptors differ outside the stored junctions. Do not assign artificial per-row IDs to distinguish identical observations.
Large chunk files may use .tsv.gz; validation reads the same TSV contents after decompression.
Negative observations remain in chunks_negative/ and are excluded from the positive build.