Skip to main content

flexible distance measures for comparing T cell receptors

Project description

tcrdist3

Python application Coverage StatusDocumentation Status Docker Repository on Quay

Flexible distance measures for comparing T cell receptors

tcrdist3 is a python API-enabled toolkit for analyzing T-cell receptor repertoires. Some of the functionality and code is adapted from the original tcr-dist package which was released with the publication of Dash et al. Nature (2017) doi:10.1038/nature22383. This package contains a new API for computing tcrdistance measures as well as new features.

Installation

pip install git+https://github.com/kmayerb/tcrdist3.git@0.1.6

Docker

Docker Repository on Quay

docker pull quay.io/kmayerb/tcrdist3:0.1.6

Documentation

Documentation Status

More documentation can be found at tcrdist3.readthedocs.

Basic Usage

import pandas as pd
from tcrdist.repertoire import TCRrep

df = pd.read_csv("dash.csv")
tr = TCRrep(cell_df = df, 
            organism = 'mouse', 
            chains = ['alpha','beta'], 
            db_file = 'alphabeta_gammadelta_db.tsv')

tr.pw_alpha
tr.pw_beta
tr.pw_cdr3_a_aa
tr.pw_cdr3_b_aa

Citing

Quantifiable predictive features define epitope-specific T cell receptor repertoires

Pradyot Dash, Andrew J. Fiore-Gartland, Tomer Hertz, George C. Wang, Shalini Sharma, Aisha Souquette, Jeremy Chase Crawford, E. Bridie Clemens, Thi H. O. Nguyen, Katherine Kedzierska, Nicole L. La Gruta, Philip Bradley & Paul G. Thomas Nature (2017).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcrdist3-0.1.6.tar.gz (596.3 kB view details)

Uploaded Source

Built Distribution

tcrdist3-0.1.6-py3-none-any.whl (634.6 kB view details)

Uploaded Python 3

File details

Details for the file tcrdist3-0.1.6.tar.gz.

File metadata

  • Download URL: tcrdist3-0.1.6.tar.gz
  • Upload date:
  • Size: 596.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.3

File hashes

Hashes for tcrdist3-0.1.6.tar.gz
Algorithm Hash digest
SHA256 056d32b05da7dc4afb8b1f44a3f01c01e375d6b7d4770265db46dfa6f90a02de
MD5 81f7f7607c63a9f35ccf859482d23f76
BLAKE2b-256 9fe4ccc8bc690da48bd66f692478a94123bf5ad4c4f57130eb563b5a07697e84

See more details on using hashes here.

File details

Details for the file tcrdist3-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: tcrdist3-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 634.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.3

File hashes

Hashes for tcrdist3-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6a25ad1928c60b17a22d06e208da7e67b27fe1658083e8e3414b0410af370d97
MD5 a9c07aab3d2e67b550e98f997f315a9b
BLAKE2b-256 338e45627c031cfa54ec3d4df3f4bcc29d59f7a8c3bfaa845820ba2e8b6e5cb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page