Skip to main content

Protein Engineering via Exploration of an Energy Landscape

Project description

BAGEL: Protein Engineering via Exploration of an Energy Landscape

Python 3.12 License: MIT PyPI version GitHub last commit GitHub issues

Installation

From PyPI (Recommended)

The easiest way to install BAGEL is through PyPI:

pip install biobagel

Optional Extras:

  • For local protein model execution (requires GPU):
pip install biobagel[local]
  • For development (testing, linting, documentation):
pip install biobagel[dev]

From Source

If you want to install from source or contribute to development:

  1. Clone the repository:
git clone https://github.com/softnanolab/bagel
  1. Install uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Navigate to the repository:
cd bagel
  1. Install the environment:
uv sync

Optional Extras:

  • For local protein model execution (requires GPU):
uv sync --extra local
  • For development (testing, linting, documentation):
uv sync --extra dev
  • For all extras:
uv sync --all-extras

Usage

With PyPI Installation

python scripts/script.py

With Source Installation

uv run python scripts/script.py

To execute templates reliably from the technical report manuscript [citation to be added], follow release v0.1.0, also stored on Zenodo. DOI

Oracles

One can either run Oracles locally, or remotely.

  • use_modal=True: Run Oracles on Modal. Using the boileroom package, running remotely is made seamless and does not require installing any dependencies. However, you need to have credits to use Modal.
  • use_modal=False: Run Oracles locally through boileroom. You need a GPU with suitable memory requirements.

To use Modal, one needs to create an account and authenticate through:

    modal token new

You also need to set HF_MODEL_DIR to an accessible folder, where HuggingFace models will be stored.

Examples

Templates and example applications from the manuscript are included as ready-to-run Python scripts.

Contributing

For development setup, testing, and contribution guidelines, see Development Guide.

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

biobagel-0.1.1.tar.gz (243.4 kB view details)

Uploaded Source

Built Distribution

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

biobagel-0.1.1-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file biobagel-0.1.1.tar.gz.

File metadata

  • Download URL: biobagel-0.1.1.tar.gz
  • Upload date:
  • Size: 243.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for biobagel-0.1.1.tar.gz
Algorithm Hash digest
SHA256 924c620918fa79efa355372d8e090b0ec0677640396bd6e1dd4f9c6d625f370b
MD5 6cc74195ea9ae9aaadea8e4d17313d03
BLAKE2b-256 0cf5f0a2f08d18d18d7f8ac5d06bb8dc13bbcfc6cf5473aa276884cc5565683d

See more details on using hashes here.

File details

Details for the file biobagel-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: biobagel-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 38.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for biobagel-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69cdd206adad4fd464f2a3f78eab07ef16778ea528470a65825868f9f37ca632
MD5 6e6bc410fa66a34d7882ff7fe6ed3b4d
BLAKE2b-256 e3eb8a17f3d182c15d88dac73dc2c9791b7ad3175c609ebe9baf4132bc8e41cd

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