A sampling algorithm for convex and non-convex metabolic models
Project description
GapSplit is a sampling algorithm designed to generate uniform, high-coverage sample points on any metabolic model
regardless of convexity (i.e. logical/integer constraints).
Functions
- sample(fname, n_points, lower_bounds=None, upper_bounds=None, n_update=100, n_secondary=0)
Generate samples from a given input model.
- INPUT:
- fname - str
String representing path to model file (see gurobipy.read() for acceptable file types).
- n_points - int
Number of desired sample points.
- lower_bounds - list/ndarray, optional
FVA minimums for model. Generated if not provided.
- upper_bounds - list/ndarray, optional
FVA maximums for model. Generated if not provided.
- n_update - int, optional
Refresh rate (in points) for console output of current model coverage and sample count.
- n_secondary - int, optional
Number of additional gaps targeted for splitting.
- OUTPUT:
- samples - ndarray
n_points by n_reactions array of sample points.
Dependencies
gurobipy: 7.0 and up (requires download and license from gurobi.com - license provided free for academic users)
numpy: 1.14.5
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 gapsplit-1.1.1.tar.gz.
File metadata
- Download URL: gapsplit-1.1.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.14.2 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97db08ea6222bb026dd90e73cc88c1ee23ade598c79ce7d05a5db4065967dbdd
|
|
| MD5 |
1155f2d9fa8c17deb2bf5018e2e7fb50
|
|
| BLAKE2b-256 |
04beaf577b66e34899f71d6ae986e200db3e77eb54d96af180be18ac89960b69
|
File details
Details for the file gapsplit-1.1.1-py2-none-any.whl.
File metadata
- Download URL: gapsplit-1.1.1-py2-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.14.2 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3003b4f38835d04fb64024940cf6c8783f964393e38c52b77458776bba2219a8
|
|
| MD5 |
12df77676d4307ce885bc4637b44bc26
|
|
| BLAKE2b-256 |
7495f3611c5a9ade47cf3bf0e56d595b1e52d7a5c949ae9c2b670f5bbfa6638d
|