cobrascape is small package for constraint-based reconstruction and analysis (COBRA) of allelic variation, i.e., fitness landscapes. Specifically, cobrascape describes each strain in the genomics dataset as a strain-specific genome-scale model (GEM) parameterized according to the alleles it contains. It builds on the COBRApy package (https://github.com/opencobra/cobrapy) and is extensively utilized in estimating Metabolic Network Classifiers——a flux balance analysis-based machine learning classifier for microbial genome-wide association studies (GWAS) (preprint SOON).
- Allele-specific parameterization.
- Simplified integration of strain variation with GEMs.
- Population Flux Variability Analysis (popFVA)
- Parallelized computation
Installation git clone https://github.com/erolkavvas/cobrascape.git
Genetic variant matrix
- shape: (strains, alleles), values: presence (1) or absence (0) of allele in strain.
Genome-scale metabolic model
,- see http://bigg.ucsd.edu/ for a list of curated genome-scale models
see example.ipynb
for basic use. Example Genetic variant matrix from (https://rdcu.be/9rHj) and genome-scale model from (https://rdcu.be/bG6JO)