Skip to main content

Gene Regulatory Interaction Network Simulator - GRiNS

Project description

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.

Overview of the simulation frameworks in GRiNS. GRiNS includes implementations of Random Circuit Perturbation (RACIPE) for continuous ODE-based modeling and Ising Boolean formalism for discrete-state simulations.

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}, 
}

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

grins-0.1.1.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

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

grins-0.1.1-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for grins-0.1.1.tar.gz
Algorithm Hash digest
SHA256 74bf9c7ab4cea6f124901ae7b5354613f3da629dc194f4027a111d31e9a35c00
MD5 db446a66dea76ae9cee4e004cbe48f81
BLAKE2b-256 5798bbaf04d6ea998a0245755b574dc8257e0765ae068b4162d6423f5e3ad9bc

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on MoltenEcdysone09/GRiNS

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

File details

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

File metadata

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

File hashes

Hashes for grins-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd44e015e5b8302a408074b44bbc69941462b765ad49106b9efb2a75142a6e88
MD5 2eee3743a37af9f4f12cdaa584c13199
BLAKE2b-256 849fed142b94685963e0854edbe4039a4272d5c3b3c6e0b9ce0e250e9e33ded8

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on MoltenEcdysone09/GRiNS

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