#tile #model #simulator #assembly #events #name #xgrow

nightly bin+lib rgrow

A modular Tile Assembly Model simulator, inspired by Xgrow

4 releases (2 breaking)

0.12.2 May 12, 2023
0.12.1 May 8, 2023
0.7.1 Nov 12, 2022
0.6.0 Oct 25, 2022

#362 in Science

BSD-3-Clause

340KB
8K SLoC

Introduction

rgrow (which may change name in the future) is a fast, extensible simulator for Tile Assembly Models, primarily focused on kinetic models that require fast simulations of attachment and detachment events. It is inspired by Xgrow, but seeks to be more extensible and easier and faster to use programmably. It has Rust and Python interfaces, and a command line and UI interface similar to Xgrow.

Python documentation is available at https://rgrow.readthedocs.io/en/latest/.

Rust documentation is available at https://docs.rs/rgrow/.

Installation

Python library

Releases are pushed, in both source and a variety of binary forms, to PyPI. To install the latest release, use:

pip install rgrow

To install directly from git using Pip:

pip install "git+https://github.com/evansfmm/rgrow.git#subdirectory=py-rgrow"

or check out the repository, and use

cd py-rgrow
maturin develop --release -- -C target-cpu=native

The FLTK-based UI is usable within Python if you have the correct dependencies, and activate the "ui" feature:

cd py-rgrow
maturin develop --release -F ui -- -C target-cpu=native

Rust / CLI

Note that the rust version currently requires Rust nightly. This should change soon.

cargo install rgrow

Dependencies

~6–46MB
~686K SLoC