Skip to main content

AbMAP: Antibody Mutagenesis Augmented Processing

Project description

AbMAP: Antibody Mutagenesis-Augmented Processing

image

This repository is a work in progress.

This repository contains code and pre-trained model checkpoints for AbMAP, a Protein Language Model (PLM) customized for antibodies as featured in Learning the Language of Antibody Hypervariability (Singh, Im et al. 2023). AbMAP leverages information from foundational PLMs as well as antibody structure and function, offering a multi-functional tool useful for predicting structure, functional properties, and analyzing B-cell repertoires.

Installation

AbMAP relies on ANARCI to assign IMGT labels to antibody sequences. Please see the ANARCI repo or run the following in a new conda environment:

conda install -c biocore hmmer # Can also install using `brew/port/apt/yum install hmmer`
git clone https://github.com/oxpig/ANARCI.git
cd ANARCI
python setup.py install

Then install abmap using:

pip install abmap  # (recommended) latest release from PyPI 
pip install git+https://github.com/rs239/ablm.git  # the live main branch

Usage:

After installation, AbMAP can be easily imported into your python projects or run from the command line. Please see examples/demo.ipynb for common use cases. Instructions for running via CLI are below.

Command Line Usage

Instructions In Progress

Augment

Given a sequence, generate a foundational PLM embedding augmented with in-silico mutagenesis and CDR isolation.

Train

Given a dataset of labeled pairs of sequences and their augmented embeddings, train the AbMAP model on downstream prediction tasks.

Embed

Given fasta sequences and a pre-trained AbMAP model, generate their AbMAP embeddings (fixed or variable).

Please provide feedback on the issues page or by opening a pull request. If AbMAP is useful in your work, please consider citing our bioRxiv preprint.

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

abmap-0.1.4.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

abmap-0.1.4-py3-none-any.whl (57.3 kB view details)

Uploaded Python 3

File details

Details for the file abmap-0.1.4.tar.gz.

File metadata

  • Download URL: abmap-0.1.4.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.11

File hashes

Hashes for abmap-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6d5cc08fd6a4bdee1c5a3d0884ac99b12c603dcd85fd8ae2be3a2ffd9e56b771
MD5 0ac20ee37728c92fd002620f70020ddc
BLAKE2b-256 9fdd86e53cede8cb65eb9e662ddd663e841c98abd93151d32d1a94cf3d35bd0b

See more details on using hashes here.

File details

Details for the file abmap-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: abmap-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 57.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.11

File hashes

Hashes for abmap-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5be83a0c9f9095d2aaba2d19dc51b199bc09bb6f9e0d2d7d54f3b9a24c97b78c
MD5 4ca8bf6b4be7b0334f0bb5f9da57fd38
BLAKE2b-256 6d9cd1b99183fa702492944688bfb71c11b96ed2a43b0278658faba3afc185ad

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