A Python package for processing, manipulating and making inferences about antibody sequence data
Project description
AntPack
AntPack is a toolkit for antibody numbering, data processing, statistical inference and machine learning for antibody sequences. For usage, see the docs.
Installation
pip install antpack
Starting with version 0.2.7, AntPack is distributed as a wheel precompiled for some platforms and CPython versions, so installation should be very straightforward. If your platform or Python version is not available as a wheel, pip will install the sdist and try to use whichever C++ compiler you have installed to compile. This should still be quite straightforward, but if you encounter any issues, please report them on the github issues page.
Capabilities
Antibody numbering
Numbering antibody sequences is an important precursor for many statistical inference / machine learning applications. AntPack is orders of magnitude faster for numbering antibody sequences than existing tools in the literature (e.g. ANARCI, AbRSA), while providing >= reliability. AntPack also provides tools for merging lists of position codes and for easy extraction of specific CDRs and framework regions.
V / J genes
Identifying the most similar human V / J gene sequences is useful for a variety of purposes. AntPack provides tools for determining which human V and J gene sequences are most similar to the variable region chain provided as input.
Humanness and developability
Minimizing the risk of immunogenicity is important for selecting clinical candidates. In AntPack v0.1.0, we introduce a simple, fully interpretable generative model for human heavy and light chains that outperforms all comparators in the literature on a large held-out test set for distinguishing human sequences from those of other species. This scoring tool can be used to score sequences for humanness, suggest modifications to make them more human, identify liabilities, and generate highly human sequences that contain selected motifs.
Finding developability liabilities
Some sequence motifs are known to be associated with developability issues -- certain motifs are known, for example, to be prone to N-glycosylation or deamidation. AntPack provides a tool for finding these "liability" motifs in an input sequence. Note that that identifying liabilities through finding motifs in this way is known to be prone to false positives (an N-glycosylation motif, for example, will not always be glycosylated). Still, these kinds of alerts can be useful for making yourself aware of potential developability issues.
Citing this work
If using AntPack in research intended for publication, please cite either the preprint:
Jonathan Parkinson and Wei Wang. 2024. For antibody sequence generative modeling, mixture models may be all you need. bioRxiv: https://doi.org/10.1101/2024.01.27.577555
or the final paper in Bioinformatics.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file antpack-0.2.7.tar.gz
.
File metadata
- Download URL: antpack-0.2.7.tar.gz
- Upload date:
- Size: 13.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd62faedf1543c40be27ce9e9ae2d91ce2fa6e7b3ccaeda9d832beec6e760506 |
|
MD5 | aace42047a04df5a15121e9f2309f0d9 |
|
BLAKE2b-256 | d67008e6a1883c546a6fe66bb49955326173cf34e340cad84d355e440e979048 |
File details
Details for the file antpack-0.2.7-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67e498ee04bcc6e7633b4c2f6e9eda29929b1b6a576e67f709f8f43e5cc6ae7e |
|
MD5 | b99746ca20df65c15c4af64d13163491 |
|
BLAKE2b-256 | 8de773caabcef037c923e01d406314868069fede3f01b3d4357032fa156760d0 |
File details
Details for the file antpack-0.2.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeeb439ba38ebc0abd3d727c9e2910c3beeb1f8b203bd26d225450ff7aca3ae9 |
|
MD5 | 9d0d77f708e7a4f50ca116b3b30a89da |
|
BLAKE2b-256 | f1c08bc769f0c77b7a162b26046e82d575a1a2cbdebe91207111bb32d5e6b4a0 |
File details
Details for the file antpack-0.2.7-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19419fa3d1a2785abf33a85e010a5736b323b4b72637115d8b71e236ed5b03a4 |
|
MD5 | 3e343ce6a066967c656c320e555e81a1 |
|
BLAKE2b-256 | e94f987441673ee264932679b81390da9312b096a330aa2558fe356b9a68c948 |
File details
Details for the file antpack-0.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21180cefc3e231259e4f3346b69dc8d19b6fd2e79db2b311017bc37f69f857c3 |
|
MD5 | d5f75db604488468c0299f7195d9ceac |
|
BLAKE2b-256 | 1556a5335f4ea8a7ba9564e49a2be900acbb734b8bd90e91965e9e1c7f439a5e |
File details
Details for the file antpack-0.2.7-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | becb64687fdbfda9c72674ac4d3bd18342ee1eb03a695612fab9c17f795966e0 |
|
MD5 | 95edc83887f7d59135239f8d429b29eb |
|
BLAKE2b-256 | 74af801807a017ee2bbda01a4d53657cfb45b80e1bd5125dfd61da09072cc7af |
File details
Details for the file antpack-0.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df9ab7f70bde5b81877561785e7935aa185abb0b109d543777e4fdfe726f09d |
|
MD5 | da90d4263107a7adfd4a4a5735904b15 |
|
BLAKE2b-256 | c02eb9f99d86027a20055bab36b8c42141cbb1cd3f2dc8b291660e42ef01201c |
File details
Details for the file antpack-0.2.7-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5323f5ca9c8c6cdcb89187a559822bec8c91431668f9337dd4db169c3db3d307 |
|
MD5 | d2de2606504dacd799d7fcf43446fd78 |
|
BLAKE2b-256 | dc127dc060c60c44f22dd7b89000db4c5fa8501e65ae233baad7e466e9cebeb1 |
File details
Details for the file antpack-0.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5addac8a2f1fae3c6e1ab7b714083b1c936b90f6a057ed52211c4bae3e28593b |
|
MD5 | ea153581838fe6686b4344e288a4284e |
|
BLAKE2b-256 | c4b97ed399d02cc2bd91a0f16d1fb373070740a41b92c541f7ed153c61317e7f |
File details
Details for the file antpack-0.2.7-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b48d68d56ea8ef775ae4b040051e5965f873d1b20b12f7e9b543aacbcadfd6b |
|
MD5 | ef435e729a8d9d93c8beecac6675b000 |
|
BLAKE2b-256 | 6819c2715a9840f8eeeafa9b7f6860e3a72fbb897dd945b0f644c866c6953300 |
File details
Details for the file antpack-0.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e25ee080bc38f4be1c204ea1bf35980f24d1cca668c05250be540dbecf0adfc |
|
MD5 | cca30efd531d5dbd4b9e60e14a37afb1 |
|
BLAKE2b-256 | f7a0d4516c0717de42203aae4d8b4bb5309760d3c6fc8b0a9a11a00abd802996 |
File details
Details for the file antpack-0.2.7-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8aeb9d299b22f9ddb75e5c4cb337f2f4d517db0469f0155ba919a59cbe7f6b8 |
|
MD5 | c75d81672bf2055444ce72c858fa74f7 |
|
BLAKE2b-256 | 006c4f5f6656d5d85f493fba602cc9db6217c161126d6f75774bd75df47e507e |
File details
Details for the file antpack-0.2.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190f435f20da6b968029ef825c326121b85122024859d362ae29077ff23851a4 |
|
MD5 | b702ad8268de3705bc906eb258089d32 |
|
BLAKE2b-256 | e1cb9d2a20b80d8bdca65532c011dc4beaaaf2360cb898f1c4b1a04d44a579c6 |
File details
Details for the file antpack-0.2.7-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18981cfa2bc58c07f0637171f4e45659716920548d2b738fae70ba039d7e4c0f |
|
MD5 | 8463827ceba817fc658cee795ab86299 |
|
BLAKE2b-256 | e94b5b226cf0957396f7da2639fb8828234c519ea6ef09ac9658596e9c73f6f2 |
File details
Details for the file antpack-0.2.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: antpack-0.2.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.6m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1967eb24743883293026c6c2b38e327ab2f193e14b87f7461a3508232d28c4af |
|
MD5 | 351fc37d3f1ed9793387b7beb3a80102 |
|
BLAKE2b-256 | ae432aa58f39b1e4ec9f5957787ef2f87ad9062ee7ed15f47c043e552520f775 |