tcrdist_rs documentation

tcrdist_rs is a Rust package with Rust bindings for Python for fast, parallelized CPU TCRdist, hamming, and Levenshtein distance routines, with the latter two based on the triple_accel Rust package. Previous versions of TCRdist have been written in python/numba and C++. All code is freely available at https://github.com/zacmon/tcrdist_rs.

At the moment, all functions associated with tcrdist_allele and tcrdist_gene operate assuming V genes are human V genes. Future work will be done to allow for custom V gene databases.

User Guide

API Docmentation

Developer Documentation

References

  • Dash et al. (2017) “Quantifiable predictive features define epitope-specific T cell receptor repertoires.” Nature 547(89-93). https://doi.org/10.1038/nature22383

  • Mayer-Blackwell et al. (2021) “TCR meta-clonotypes for biomarker discovery with tcrdist3 enabled identification of public, HLA-restricted clusters of SARS-CoV-2 TCRs.” eLife 10:68605. https://doi.org/10.7554/eLife.68605

Indices and tables