Skip to main content

Python package to create embeddings of BCR amino acid sequences.

Project description

AMULETY

Amulety stands for Adaptive imMUne receptor Language model Embedding Tool. It is a Python command line tool to embed B-cell receptor (antibody) and T-cell Receptor amino acid sequences using pre-trained protein or antibody language models. So far only BCR embeddings are supported but TCR support is planned for future releases. The package also has functionality to translate nucleotide sequences to amino acids with IgBlast.

Here is the list of currently supported embeddings:

Model Command Embedding Dimension Reference
AntiBERTa2 antiberta2 1024 doi:10.1016/j.patter.2022.100513
AntiBERTy antiberty 512 doi:10.48550/arXiv.2112.07782
BALM-paired balm_paired 1024 doi:10.1016/j.patter.2024.100967
ESM2 (650M parameter) esm2 1280 doi:10.1126/science.ade2574
User-specified model custommodel Configurable

Installation

You can install AMULETY using pip:

pip install amulety

Usage

To print the usage help for the AMULETY package then type:

amulety --help

The full usage documentation can also be found on the readthedocs usage page.

Contact

For help and questions please contact the Immcantation Group.

Authors

Mamie Wang (aut,cre) Gisela Gabernet (aut,cre) Steven Kleinstein (aut,cph)

Citing

If you use this package, please cite the pre-print:

AMULETY: A Python package to embed adaptive immune receptor sequences. Meng Wang, Yuval Kluger, Steven H. Kleinstein, Gisela Gabernet. BioRXiv 2025. DOI: https://doi.org/10.1101/2025.03.21.644583

To cite the paper comparing the embedding methods on BCR sequences, please cite:

Supervised fine-tuning of pre-trained antibody language models improves antigen specificity prediction. Meng Wang, Jonathan Patsenker, Henry Li, Yuval Kluger, Steven H. Kleinstein. BioRXiv 2024. DOI: https://doi.org/10.1101/2024.05.13.593807.

License

This project is licensed under the terms of the GPL v3 license. See the LICENSE file for details.

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

amulety-1.1.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

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

amulety-1.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file amulety-1.1.tar.gz.

File metadata

  • Download URL: amulety-1.1.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for amulety-1.1.tar.gz
Algorithm Hash digest
SHA256 fd00cfce179902b422ac818138d2ea6317c1e91cf78082ac1177315214e6c09a
MD5 1e610f5e3e78ec62568b2b44c8ec4c13
BLAKE2b-256 3d1b9c7d42c7aa8bfd675ee0eabb78aa39fa41b31341b1123a7f03c23004f00b

See more details on using hashes here.

File details

Details for the file amulety-1.1-py3-none-any.whl.

File metadata

  • Download URL: amulety-1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for amulety-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c377c6651644b4597723b545d1c791ca0c0754474d15005f4c081a2e312bb115
MD5 2aa21bee8ee091443a097efa5391ddf8
BLAKE2b-256 8eb99fe0a2328c7b0bbb0483b2bd721ffd8a000287165345ced192118e79ad91

See more details on using hashes here.

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