Skip to main content

Neural network models for antibody affinity maturation

Project description

netam

Neural NETworks for antibody Affinity Maturation.

pip installation

Netam is available on PyPI, and works with Python 3.9 through 3.11.

pip install netam

This will allow you to use the models.

However, if you wish to interact with the models on a more detailed level, you will want to do a developer installation (see below).

Pretrained models

Pretrained models will be downloaded on demand, so you will not need to install them separately.

The models are named according to the following convention:

ModeltypeSpeciesVXX-YY

where:

  • Modeltype is the type of model, such as Thrifty for the "thrifty" SHM model
  • Species is the species, such as Hum for human
  • XX is the version of the model
  • YY is any model-specific information, such as the number of parameters

If you need to clear out the cache of pretrained models, you can use the command-line call:

netam clear_model_cache

Usage

See the examples in the notebooks directory.

Developer installation

From a clone of this repository, install using:

python3.11 -m venv .venv
source .venv/bin/activate
make install

Note that you should be fine with an earlier version of Python. We target Python 3.9, but 3.11 is faster.

Experiments

If you are running one of the experiment repos, such as:

you will want to visit those repos and follow the installation instructions there.

Troubleshooting

  • On some machines, pip may install a version of numpy that is too new for the available version of pytorch, returning an error such as A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.2 as it may crash. The solution is to downgrade to numpy<2:
    pip install --force-reinstall "numpy<2"
    

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

netam-0.2.1.tar.gz (165.7 kB view details)

Uploaded Source

Built Distribution

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

netam-0.2.1-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file netam-0.2.1.tar.gz.

File metadata

  • Download URL: netam-0.2.1.tar.gz
  • Upload date:
  • Size: 165.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for netam-0.2.1.tar.gz
Algorithm Hash digest
SHA256 df91238194181ad179bff6b3b4943255ce69d947a3f91c8e557bd3ac312b20ef
MD5 a4bf73eac558278b3ad450f1f60f4bf5
BLAKE2b-256 d1fbca9720cd9c44ad9a022e30ffc6966effd44459dcd4e6be774b020b4e57d3

See more details on using hashes here.

File details

Details for the file netam-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: netam-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 51.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for netam-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df5fe2468f341ca6c8ff3e0b3176c4cf0c24a6acaf9dfb307005c47dd7ffce0f
MD5 77e66298f555abc477fa9c3964b3e430
BLAKE2b-256 021e77a7e0cb9bf438649efb9deb5cb687bf5e467e5904c619f3159ec63cb17c

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