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.1.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: enzax-0.1.1.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for enzax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 36bc35c9172c53e434ab35f8b8a0cb22e5d77a267092b56a69fbf2102402d408
MD5 345fd0f734d00315e6dd9cdac4f89b06
BLAKE2b-256 7f8b167c13eb5908cd7980b1b0f82d5e8483ff1528b8bb9f876bb210d25e74ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: enzax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for enzax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f80e63ec4bb31eaab6d4621a31c16a7890e83800bcf34dae3fad2b36b479ceaf
MD5 657664f0874bcace348ee78441ad721c
BLAKE2b-256 6f7e8485f3462c30f89b29a673f20396ff29deb93451ca7787ea84673736c9db

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