Skip to main content

Sample TCRs according to VDJ gene usage frequency

Project description

tcrsampler

Sample TCRs according to VDJ gene usage frequency

Build Status Coverage Status PyPI version

Install

pip install tcrsampler

Install default reference files:

python -c "from tcrsampler.setup_db import install_all_next_gen; install_all_next_gen(dry_run = False)"

Example

from tcrsampler.sampler import TCRsampler
t = TCRsampler(organism = 'human',db_file = 'alphabeta_db.tsv', ref_file= 'new_nextgen_chains_human_B.tsv')
t.make_ref_dict(max_sample = 100)
t.sample_ref_dict('TRBV1*01', 'TRBJ1-1*01',1)
t.sample([['TRBV1*01', 'TRBJ1-1*01',1], ['TRBV2*01', 'TRBJ1-1*01',1]])

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

tcrsampler-0.1.1.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

tcrsampler-0.1.1-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

Details for the file tcrsampler-0.1.1.tar.gz.

File metadata

  • Download URL: tcrsampler-0.1.1.tar.gz
  • Upload date:
  • Size: 75.5 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 tcrsampler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bc906565bb4076077cc0427a559a9ed389b998775046865322699d4b93477a65
MD5 b65aa5399b21a46cb12aacaac3896b11
BLAKE2b-256 79f69b8acaaab7422b23af5f9fdad09898267b9071940288199f99f0574f17e6

See more details on using hashes here.

File details

Details for the file tcrsampler-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tcrsampler-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 78.2 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 tcrsampler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff84824ed54bd46dc60a058143c298195ff1717d708d3d6371576c145536df8
MD5 4b75986f2387b1e870d55407fb55f727
BLAKE2b-256 b36138fc1fd366dd3004bdae667dfd6d7d93bbd2f083a00b8a5130436ccba3ec

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