Skip to main content

An integrated design engine for RNA origami

Project description

Alt Text

pyFuRNAce is an open-source Python package and web-based design engine for creating complex RNA nanostructures using the co-transcriptional RNA origami approach. It streamlines the entire design pipeline — from structural motif assembly to sequence generation and primer design — into an intuitive, user-friendly platform.

Downloads/MONTH PyPI Downloads

WebApp: pyfurnace.de
GitHub: Biophysical-Engineering-Group/pyFuRNAce
PyPI: pyfurnace
Script API examples: Code Examples
Documentation: Read the Docs

Alt Text


🚀 Features

  • 🧩 Motif-based assembly: Build RNA structures using a rich, expandable library of motifs including stems, dovetails, kissing loops, aptamers, and ribozymes.
  • 🎨 GUI & Real-time 3D Visualization: Interactive blueprint editor and real-time 3D rendering via Streamlit and oxView.
  • 🔄 Integrated Workflow: Design, generate, convert, and prepare your RNA origami in one unified interface.
  • 🧬 Sequence Generation & Optimization: Built-in support for sequence folding (Revolvr + ViennaRNA).
  • 🧪 Primer & Template Design: Includes tools for DNA conversion, promoter addition, and primer calculations.
  • 💻 Python Scripting API: Automate complex designs or build at scale using a programmable interface.

System requirements

  • Python 3.10 or later
  • Operating System: Linux, macOS, or Windows
  • dependencies are listed in requirements.txt; with stable versions recommended in stable_requirements.txt

📦 Installation

Typical installation time: 5 minutes

Pyfurnace

Note: pyFuRNAce requires Python 3.10 or later, and the local installation always includes the GUI via Streamlit.

Install from PyPI

Install or upgrade the latest stable version of pyFuRNAce from PyPI using pip (and OAT from GitHub):

pip install --upgrade pyfurnace

Install from GitHub

Install the latest development version of pyFuRNAce (and OAT) directly from the GitHub repository:

pip install "git+https://github.com/Biophysical-Engineering-Group/pyFuRNAce.git"

Extra Dependencies

Note: The pyFuRNAce installation does not include the oxDNA analysis tools (OAT).

The OAT package is used to convert 3D structures from/to PDB files and write oxDNA force files. To install the OAT package, you can use the following command (the git command is required, you can install it via anaconda with conda install git):

pip install "git+https://github.com/lorenzo-rovigatti/oxDNA.git#subdirectory=analysis"

To run sequence generation, a Perl interpreter is required by the Revolvr script from ROAD. It is usually installed by default on most systems. If not, you can install it via Anaconda with conda install bioconda-legacy::perl.

🖥️ Running the Web Application

To run the web application locally after installation, use the following command:

pyfurnace

Or alternatively python -m pyfurnace.

This will lunch the GUI in your default web browser. You can also use the hosted version at pyfurnace.de. The WebApp is built using Streamlit and can be run locally or on a server. You can access the webapp directly at pyfurnace.streamlit.app.

Streamlit App

🎛 Modules

  1. Design: Create and edit RNA structure blueprints. Visualize assembled structures in 3D. Define custom motifs via GUI or scripting.
  2. Generate: use inverse folding (Revolvr) to produce RNA sequences matching the target structure. Evaluate folding energies and structural ensemble diversity.
  3. Convert: Translate RNA sequences to DNA templates. Add transcriptional promoters (e.g., T7). Analyze sequence properties (e.g., GC content, dimers).
  4. Prepare: Design PCR primers with melting temperature calculations. Generate input files for molecular dynamics simulations with oxRNA.

🧑‍💻 Using the Python API

import pyfurnace as pf

line1 = [pf.TetraLoop(),
        pf.Stem(7),
        pf.Dovetail(-2, up_cross=False),
        pf.Stem(6),
        pf.KissingDimer(),
        pf.Stem(6),
        pf.Dovetail(-2, up_cross=False),
        pf.Stem(7),
        pf.TetraLoop(True),
        ]

