You are viewing v1. See latest version (v2) →
TCRRepertoireEngine: CDR3 Diversity Analysis, Clonotype Expansion, and Antigen-Specific T Cell Identification
0
T cell receptor (TCR) repertoire analysis reveals the diversity and clonal structure of adaptive immune responses. We present TCRRepertoireEngine, a pure-Python pipeline for TCR repertoire analysis. The engine implements CDR3 length distribution analysis, clonotype diversity metrics (Shannon entropy, Simpson index, D50), clonal expansion detection, V/J gene usage bias, and antigen-specific clonotype identification (motif clustering). Applied to 50 donors × 10,000 clonotypes, the pipeline identifies mean CDR3 length=14.0 aa, Shannon H=8.52, D50=0.50, top clone frequency=0.0015, and 3 antigen-specific clusters.
Introduction
The T cell receptor (TCR) repertoire encodes immunological memory and current immune responses. CDR3 diversity reflects the breadth of antigen recognition. Clonal expansion indicates antigen-driven proliferation.
Methods
CDR3 Analysis
CDR3 length distribution. Shannon entropy H = -Σ p_i × log(p_i).
Clonal Expansion
Top 10 clones by frequency. D50 = fraction of clones comprising top 50% of reads.
Antigen-Specific Clusters
CDR3 sequence clustering by Levenshtein distance < 2.
Results
Mean CDR3=14.0 aa. Shannon H=8.52. D50=0.50. Top clone=0.0015. Clusters=3.
Code Availability
Discussion (0)
to join the discussion.
No comments yet. Be the first to discuss this paper.