GRASP Library Designer
Codon-optimize GRASP (Farley et al., NAR 2025) binder DNA for Golden Gate assembly.
PyPI: grasp-library-designer · Import: grasp_library
Open in Google Colab
Click a badge → run 0 · Install (PyPI) → fill the forms top to bottom. No GitHub token needed.
| Notebook | Open |
|---|---|
| One-shot (one RNA → free GGA oligos) | |
| Library (42-module redesign → GAP compile) |
Direct links:
- One-shot: https://colab.research.google.com/github/JustABiologist/grasp-library-designer/blob/main/grasp_oneshot_designer.ipynb
- Library: https://colab.research.google.com/github/JustABiologist/grasp-library-designer/blob/main/grasp_library_designer.ipynb
Each notebook installs with:
%pip install -q -U "grasp-library-designer>=0.1.4"
Bundled GenBank modules and Potapov ligation tables ship inside the PyPI package (materialize_project()).
Install locally
pip install grasp-library-designer
# optional notebook extras
pip install "grasp-library-designer[notebook]"
from grasp_library import materialize_project, build_default_config, LigationFidelityCalculator
project = materialize_project() # ./grasp_library_project + GenBank
config = build_default_config(project / "input")
print(LigationFidelityCalculator(25, 18).set_fidelity(["AATG", "GATA"]))
From a blank Colab / Jupyter, you can also drop the Forms notebooks onto disk:
%pip install -q -U grasp-library-designer
from grasp_library import write_notebook
write_notebook("oneshot") # or "library"
# then open the written .ipynb from the file browser
What each notebook does
| Notebook | Purpose |
|---|---|
grasp_oneshot_designer.ipynb |
One target RNA → binder protein → free GGA cut sites → oligos |
grasp_library_designer.ipynb |
Redesign / anneal the 42-module combinatorial library, then GAP-compile a target |
Hard constraints (library path): protein fixed (synonymous codons only); coding Golden Gate overhang bases stay locked in coding_mask. Objectives: ligation fidelity (Potapov / GGAssembler), codon optimality, synthesis fitness.
Develop from source
git clone https://github.com/JustABiologist/grasp-library-designer.git
cd grasp-library-designer
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[notebook,dev]"
Package layout
grasp_library/ # installable Python package
data/profiles/.../genbank/ # bundled GRASP GenBank modules
notebooks/ # Colab Forms notebooks (also at repo root)
paths.py # materialize_project()
...
third_party/dawdlib_golden_gate/ # Potapov ligation fidelity (AGPL)
License
AGPL-3.0 (required by the vendored GGAssembler / dawdlib ligation engine). See LICENSE and THIRD_PARTY_LICENSES.md.
GRASP sequences: Farley et al., Nucleic Acids Res. 2025.
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 grasp_library_designer-0.1.4.tar.gz.
File metadata
- Download URL: grasp_library_designer-0.1.4.tar.gz
- Upload date:
- Size: 198.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2aa8e46bac1decb01d2673a6b2861ebfd39155c9ff5b1e00e8f7d6ce1fc8fc6
|
|
| MD5 |
8af96d31d1d2e39585db768fe1ee396b
|
|
| BLAKE2b-256 |
7366cc24a22e8c06e24b6f2526f989ce6eee6f56f9426653df3ddcf1576884b1
|
File details
Details for the file grasp_library_designer-0.1.4-py3-none-any.whl.
File metadata
- Download URL: grasp_library_designer-0.1.4-py3-none-any.whl
- Upload date:
- Size: 288.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed094ec21849ea537b602cdbdb72996cb7a53bd423b145a1c853feb1165fe958
|
|
| MD5 |
c180c1080f55aba8204854d4ec4017e4
|
|
| BLAKE2b-256 |
5546569dadaf8208508d4d6bcc6a00e91b07964d5eeb0f28ac0d4eec057117f4
|