Skip to main content

TCR/BCR repertoire analysis — Pgen/generation/inference, diversity, overlap, biomarkers (Python + C++)

Project description

vdjtools 2.0

TCR/BCR immune-repertoire analysis — a clean-room Python + C++ rewrite of the legacy Groovy/Java vdjtools, standardised on the AIRR schema and polars DataFrames with minimal object-orientation.

Built on the antigenomics ecosystem: seqtree (fuzzy search / e-value engine), vdjmatch (overlap + TCRnet), arda (AIRR annotation + markup repair).

Status: v2.0.0 under active development. The legacy v1.x tool lives on the legacy-1.x branch and its releases remain available under the repository tags (v0.0.11.2.1).

Capabilities (rolling out by phase — see ROADMAP.md)

  • Model — native V(D)J recombination model: generation probability (Pgen), sequence generation, and EM model inference. Supersedes OLGA and IGoR: arda-driven scenario enumeration, polars marginal tables, D-D tandem support, and a native (pybind11) Pgen/EM core.
  • Stats — diversity (Chao1/Shannon/Simpson/…), spectratype, V/J/VJ usage.
  • Features — CDR physicochemical profiles, k-mer / V+k-mer summaries.
  • Overlap — sample overlap and TCRnet (via vdjmatch/seqtree).
  • Preprocess — downsampling, error-correction, VJ-usage batch-effect correction, pooling/joining.
  • Biomarker — incidence-based association (Fisher) vs HLA / condition / chain-pairing; metaclonotypes.
  • Single-cell — AIRR Cell / 10x interoperability.

Install

conda env create -f environment.yml   # python + mmseqs2 (arda backend) + C++ toolchain
conda activate vdjtools
pip install -e ".[dev,test]"          # builds the _core C++ extension

Or run the bootstrap script: bash setup.sh --dev-parents --tests.

Pure-analytics use (diversity / spectratype / usage) does not require MMseqs2; the model and annotation paths do (via arda).

License

GPL-3.0-or-later.

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

