Protein Engineering via Exploration of an Energy Landscape
Project description
BAGEL: Protein Engineering via Exploration of an Energy Landscape
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:
- Clone the repository:
git clone https://github.com/softnanolab/bagel
- Install
uv(if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh
- Navigate to the repository:
cd bagel
- 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.
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
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
924c620918fa79efa355372d8e090b0ec0677640396bd6e1dd4f9c6d625f370b
|
|
| MD5 |
6cc74195ea9ae9aaadea8e4d17313d03
|
|
| BLAKE2b-256 |
0cf5f0a2f08d18d18d7f8ac5d06bb8dc13bbcfc6cf5473aa276884cc5565683d
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69cdd206adad4fd464f2a3f78eab07ef16778ea528470a65825868f9f37ca632
|
|
| MD5 |
6e6bc410fa66a34d7882ff7fe6ed3b4d
|
|
| BLAKE2b-256 |
e3eb8a17f3d182c15d88dac73dc2c9791b7ad3175c609ebe9baf4132bc8e41cd
|