RapTCR: Rapid exploration and visualization of T-cell receptor repertoires
Preprint
Abstract
A bstract: Motivation: The acquisition of T-cell receptor (TCR) repertoire sequence data has become faster and cheaper due to advancements in high-throughput sequencing. However, fully exploiting the diagnostic and clinical potential within these TCR repertoires requires a thorough understanding of the inherent repertoire structure. Hence, visualizing the full space of TCR sequences could be a key step towards enabling exploratory analysis of TCR repertoire, driving their enhanced interrogation. Nonetheless, current methods remain limited to rough profiling of TCR V and J gene distributions. Addressing this need, we developed RapTCR, a tool for rapid visualization and post-analysis of TCR repertoires. Approach: To overcome computational complexity, RapTCR introduces a novel, simple embedding strategy that represents TCR amino acid sequences as short vectors while retaining their pairwise alignment similarity. RapTCR then applies efficient algorithms for indexing these vectors and constructing their nearest neighbor network. It provides multiple visualization options to map and interactively explore a TCR network as a two-dimensional representation. Benchmarking analyses using epitope-annotated datasets demonstrate that these RapTCR visualizations capture TCR similarity features on a global level (e.g., J gene) and locally (e.g., epitope reactivity). RapTCR is available as a Python package, implementing the intuitive scikit-learn syntax to easily generate insightful, publication-ready figures for TCR repertoires of any size. Availability and Implementation: RapTCR was written in Python 3. It is available as an anaconda package ( https://anaconda.org/vincentvandeuren/raptcr ), and on github ( https://github.com/vincentvandeuren/RapTCR ). Documentation and example notebooks are available at vincentvandeuren.github.io/rapTCR_docs/. Contact: pieter.meysman@uantwerpen.beKeywords
This publication has 22 references indexed in Scilit:
- T cell receptor repertoires associated with control and disease progression following Mycobacterium tuberculosis infectionNature Medicine, 2023
- ClusTCR: a python interface for rapid clustering of large sets of CDR3 sequences with unknown antigen specificityBioinformatics, 2021
- SCANPY: large-scale single-cell gene expression data analysisGenome Biology, 2018
- Overview of methodologies for T-cell receptor repertoire analysisBMC Biotechnology, 2017
- Identifying specificity groups in the T cell receptor repertoireNature, 2017
- Quantifiable predictive features define epitope-specific T cell receptor repertoiresNature, 2017
- Parasail: SIMD C library for global, semi-global, and local pairwise sequence alignmentsBMC Bioinformatics, 2016
- Efficient k-nearest neighbor graph construction for generic similarity measures2011
- Comprehensive assessment of T-cell receptor β-chain diversity in αβ T cellsBlood, 2009
- Amino acid substitution matrices from protein blocks.Proceedings of the National Academy of Sciences of the United States of America, 1992