Sampling Biomarker Analysis using flux sampling
Project description
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.
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 sambaflux-0.2.2.tar.gz.
File metadata
- Download URL: sambaflux-0.2.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d68930877be156d363ec4acb28ccea8d6ba46fc979ba44ce090ce1634e1affb9
|
|
| MD5 |
d79b4db17fe4814402cd812ecffe6756
|
|
| BLAKE2b-256 |
9c2c4c8a497dc66c0ace2510342ba0971708006a14b8b531147aae5b68fc396f
|
File details
Details for the file sambaflux-0.2.2-py3-none-any.whl.
File metadata
- Download URL: sambaflux-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49581412eed5319105c660c063217fc1323b526e04a26eb6759c59643093398d
|
|
| MD5 |
36fe2cf69736d7c076a6f1796da6bebc
|
|
| BLAKE2b-256 |
c31856a912ae6abdd65e2fe9fae49f61f602f674a8819c13040fc4dced55710d
|