Similar receptors (TCRdist)

The Specificity view's Neighbors part compares each T-cell clonotype with every other of the same chains by TCRdist. Receptors this alike may recognize the same antigen; distance suggests a shared specificity, it does not show one.

Each clonotype against every other

The Specificity view's Neighbors part on Dash et al.'s mouse epitope-specific TCRs: the distribution of each clonotype's distance to its nearest, with a peak near 18 and a broad second mode beyond 100, and the clonotype with the most neighbors chosen, its ten nearest listed with their distances and the loops that differThe Specificity view's Neighbors part on Dash et al.'s mouse epitope-specific TCRs: the distribution of each clonotype's distance to its nearest, with a peak near 18 and a broad second mode beyond 100, and the clonotype with the most neighbors chosen, its ten nearest listed with their distances and the loops that differ
Dash et al. 2017's mouse TCRs: each clonotype's distance to its nearest, and the clonotype with the most neighbors, its nearest listed loop by loop.

Open T-cell receptors (single cells with their α and β chains, or bulk β chains), define clonotypes by amino-acid junction (Clonotypes), and open Specificity › Neighbors. Compare the receptors compares each clonotype with every other of the same chains, as a job, and keeps the result with the project:

A clonotype is compared only with clonotypes of the same chains: under a paired definition, a cell's clonotype with both chains is compared with the others with both, one with a β chain alone with the others with a β chain alone. Clonotypes of B cells, without a junction, or with a V gene the loops' database lacks are counted, and left out.

The distance

TCRdist (Dash et al. 2017) compares a chain loop by loop: the CDR3, weighted 3, and the V gene's CDR1, CDR2 and CDR2.5 (the loop between CDR2 and CDR3 that faces the peptide and MHC), each weighted 1. Two residues differ by 4 less their BLOSUM62 score, at most 4 and 0 for the same residue. A pair of chains' distance is the sum of its chains'. ClonoLoom computes it as tcrdist3 does (Mayer-Blackwell et al. 2021), where tcrdist3 and the paper differ:

Every distance between Dash et al.'s 1,924 mouse clones and 415 human clones (3.87 million pairs), α, β and paired, and each loop's alone, equals tcrdist3's.

The V genes' loops

Each V allele's CDR1, CDR2 and CDR2.5 come from tcrdist3's database of genes (1.2 MB; MIT; made from IMGT's germline genes, for human, mouse and rhesus macaque). ClonoLoom downloads it once, when you ask (Reference data), checks it against its recorded SHA-256, and names that checksum in every result. Until then, or with Compare the CDR3s alone, the CDR3s are compared alone, and the result says so.

The radius

Two clonotypes are neighbors within the radius: 24 TCRdist units a chain by default (48 for a pair), as far as two CDR3 substitutions of the most different residues. Mayer-Blackwell et al. chose each epitope-specific receptor's radius from a background of unrelated receptors, between 10 and 36 for β chains; neighborhoods against such backgrounds come in a later release. On a healthy donor's 3,576 paired clonotypes (the OTS example), 1% had a neighbor within 48; on Dash et al.'s epitope-sorted mouse TCRs, 54%.

Using the result

The histogram saves as a figure. Export writes each compared clonotype's neighbors within the radius and its nearest, with their distance, as CSV. The methods paragraph says how the clonotypes were compared, naming the loops' database by its checksum. Scripts use find_neighbors (Remote control). A hundred thousand paired receptors are compared in about 25 seconds on ten processors.