HERESY

A Highly Efficient REaction SYstem simulator equipped with a graphical user interface and GPU-accelerated computation.

HERESY (Highly Efficient REaction SYstem simulator) is a computational tool designed to simplify and accelerate the simulation of Reaction Systems (RS), a formal model of computation inspired by biochemical reactions taking place in living cells.

While the theoretical framework of Reaction Systems is powerful, simulating complex environments with numerous interacting entities can be computationally taxing. HERESY solves this by bridging an intuitive, Python-based Graphical User Interface (GUI) with a highly optimized C++ and CUDA backend. This architecture allows researchers to easily define reactants, inhibitors, and products, and then offload the heavy computational lifting directly onto the GPU for massive parallelization.

GitHub stars License

CUDA Accelerated Systems Biology

Streamlined Simulation Workflow

HERESY was built with usability in mind. Instead of writing complex scripts to define models, researchers can launch the GUI (python heresy.py) and input their systems using a clean, simplified syntax.

  • Reactions Format: Defined simply as Reactants, Inhibitors, and Products. For example, a reaction with reactants r1 r2, inhibitor i1, and products p1 p2 p3 is written elegantly as: r1 r2, i1, p1 p2 p3
  • Context Format: The chemical context for each iteration is provided as a space-separated list (e.g., s1 s2 s3).

Once the system and context are defined, HERESY leverages the GPU to compute the state transitions, handling large-scale combinatorial checks with high efficiency.


Research Highlights

Intuitive GUI

A dedicated graphical interface built in Python ensures that setting up and running complex reaction systems is accessible to all researchers.

GPU Accelerated

Offloads the combinatorial burden of reaction calculations to NVIDIA GPUs via a robust C++/CUDA engine.

Simplified Syntax

Replaces boilerplate code with a streamlined, text-based input format for defining reactants, inhibitors, and products.

Core Publication

2017

  1. Efficient simulation of reaction systems on graphics processing units
    Marco S Nobile, Antonio E Porreca, Simone Spolaor, and 4 more authors
    Fundamenta Informaticae, 2017