Gene Regulatory Interaction Network Simulator (GRiNS)
A Python library for simulating gene regulatory networks (GRNs) using parameter-agnostic frameworks like RACIPE and Ising formalism, with GPU acceleration and efficient ODE solving.
Modeling gene regulatory networks (GRNs) is essential for understanding cellular processes, but parameterizing these networks becomes increasingly difficult as they scale. This Python library provides a simulation framework that unifies parameter-agnostic approaches, including RACIPE and Ising formalism, into a single, flexible tool.
Key Features
- Simulation Frameworks: Supports both ODE-based (RACIPE) and coarse-grained (Ising formalism) methods for studying GRN dynamics.
- Parameter-Agnostic Modeling: Translates network topology into mathematical models without requiring detailed parameter tuning.
- Scalable Computation: Uses the Jax ecosystem for GPU acceleration and Diffrax for efficient ODE solving.
- Data Processing Tools: Provides normalization and discretization functions to standardize simulation outputs for downstream analysis.
Documentation
You can access the full documentation, including installation instructions, usage examples, and detailed explanations of the simulation frameworks, at MoltenEcdysone09.github.io/GRiNS
Installation
GPU Version Installation (Recommended)
For optimal performance, it is recommended to install the GPU-accelerated version of the library. This version leverages CUDA for faster computations, making it well-suited for large-scale simulations. If you have a compatible NVIDIA GPU (refer to Jax Installation), install the library with:
pip install grins[cuda12]
CPU Version Installation
If you do not have a compatible GPU, you can install the CPU version instead:
pip install grins
Compared to the GPU version, the CPU version will be slower, especially for large simulations.
Citation
Please cite this package if you have used it.
@misc{harlapur2025grinspythonlibrarysimulating,
title={GRiNS: A Python Library for Simulating Gene Regulatory Network Dynamics},
author={Pradyumna Harlapur and Harshavardhan B V and Mohit Kumar Jolly},
year={2025},
eprint={2503.18356},
archivePrefix={arXiv},
primaryClass={q-bio.QM},
url={https://arxiv.org/abs/2503.18356},
}
Metadata
Release files for grins 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grins-0.1.2.tar.gz | 45.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grins-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 95.3 kB
Release files / grins-0.1.2.tar.gz
| Download URL | grins-0.1.2.tar.gz |
|---|---|
| Size | 45.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75ae7c1f92b587b3c66f19951379043f75c849a239d076ca2fb28991d86e8e3a
|
|
BLAKE2b-256 checksum How to use checksums |
889fb6bfbb05f9f3d4c0fa4d02a4be8f4611c6d9867f1bc99d5b668eff5e70af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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 Jun 3, 2025.
Transparency logRelease files / grins-0.1.2-py3-none-any.whl
| Download URL | grins-0.1.2-py3-none-any.whl |
|---|---|
| Size | 49.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eef71fd2f160381d35b5da515f6fdcd1998f72bcabcd1d70e6e498f8726f05cd
|
|
BLAKE2b-256 checksum How to use checksums |
51b5f93ce1294723fd1c94e5f36c7da973448b5b31d34529bcd1a75fd713f69f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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 Jun 3, 2025.
Transparency log