Skip to main content

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) Open In Colab
Library (42-module redesign → GAP compile) Open In Colab

Direct links:

Each notebook installs with:

%pip install -q -U "grasp-library-designer>=0.1.5"

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

grasp_library_designer-0.1.5.tar.gz (199.2 kB view details)

Uploaded Source

Built Distribution

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

grasp_library_designer-0.1.5-py3-none-any.whl (289.6 kB view details)

Uploaded Python 3

File details

Details for the file grasp_library_designer-0.1.5.tar.gz.

File metadata

  • Download URL: grasp_library_designer-0.1.5.tar.gz
  • Upload date:
  • Size: 199.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for grasp_library_designer-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1be6620dba99765239937a0b7ed0416fff971c9568a737055fdfb6c08132f6f1
MD5 c513226b7a1cb3b9964830e819519c4f
BLAKE2b-256 57d4d7172bc413a34c96d03a6a5abbb7856849fe87079f64329491bdb19b80b2

See more details on using hashes here.

File details

Details for the file grasp_library_designer-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for grasp_library_designer-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c3e694d6cb6eb07e8328fa851ea14169b9d7ffdd342a16357255804a193d2d
MD5 27589c16eeaeb56f82fafcba89c08f81
BLAKE2b-256 62dfd650f8ea906585d7e073dd339b0ebb7d5cec13f2d3c9b34046e7a8a9e4ed

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page