Skip to main content

Blueprint Designer

A desktop GUI for drawing RNA origami blueprints. Drag motifs from a palette onto a canvas, snap them together at their junctions, and Blueprint Designer assembles them into a pyFuRNAce Origami object. From there you can export the blueprint, design a sequence for it with AROS, and run the ROPE tools (sequence prediction, 3D building, blueprint flipping), all from one window.

Built with PySide6 (Qt).

Features

  • Motif palette: stems, dovetails, loops, tetraloops, kissing loops and dimers, aptamers (Mango, Broccoli, Pepper, Malachite Green, ...), protein-binding motifs (MS2, PP7, Streptavidin, ...), junctions, and more. Only motifs exported by your installed pyFuRNAce version are shown.
  • Snap-to-junction layout: motifs snap to compatible left/right and top/bottom junctions, with a green ghost outline previewing the snap target.
  • Live properties panel: edit sequence, length, wobble settings, loop orientation, pseudoknot index, etc. The motif updates immediately and neighbours are pushed aside when its size changes.
  • Live preview: the Info tab shows the motif's drawing, sequence and structure.
  • AROS sequence design: generate a sequence for the assembled structure and write it back into the blueprint.
  • ROPE integration: run rope-fold, rope-dragon, rope-build and rope-flip on the current blueprint, with output streamed into the log pane.
  • 3D viewer: PDB files produced by rope-build are loaded into an embedded 3Dmol.js viewer.
  • Copy / cut / paste of motif selections, with touchpad pan and pinch-to-zoom.

Requirements

  • Linux or macOS with bash, git and python3 (the setup script is a bash script).

  • Python 3.9+ (3.10+ recommended).

  • Internet access during setup (clones ROPE, installs from PyPI).

  • A bundled AROS binary for your platform in bin/:

    OS Expected file
    macOS bin/aros-macos
    Linux bin/aros-linux
    Windows bin/aros-windows.exe

Installation

Run the setup script from inside the Blueprint_Designer folder:

chmod +x setup.sh      # use your actual script name
./setup.sh

The script does the following:

  1. Moves to the parent directory and clones ROPE into ../ROPE.
  2. Installs ROPE in editable mode (python3 install.py --mode edit).
  3. Replaces rope/core/Build_logic.py and rope/core/trace_logic.py in the ROPE checkout with the patched versions from build_logic.txt and trace_logic.txt, then deletes those two .txt files from Blueprint_Designer.
  4. Creates a virtual environment in .venv/ (if it does not already exist).
  5. Installs PySide6 and pyfurnace into that environment and verifies the imports.

Afterwards, activate the environment:

source .venv/bin/activate

Notes

  • The script is not re-runnable. It clones into ../ROPE and consumes build_logic.txt / trace_logic.txt. To run it again, delete ../ROPE and restore those two files first.
  • ROPE is installed with the system python3, not the .venv. The app looks for rope-* executables on your PATH, then next to the Python interpreter running the app. If the Tools menu reports that a rope-* tool was not found, either install ROPE inside the virtual environment (activate .venv, then run python install.py --mode edit in the ROPE folder) or make sure the system scripts folder is on your PATH.

Running

With the environment active, start the application from the project root (the script uses package-relative imports, so run it as a module):

python -m <package>.<main_module>

Replace <package>.<main_module> with the module that contains main() (the file with the if __name__ == "__main__" block).

Project layout

The app resolves its resource paths relative to the project root (two levels above the script):

Blueprint_Designer/
├── bin/
│   ├── aros-macos
│   ├── aros-linux
│   └── aros-windows.exe
├── misc/
│   ├── input_1.txt        # written by the app as AROS input
│   ├── output/            # AROS writes run_*/ result folders here
│   └── 3Dmol-min.js       # optional local copy; falls back to the 3dmol.org CDN
└── ...

AROS reads misc/input_1.txt and writes to misc/output/. These paths must match what the AROS binary is configured to use. Old output/run_* folders are deleted before each AROS run.

Usage

Building a blueprint

  1. Click a motif in the palette to edit its template values, then drag it onto the canvas.
  2. Drop motifs near each other; they snap together when their junctions are compatible. Motifs in the same horizontal lane form one row of the blueprint.
  3. Select a motif to edit its parameters in the properties panel.
  4. Drag the right edge of a Stem or Dovetail to change its length (only when it is not rotated and has no explicit sequence).
  5. Press E to preview the assembled sequence, structure and drawing in the log pane. Gaps or overlaps between neighbouring motifs are reported as warnings.

vertical_link and vertical_double_link are decorative only: they appear on the canvas but are excluded from the assembled RNA model.

Keyboard shortcuts

Key Action
R Rotate selected motif(s)
F Flip selected motif(s) horizontally
E Preview the blueprint
H Show help
Delete / Backspace Delete selection
Ctrl+C / Ctrl+X / Ctrl+V Copy / cut / paste motifs
Ctrl+S Save blueprint as .txt
Ctrl+Shift+S Design a sequence with AROS, then save
Ctrl+G Generate a sequence with AROS and show it

On macOS, use Cmd in place of Ctrl only if your Qt build maps it; the app checks for Qt's ControlModifier.

Navigation: scroll or two-finger drag to pan, Ctrl + scroll (or pinch) to zoom, drag on empty canvas for rubber-band selection.

Designing a sequence with AROS

Press Ctrl+G (show result) or Ctrl+Shift+S (save to file). You are prompted for:

  • Complete runs (default 3)
  • Hill-climbing starts per run (default 5)

Candidates are ranked by base-pair distance, then ensemble diversity. The best one is written into the blueprint as Sequence and Structure lines. AROS runs are limited to 20 minutes; reduce the number of runs or starts if it times out.

ROPE tools

Open the Tools menu:

Menu entry Command Options
Predict sequences (batch) rope-fold runs, workers
Predict sequences (continuous) rope-dragon runs, workers, ensemble diversity, time per run
Build PDB files rope-build ligand (MODULE=LIGAND)
Flip blueprint rope-flip none

Each run gets its own temporary working folder containing blueprint.txt, and live output appears in the log pane. For rope-build, ambiguous bases (N, K, S, ...) are first replaced with random nucleotides, keeping paired positions complementary (including G-U wobbles). When the build finishes, the resulting PDB files load into the 3D tab.

Use Tools → Set results folder... to choose where run folders are created. After you save a blueprint, its folder becomes the default results location. Tools → Stop running job terminates the current process.

Troubleshooting

  • AROS executable not found: check that the binary for your OS exists in bin/ with the exact filename listed above.
  • rope-* not found: see the installation notes about which Python environment ROPE was installed into.
  • Skipped (not found in pf) at startup: your pyFuRNAce version does not export some motif classes; those motifs are hidden from the palette. Upgrading pyFuRNAce may help.
  • Could not assemble in the preview: the motifs on the canvas do not form a valid row layout. Check the gap/overlap warnings listed above the error.
  • 3D viewer is blank: the viewer loads misc/3Dmol-min.js if present, otherwise it needs internet access to fetch 3Dmol.js. Check the terminal for [JS] console messages.

Acknowledgements

Built on pyFuRNAce, ROPE, AROS, 3Dmol.js and Qt for Python (PySide6).

Metadata

Release files for blueprint-designer-henrik-m01 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blueprint-designer-henrik-m01 1.0.1
File Size Uploaded Provenance Actions
blueprint_designer_henrik_m01-1.0.1.tar.gz 6.1 kB With provenance Details for blueprint_designer_henrik_m01-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blueprint-designer-henrik-m01 1.0.1
File Interpreter ABI Platform Actions
blueprint_designer_henrik_m01-1.0.1-py3-none-any.whl Python 3 none any Details for blueprint_designer_henrik_m01-1.0.1-py3-none-any.whl

Total release size: 12.5 kB

Release files / blueprint_designer_henrik_m01-1.0.1.tar.gz

Download URL blueprint_designer_henrik_m01-1.0.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d7a82137ebec4a9bed40adf549fca0a949fb8bb824bf41ca9b20f41cb1572f32
BLAKE2b-256 checksum
How to use checksums
b86300b14a9307bc7eb9d61de8d04aded5abbf35a191cbb97581b13666270c55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / blueprint_designer_henrik_m01-1.0.1-py3-none-any.whl

Download URL blueprint_designer_henrik_m01-1.0.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf3e35dbe8129bea09d384dfc038079c1ea9cab12f7a504e4e5c2eb14d0aaefc
BLAKE2b-256 checksum
How to use checksums
d3ce1b4dd60da26839c31f0f0b61ce51905b5919a527fac7b8b0cbb02883a12a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for blueprint-designer-henrik-m01 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for blueprint_designer_henrik_m01-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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