- installing conda
- installing mamba
conda create -n carbon -c conda-forge python=3.8 mamba
conda activate carbon
mamba env update -n carbon --file workflow/envs/default_env.yaml
- If needed create new envinroment (e.g. virtual python environment or conda/mamba)
1.1 generate virtual python environment with cobrapy as name
python3 -m venv cobrapy
- Install memote using pip 2.1
pip install memote
- Use memote to analyse sbml model
memote report snapshot <path to xml-model>
Here the presented and cleaned version of the produced data is stored. One can find all the images and tables used to produce the thesis. The other directories contain either code or the same data in less clean form e.g. the metabolic map was created manually and is therefore only available in the ~/supplementary_data directory.
- Modify the config file (~/workflow/config/model_config.yaml)
- Start snakemake with n cores (in the directory of the Snakefile)
snakemake --cores <nuber_of_threads> --keep-going --use-conda
- keep-going: this flag is required because some of the provided models will lead to errors which will stop the workflow if this flag is not set
- use-conda: allows the workflow to use conda as a package management tool
The notebook provided in the ~/workflow/scripts directory can be run and depending on your preference with or without loopless flag (see config) it might take over 30 minutes (depending on your hardware).
- Check the results directory
- For the code required for the analysis see ~/workflow/scripts and for additional and not required code see ~/used_code directory.