Supporting code for Bayesian Transporter research - still under development.
- create an environment with required packages/dependencies using
conda env create -f environment.yml - run through the
example_notebook.ipynbnotebook for example usage and analysis- ensure that the filepaths are correctly set for your system in the configuration file
...config.yamlconfiguration file.
- ensure that the filepaths are correctly set for your system in the configuration file
- an
\exampledirectory is included in the repo which contains data from a shortpocomcsampling run, along with an example configuration file, SBML and tellurium transporter model, and synthetic observed dataset.
- For Bayesian inference using EMCEE run
python YOUR_PATH_HERE/run_emcee.pyin a terminal - For Bayesian inference using PocoMC run
python YOUR_PATH_HERE/run_pocomc.pyin a terminal - For Maximum Likelihood Estimation using Scipy Optimization run
python YOUR_PATH_HERE/run_optimizer.py.pyin a terminal
Ensure that the configuration file and file path is updated for each module as needed
- parallelization issues with libroadrunner. see: sys-bio/tellurium#563
- pocoMC sampler bugs, use my fork with fix. see: minaskar/pocomc#22 and my fork: https://github.com/augeorge/pocomc
More detailed API documentation is provided below:
August George, 2023