Skip to main content

Differentiable models of enzyme-catalysed reaction networks

Project description

Enzax

Tests Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Supported Python versions: 3.12 and newer

Enzax is a library of automatically differentiable equations and solvers for modelling networks of enzyme-catalysed reactions, written in JAX.

Enzax provides straightforward, fast and interoperable access to the gradients of realistic metabolic network models, allowing you to incorporate these models in your MCMC and machine learning algorithms when you want to, for example, predict the effect of down-regulating an enzyme on the yield of a fermentation experiment.

Installation

pip install enzax

Usage

Find a kinetic model's steady state

from enzax.examples import methionine
from enzax.steady_state import solve_steady_state
from jax import numpy as jnp

guess = jnp.full((5,) 0.01)

steady_state = solve_steady_state(
    methionine.parameters, methionine.unparameterised_model, guess
)

Find a steady state's Jacobian with respect to all parameters

import jax
from enzax.examples import methionine
from enzax.steady_state import solve_steady_state
from jax import numpy as jnp

guess = jnp.full((5,) 0.01)

jacobian = jax.jacrev(solve_steady_state)(
    methionine.parameters, methionine.unparameterised_model, guess
)

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

enzax-0.1.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

enzax-0.1.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file enzax-0.1.0.tar.gz.

File metadata

  • Download URL: enzax-0.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.0 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for enzax-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44fd2229278d0cf2c10cfa659267ead078d18ccf8553b94d45a936029443212b
MD5 88f07d5c51fdfb3ef7a9e4258e322fda
BLAKE2b-256 faba962457133860d8b387aa8fefb5f954c2a49a6ac6688db254d68a31c4bfc2

See more details on using hashes here.

File details

Details for the file enzax-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: enzax-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.18.0 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for enzax-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bd1618f04f367c938b9897b9cb8ee550cbc5ef309e53b30801b7ef945acafad
MD5 84a29661a1ccfdb4be40939366bc4d91
BLAKE2b-256 d8620eb9420a58588416e0f5a86e5ce6b0d2551574a8500732a4b7e0780dbf5e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page