Python based automated model reduction tools for SBML models
Project description
AutoReduce: An automated model reduction tool
Python toolbox to automatically obtain reduced model expressions using time-scale separation, conservation laws, and other assumptions.
Overview
AutoReduce is a Python package for automated model reduction of SBML models. It provides tools for:
- Automated model reduction using QSSA (Quasi-Steady State Approximation)
- Hill function approximation
- Integration with BioCRNPyler for synthetic biology models
- Analysis of gene expression models
Refer to the bioRxiv paper and Journal of Robust and Nonlinear Control paper for more details.
Quick Start
from autoreduce.converters import load_sbml
# Load your SBML model
sys = load_sbml('your_sbml_file.xml', outputs=['your_output'])
# Solve conservation laws
conservation_laws = sys.solve_conservation_laws(
conserved_sets=[
['species1', 'species2', 'species3'], # First conserved set
['species4', 'species5'] # Second conserved set
],
states_to_eliminate=['species_to_eliminate1', 'species_to_eliminate2']
)
# Solve timescale separation using QSSA
reduced_qssa_model = sys.solve_timescale_separation(
['fast_species1', 'fast_species2']
)
For more examples, check out the documentation.
Installation
Install the latest version of AutoReduce:
pip install autoreduce
Install with all optional dependencies:
pip install autoreduce[all]
For development installation:
git clone https://github.com/ayush9pandey/autoreduce.git
cd autoreduce
pip install -e ".[all]"
Documentation
Full documentation is available at autoreduce.readthedocs.io.
Contributing
We welcome contributions! Please see our contributing guide for details.
Versions
AutoReduce versions:
- 0.3.0 (current release): Major updates including improved API and documentation
- 0.2.0 (alpha release):
pip install autoreduce==0.2.0 - 0.1.0 (alpha release):
pip install autoreduce==0.1.0
Contact
For questions, feedback, or suggestions, please contact:
- Ayush Pandey (ayushpandey at ucmerced dot edu)
- GitHub Issues
License
Released under the BSD 3-Clause License (see LICENSE)
Copyright (c) 2025, Ayush Pandey. All rights reserved.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autoreduce-0.3.1.tar.gz.
File metadata
- Download URL: autoreduce-0.3.1.tar.gz
- Upload date:
- Size: 696.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f5edd3757cd6ce6d0f947ebf51633885e95084e6b20d81c38effce3ccbc6a79
|
|
| MD5 |
a4aa47314eae04e9181c66b10a0a081c
|
|
| BLAKE2b-256 |
8e5f072872b96c6215f77de10f00baf9960445bd88a09419db153974ca5ef6e1
|
Provenance
The following attestation bundles were made for autoreduce-0.3.1.tar.gz:
Publisher:
pypi-deploy.yml on ayush9pandey/AutoReduce
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autoreduce-0.3.1.tar.gz -
Subject digest:
7f5edd3757cd6ce6d0f947ebf51633885e95084e6b20d81c38effce3ccbc6a79 - Sigstore transparency entry: 238910486
- Sigstore integration time:
-
Permalink:
ayush9pandey/AutoReduce@324ddf4b41bffe2f236bd11d632cb86a995fb39d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/ayush9pandey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-deploy.yml@324ddf4b41bffe2f236bd11d632cb86a995fb39d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file autoreduce-0.3.1-py3-none-any.whl.
File metadata
- Download URL: autoreduce-0.3.1-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c316dd97c1c20df1855499994e1220c68c99442463594c89ec92b85cbf4d6994
|
|
| MD5 |
3047576137d31bd96eed4662bd420819
|
|
| BLAKE2b-256 |
2a2c2f4e6938d54ec41ecceb75d579a4085469cf86b2be41444c5cfa05d42656
|
Provenance
The following attestation bundles were made for autoreduce-0.3.1-py3-none-any.whl:
Publisher:
pypi-deploy.yml on ayush9pandey/AutoReduce
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autoreduce-0.3.1-py3-none-any.whl -
Subject digest:
c316dd97c1c20df1855499994e1220c68c99442463594c89ec92b85cbf4d6994 - Sigstore transparency entry: 238910489
- Sigstore integration time:
-
Permalink:
ayush9pandey/AutoReduce@324ddf4b41bffe2f236bd11d632cb86a995fb39d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/ayush9pandey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-deploy.yml@324ddf4b41bffe2f236bd11d632cb86a995fb39d -
Trigger Event:
workflow_dispatch
-
Statement type: