SAMBAflux
Description
SAMpling Biomarker Analysis is a python package for running flux sampling on metabolic networks. Once installed, it can be imported into new python scripts or used with scripts from the SAMBA repository.
Visuals
[add example plots here]
Getting started
Requirements
- Python 3.7
- cobrapy
- A solver (GLPK, CPLEX, GUROBI)
- Access to a computer cluster or powerful computer when sampling larger models
Installation
Install via pip:
pip install sambaflux
Usage
-h, --help show this help message and exit
-m MODEL, --model MODEL
Metabolic model. Supported file formats: SBML, json, mat.
-n NSAMPLES, --nsamples NSAMPLES
The number of samples
-p PROCESSORS, --processors PROCESSORS
Number of processors
-t THINNING, --thinning THINNING
The thinning factor of the generated sampling chain. A thinning of 10 means samples are returned every 10 steps.
-o OUTPATH, --outpath OUTPATH
Outfile path (without filename)
-k KO, --ko KO KO file containing reactions to KO, specify nothing if you want to sample WT
-s SEPKO, --sepko SEPKO
Separator for the KO file
-r RESULTS, --results RESULTS
File containing reactions to output, specify nothing if you want only exchange reactions
-q, --quiet Use this flag to silence INFO logging.
-d, --debug Use this flag to turn on DEBUG logging.
--dryrun Use this flag to run the code without running sampling.
--log LOG Log file path + filename. Set to None to output to console.
-b BIOMASS, --biomass BIOMASS
Number between 0 and 1, fraction of biomass to optimize
--solver {cplex,gurobi,glpk}
Solver to use
--exchangemin EXCHANGEMIN
The value used to set the minimum flux through exchange reactions (will be negative). Set to None if you want the default exchange reaction bounds.
--biomassrxn BIOMASSRXN
A .tsv containing a Model column with the name of models and a Biomass column with the name of the corresponding biomass reaction.
-f, --fva Use this flag to run FVA as well as sampling.
--onlyfva Use this flag to run FVA instead of sampling.
See here for set-up and usage with the project's scripts.
Authors
Juliette Cooke
Acknowledgments
License
MIT License (see LICENSE file)
Project status
Currently active on this project.
Metadata
Release files for sambaflux 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sambaflux-0.2.2.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sambaflux-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / sambaflux-0.2.2.tar.gz
| Download URL | sambaflux-0.2.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d68930877be156d363ec4acb28ccea8d6ba46fc979ba44ce090ce1634e1affb9
|
|
BLAKE2b-256 checksum How to use checksums |
9c2c4c8a497dc66c0ace2510342ba0971708006a14b8b531147aae5b68fc396f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.12
|
Release files / sambaflux-0.2.2-py3-none-any.whl
| Download URL | sambaflux-0.2.2-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49581412eed5319105c660c063217fc1323b526e04a26eb6759c59643093398d
|
|
BLAKE2b-256 checksum How to use checksums |
c31856a912ae6abdd65e2fe9fae49f61f602f674a8819c13040fc4dced55710d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.12
|