vdjtools-2.0.0.tar.gz (52.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vdjtools-2.0.0-cp313-cp313-win_amd64.whl (162.9 kB view details)

Uploaded CPython 3.13Windows x86-64

vdjtools-2.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (184.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

vdjtools-2.0.0-cp313-cp313-macosx_11_0_arm64.whl (155.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

vdjtools-2.0.0-cp312-cp312-win_amd64.whl (162.8 kB view details)

Uploaded CPython 3.12Windows x86-64

vdjtools-2.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (184.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

vdjtools-2.0.0-cp312-cp312-macosx_11_0_arm64.whl (154.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

vdjtools-2.0.0-cp311-cp311-win_amd64.whl (161.4 kB view details)

Uploaded CPython 3.11Windows x86-64

vdjtools-2.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (185.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

vdjtools-2.0.0-cp311-cp311-macosx_11_0_arm64.whl (153.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

vdjtools-2.0.0-cp310-cp310-win_amd64.whl (160.2 kB view details)

Uploaded CPython 3.10Windows x86-64

vdjtools-2.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (184.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

vdjtools-2.0.0-cp310-cp310-macosx_11_0_arm64.whl (151.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file vdjtools-2.0.0.tar.gz.

File metadata

  • Download URL: vdjtools-2.0.0.tar.gz
  • Upload date:
  • Size: 52.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vdjtools-2.0.0.tar.gz
Algorithm Hash digest
SHA256 dbdd88bb00ebac3f56da6d9a2528c6ee76e21440f2a1f7b423032557c505a330
MD5 f839e32c13ac892f35e63ab69b04eae4
BLAKE2b-256 5eceff9207e82b44bb0c1bc0206fc06f3265d8c6ae98673a978cfd7495e106c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0.tar.gz:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: vdjtools-2.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 162.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vdjtools-2.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b58e1eaf2f023ba31a5004931e2ed93a39c240666f97570e19c5bd1dea177d81
MD5 71a2f367aea0581dc821c6d90e768365
BLAKE2b-256 b17964f36d475b8afa34063679c60de0dcc131fd43cbf7aea1df7e626a2ea5a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b66cc06245d2a0a8f8ec9a47a2802c948b416094a2d7eb851eea2e5d07fcfb0a
MD5 fed9ff5c2eeceb115703eee41d54919e
BLAKE2b-256 f9200ad67de5bda9959f06b151d48a7f318a6303a152397b70765782edf3738a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9eb39be2c9f78ba1f18f5338f51dfe1a50c3ec259b433dc7f4c5c2cacf749eac
MD5 4f88cfeed528c3140e6df611246dab6a
BLAKE2b-256 3f8545195038272eaf56e06489bb9cec6f3a91725013e95cafe23970a367c96a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: vdjtools-2.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 162.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vdjtools-2.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 47fd821b1e337a896c3f17e2beaf88316037b60914b37bb1c39593e1cc2e9522
MD5 b650d7aed6db392f41094722c466b8c7
BLAKE2b-256 7d2a54770a6fc55aa9c3fc3149f37a3f609f9981cb7a720b9127eb09bb5905d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 983a16ade6c213b9309ddbb0d2f0ca4b5a6e3129a3cd85b888237ad03d03ee9d
MD5 9f2b01b32ad1efc1e233a1acbb7ea8fd
BLAKE2b-256 6b6976cab0583fc8eee24e2fcd3ac19398a72bc04a7b8457b448fe6d105f2415

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44063ba8d3d0b739091cccb389ce3620ca29fd4cb72fd1745f10c357149edba8
MD5 b5bfec3bc261f7690357d40719f51232
BLAKE2b-256 f192cb179a4fa82bbbc958471b407ed6d2238eb50e2e8d7a0db5b84da2dd6183

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: vdjtools-2.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 161.4 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vdjtools-2.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7143775b646730aa8232efafd8d23d09685f179728c9999951207a075db2ecb6
MD5 214185c4ea4bed856355a383df7fa889
BLAKE2b-256 4e0836ba4bac15aeca3ab156919f33d62d787e1a0b9531ebeeeed62a1a2c4299

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0310474c063b79727fcbfb733b41b44742cf3a942bb2bdfb2c8ab0f4ad88e28c
MD5 c34305de1eee21b341701a1e64e6db60
BLAKE2b-256 319fe2fefb3d5d1d234affa2f55e2e6379acbfa7da92f899e78d7a7926739c9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 715b978a8a6f1ef5113be3dad1c14ec2d414fbd3eca1bea587d307b9dcc36bf9
MD5 6360b27c941d1ce939a245cee9e4c3b2
BLAKE2b-256 33a02a447ad837fb4f147bae72efe838d917b01ccf2a25d1e2765d601690ab16

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: vdjtools-2.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 160.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vdjtools-2.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 15de728de2801ea600ac44fa15c15f9020e64317b3f08483c45ac006aff0255d
MD5 4c808c7ba2b03764864c913ebed30765
BLAKE2b-256 976ed22132b38ff56f82d2852752a41963a98cc2c4ef393b7f0e70bf7d57f4ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 339a7423034c74a875963c18f0ed83663dc4fce2f3147ca3872db1b4cbf610f4
MD5 064eaef77aa77acd4101b3b413cac77b
BLAKE2b-256 78218e1b2c00a539e90bbe1fb5ac04b13a2b7b5f154cd0ddae8db1f400453035

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vdjtools-2.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vdjtools-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b4c02b7e0c61d6b46e384c58c7cfc8d2fb87681bc6b9ed23bb1a3e386895973
MD5 05b183db595e07b42867720e91915d0a
BLAKE2b-256 6d0852664dad143c6c6baee029d852cecbeb22b77fe7d1a2984a72b60bc8eb8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vdjtools-2.0.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on antigenomics/vdjtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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