Generalized Kinetic Modeler: A Python package for modeling arbitrary kinetic schemes.
Project description
GeKiM (Generalized Kinetic Modeler)
Description
GeKiM (Generalized Kinetic Modeler) is a Python package designed for creating, interpreting, and modeling arbitrary kinetic schemes with a focus on covalent inhibition. Schemes are defined by the user in a dictionary of species and transitions. These are then used to create instances of the NState class, which include methods of simulating and analyzing itself.
The package also contains classes for common schemes, which come with scheme-specific analyses and metrics (e.g., ThreeState.KI, AXD.jacobian).
Installation
For now, you can only install GeKiM directly from the source code:
git clone https://github.com/kghaby/GeKiM.git
cd GeKiM
pip install .
Usage
Here is a basic example of how to use GeKiM to create and simulate a kinetic model:
import gekim
# Define your kinetic scheme in a configuration dictionary
config = {
'species': {
"I": {"conc": 100, "label": "$I$"},
"E": {"conc": 1, "label": "$E$"},
"EI": {"conc": 0, "label": "$EI$"},
},
'transitions': {
"kon": {"value": 0.01, "from": ["E","I"], "to": ["EI"]},
"koff": {"value": 0.1, "from": ["EI"], "to": ["E","I"]},
}
}
# Create a model
model = gekim.NState(config)
# Define time points and simulate. In this example we're doing a deterministic simulation of the concentrations of each species.
t = np.linspace(0.0001, 1000, 1000)
model = model.solve_ode(t)
# Solution will be columned data of concentrations
print(model.ode_sol)
For more detailed examples, please refer to the examples directory.
Documentation
API Documentation with examples can be found at TODO.
Contributing
If you have suggestions or want to contribute code, please feel free to open an issue or a pull request.
License
GeKiM is licensed under the GPL-3.0 license.
Contact
Project details
Release history Release notifications | RSS feed
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 GeKiM-0.1.0a1.tar.gz.
File metadata
- Download URL: GeKiM-0.1.0a1.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
409abfa5589ac4bad70f273737e66222fc2da627d4eeb42dc2f4de8175367ee7
|
|
| MD5 |
137fb4311eb84d6aeac7052742ba22c8
|
|
| BLAKE2b-256 |
2e285336eb817482d688e8b79f89133c752dfae2470a45504fbc015ae1035a1e
|
File details
Details for the file GeKiM-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: GeKiM-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33fe0551f9c3faf7fc7642f385f4d98445e747be71c111aa377d69e65d43a090
|
|
| MD5 |
bc65ab153c9cb94038a3cb057544a430
|
|
| BLAKE2b-256 |
6a94ae3ecc146a32264475ef22eeec6056b79ee24ae93c44bad410418003bbca
|