line2 = [pf.TetraLoop(),
        pf.Stem(7),
        pf.Dovetail(-2, down_cross=False),
        pf.Stem(10),
        pf.start_end_stem(),
        pf.Stem(10),
        pf.Dovetail(-2, down_cross=False),
        pf.Stem(7),
        pf.TetraLoop(True),
        ]

origami = pf.Origami(line1, line2, aling='center')

print(origami)
print(origami.structure)
print(origami.sequence)

-> Output:

                        ╭───────╮
╭CGNNNKNNN──SS──NKNNNNAA┼─NNNNNN╯╭─ANNKNNN──SS──NNNKNNNUU╮
│  ┊┊┊┊┊┊┊  ┊┊  ┊┊┊┊┊┊  │ ┊┊┊┊┊┊ │  ┊┊┊┊┊┊  ┊┊  ┊┊┊┊┊┊┊  │
╰UUNNNKNNN──SS╮╭NKNNNNA─╯╭NNNNNN─┼AANNKNNN──SS╮╭NNNKNNNGC╯
              ││         ╰───────╯            ││
          ╭───╯│                         ╭────╯│
          │╭───╯                         │╭────╯
          ↑↓                             ↑↓
╭CGNKNKNNN╯╰SS──NKNNNKNNNN─3 5─NNNKNNNKNN╯╰SS──NKNNKNNUU╮
│  ┊┊┊┊┊┊┊  ┊┊  ┊┊┊┊┊┊┊┊┊┊     ┊┊┊┊┊┊┊┊┊┊  ┊┊  ┊┊┊┊┊┊┊  │
╰UUNKNKNNN──SS──NKNNNKNNNN─────NNNKNNNKNN──SS──NKNNKNNGC╯
((((((((((((((((((..[[[[[[.))))))))(((((((....)))))))(((((((((....)))))))))))))))))))(((((((((((((((((((....)))))))(((((((((....)))))))))((((((..]]]]]].))))))))))))))))))
NNNKNNNKNNSSNNNKNNAANNNNNNANNKNNNSSNNNKNNNUUCGNNNKNNNSSNKNNKNNUUCGNNKNNKNSSNNKNNNKNNNNNNNKNNNKNSSNNNKNKNUUCGNKNKNNNSSNNNKNNNUUCGNNNKNNNSSNKNNNNAANNNNNNANNNNKNSSNKNNNKNNNN

📚 Examples

Explore tutorials and example notebooks in the examples directory.

📜 License

Code is licensed under the GNU General Public License v3.0 (GPL-3.0)

License: GPL-3.0

🧠 Citation

If you use pyFuRNAce in your research, please cite: Monari, L., Braun, I., Poppleton, E. & Göpfrich, K. PyFuRNAce: An integrated design engine for RNA origami (2025) doi:10.1101/2025.04.17.647389.

🙏 Acknowledgements

Supported by the ERC Starting Grant “ENSYNC”, DFG, HFSP, and Max Planck Society. Developed by Luca Monari, Ina Braun, Erik Poppleton, and Kerstin Göpfrich.

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

pyfurnace-0.1.1.tar.gz (376.5 kB view details)

Uploaded Source

Built Distribution

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

pyfurnace-0.1.1-py3-none-any.whl (404.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfurnace-0.1.1.tar.gz
  • Upload date:
  • Size: 376.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyfurnace-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c6b02967a5050777c446ec14c29a8469bed32f97125eaaab364a2ecc4c89a012
MD5 2d1399f7fae4a0d4dbafd6c441b7aa65
BLAKE2b-256 29fe24fa77d04c80aaed5cb13258a24c28b70680af099d4e106f027218cd3de4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfurnace-0.1.1.tar.gz:

Publisher: pypi_publish.yml on Biophysical-Engineering-Group/pyFuRNAce

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pyfurnace-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 404.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyfurnace-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af4be2b24f82d7c62e4dddf8b36d5b414f11d185a5d4e7c906faaa47d4c08448
MD5 a09c726a66658a2c773682359292accd
BLAKE2b-256 37bdbf93f7e9092df0e014b643be8bd2faa8694a63cd972bdb5fce92a878ff92

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfurnace-0.1.1-py3-none-any.whl:

Publisher: pypi_publish.yml on Biophysical-Engineering-Group/pyFuRNAce

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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