Skip to content

Commit 26cc427

Browse files
committed
update
1 parent 1b9584d commit 26cc427

13 files changed

+3200
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Readme
2+
3+
Supporting code for Bayesian Transporter research - still under development.
4+
5+
### Todo:
6+
- update installation guide
7+
- update examples
8+
- refactor MLE tuning code
9+
10+
### Usage:
11+
for MLE use `run_optimizer.py`, for Bayesian use `run_emcee.py` or `run_pocomc.py`
12+
13+
### Limitations / issues
14+
- parallelization issues with libroadrunner. see: https://github.com/sys-bio/tellurium/issues/563
15+
- pocoMC sampler bugs, use my fork with fix. see: https://github.com/minaskar/pocomc/issues/22 and my fork: https://github.com/augeorge/pocomc
16+
17+
August George, 2023
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
run_name: "antiporter_1_1_12D_cycle1_experiment1_0v"
2+
data_file: "./example/model1_experiment1_current_trace.csv"
3+
model_file: "./example/antiporter_1_1_cycle1_0v_SBML.xml"
4+
random_seed: 42
5+
6+
solver_arguments:
7+
buffer_species_names: ["conc_H_out", "conc_S_out"]
8+
buffer_concentration_sequence: [[1.e-7,1.e-3],[0.5e-7,1.0e-3],[1.e-7,1.e-3],
9+
]
10+
buffer_concentration_scale: [1,1]
11+
time_per_stage: 1
12+
n_points_per_stage: 200
13+
remove_first_n: 1
14+
remove_after_n: 100
15+
rate_constant_names: ["k1_f_0", "k1_r_0", "k2_f_0", "k2_r_0", "k3_f_0", "k3_r_0", "k4_f_0", "k4_r_0", "k5_f_0", "k5_r_0", "k6_f_0"]
16+
species_labels: ["conc_OF", "conc_OF_Hb", "conc_IF_Hb", "conc_IF_Hb_Sb", "conc_IF_Sb", "conc_OF_Sb", "conc_H_in", "conc_S_in"]
17+
species_initial_concentrations: [ 0.0004369941792375325, 0, 0, 0, 0, 0, 1.e-7, 1.e-3]
18+
species_initial_concentrations_scale: [1, 1, 1, 1, 1, 1, 1, 1]
19+
solver_absolute_tolerance: 1.e-15
20+
solver_relative_tolerance: 1.e-12
21+
roadrunner_solver_output_selections: ["time","I_t_total"]
22+
23+
24+
bayesian_inference:
25+
extended: False
26+
parameters:
27+
- name: "log10_k1_f"
28+
bounds: [6.0,12]
29+
nominal: 10
30+
- name: "log10_k1_r"
31+
bounds: [-1, 5]
32+
nominal: 3
33+
- name: "log10_k2_f"
34+
bounds: [-2, 4]
35+
nominal: 2
36+
- name: "log10_k2_r"
37+
bounds: [-2, 4]
38+
nominal: 2
39+
- name: "log10_k3_f"
40+
bounds: [3,9]
41+
nominal: 7
42+
- name: "log10_k3_r"
43+
bounds: [-1, 5]
44+
nominal: 3
45+
- name: "log10_k4_f"
46+
bounds: [-1, 5]
47+
nominal: 3
48+
- name: "log10_k4_r"
49+
bounds: [6,12]
50+
nominal: 10
51+
- name: "log10_k5_f"
52+
bounds: [-2,4]
53+
nominal: 2
54+
- name: "log10_k5_r"
55+
bounds: [-2,4]
56+
nominal: 2
57+
- name: "log10_k6_f"
58+
bounds: [-1,5]
59+
nominal: 3
60+
- name: "log10_sigma"
61+
bounds: [-11, -9]
62+
nominal: -10.5
63+
64+
mcmc_algorithm: "pocomc" # "pocomc" or "emcee"
65+
mcmc_algorithm_arguments:
66+
n_walkers: 1000
67+
n_steps: 10000
68+
thin: 10
69+
burn_in: 5000
70+
ess: 0.95
71+
gamma: 0.75
72+
additional_samples: 2000
73+
n_max: 1000
74+
75+
optimization:
76+
tuning: True
77+
n_tuning_steps: 100
78+
method: "SLSQP"
79+
n_replicas: 10
80+

0 commit comments

Comments
 (0)