Skip to content

Commit

Permalink
Merge pull request #417 from biosustain/methionine_bugs
Browse files Browse the repository at this point in the history
Bug: fix a few small errors in example inputs
  • Loading branch information
teddygroves authored Feb 3, 2023
2 parents 2113a0c + 99dd705 commit 0a8ccd6
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/maud/data/example_inputs/linear/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ steady_state_threshold_abs = 1e-6

[cmdstanpy_config]
refresh = 1
iter_warmup = 40
iter_sampling = 40
iter_warmup = 300
iter_sampling = 300
chains = 4
save_warmup = true
seed = 1234
Expand Down
16 changes: 16 additions & 0 deletions src/maud/data/example_inputs/methionine/inits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,19 @@ dgf = [
{metabolite = "ser-L", init = -216.712},
{metabolite = "thf", init = 108.366},
]
psi = [
{experiment = "dataset1", init = 0},
{experiment = "dataset10", init = 0},
{experiment = "dataset11", init = 0},
{experiment = "dataset12", init = 0},
{experiment = "dataset2", init = 0},
{experiment = "dataset3", init = 0},
{experiment = "dataset4", init = 0},
{experiment = "dataset5", init = 0},
{experiment = "dataset6", init = 0},
{experiment = "dataset7", init = 0},
{experiment = "dataset8", init = 0},
{experiment = "dataset9", init = 0},
{experiment = "validation", init = 0},

]
55 changes: 37 additions & 18 deletions src/maud/data/example_inputs/methionine/methionine_cycle.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ volume = 1.0
[[reaction]]
id = "METAT"
name = "Methionine adenosyltransferase"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = -1.0
transported_charge = 0.0

Expand All @@ -20,7 +20,7 @@ amet_c = 1.0
[[reaction]]
id = "met-L-source"
name = "met-L-source"
mechanism = "DRAIN"
mechanism = "drain"
water_stoichiometry = 0.0
transported_charge = 0.0

Expand All @@ -30,7 +30,7 @@ met-L_c = 1.0
[[reaction]]
id = "METH"
name = "Methylase"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = 0.0
transported_charge = 0.0

Expand All @@ -40,7 +40,7 @@ ahcys_c = 1.0
[[reaction]]
id = "GNMT"
name = "Glycine N-methyltransferase"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = 0.0
transported_charge = 0.0

Expand All @@ -52,7 +52,7 @@ sarcs_c = 1.0
[[reaction]]
id = "AHC"
name = "S-adenosylhomocysteine hydrolase"
mechanism = "REVERSIBLE_MICHAELIS_MENTEN"
mechanism = "reversible_michaelis_menten"
water_stoichiometry = -1.0
transported_charge = 0.0

Expand All @@ -63,7 +63,7 @@ hcys-L_c = 1.0
[[reaction]]
id = "MS"
name = "Methionine Synthase"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = 0.0
transported_charge = 0.0

Expand All @@ -75,7 +75,7 @@ thf_c = 1.0
[[reaction]]
id = "BHMT"
name = "Betaine-homocysteine methyltransferase"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = 0.0
transported_charge = 0.0

Expand All @@ -87,7 +87,7 @@ dmgly_c = 1.0
[[reaction]]
id = "CBS"
name = "Cystathionine beta synthase"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = 1.0
transported_charge = 0.0

Expand All @@ -98,7 +98,7 @@ cyst-L_c = 1.0
[[reaction]]
id = "MTHFR"
name = "Methylenetetrahydrofolate reductase"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = 0.0
transported_charge = 0.0

Expand All @@ -110,7 +110,7 @@ nadp_c = 1.0
[[reaction]]
id = "PROT"
name = "Protein Synthesis"
mechanism = "IRREVERSIBLE_MICHAELIS_MENTEN"
mechanism = "irreversible_michaelis_menten"
water_stoichiometry = 0.0
transported_charge = 0.0

Expand Down Expand Up @@ -209,78 +209,97 @@ reaction_id = "PROT"
[[metabolite]]
id = "met-L"
name = "methionine"
inchi_key = "FFEARJCKVFRZRR-BYPYZUCNSA-N" # source http://bigg.ucsd.edu/universal/metabolites/met__L

[[metabolite]]
id = "atp"
name = "adenosine triphosphate"
inchi_key = "ZKHQWZAMYRWXGA-KQYNXXCUSA-J" # source http://bigg.ucsd.edu/universal/metabolites/atp

[[metabolite]]
id = "pi"
name = "orthophosphate"
inchi_key = "NBIIXXVUZAFLBC-UHFFFAOYSA-L" # source http://bigg.ucsd.edu/universal/metabolites/ip

[[metabolite]]
id = "ppi"
name = "pyrophosphate"
inchi_key = "XPPKVPWEQAFLFU-UHFFFAOYSA-K" # source http://bigg.ucsd.edu/universal/metabolites/ppi

[[metabolite]]
id = "amet"
name = "adenosyl methionine"
inchi_key = "MEFKEPWMEQBLKI-AIRLBKTGSA-O" # source http://bigg.ucsd.edu/universal/metabolites/amet

[[metabolite]]
id = "ahcys"
name = "adenosyl homocysteine"
inchi_key = "ZJUKTBDSGOFHSH-WFMPWKQPSA-N" # source http://bigg.ucsd.edu/universal/metabolites/ahcys

[[metabolite]]
id = "gly"
name = "glycine"
inchi_key = "DHMQDGOQFOQNFH-UHFFFAOYSA-N" # source http://bigg.ucsd.edu/universal/metabolites/gly

[[metabolite]]
id = "sarcs"
name = "sarcosine"
inchi_key = "FSYKKLYZXJSNPZ-UHFFFAOYSA-N" # source http://bigg.ucsd.edu/universal/metabolites/sarcs

[[metabolite]]
id = "hcys-L"
name = "homocysteine"
inchi_key = "FFFHZYDWPBMWHY-UHFFFAOYSA-N" # source http://bigg.ucsd.edu/universal/metabolites/hcys__L

[[metabolite]]
id = "adn"
name = "adenosine"
inchi_key = "OIRDTQYFTABQOQ-KQYNXXCUSA-N" # source http://bigg.ucsd.edu/universal/metabolites/adn

[[metabolite]]
id = "thf"
name = "tetrahydrofolate"
inchi_key = "MSTNYGQPCMXVAQ-RYUDHWBXSA-L" # source http://bigg.ucsd.edu/universal/metabolites/thf

[[metabolite]]
id = "5mthf"
name = "5-methyltetrahydrofolate"
inchi_key = "ZNOVTXRBGFNYRX-STQMWFEESA-L" # source http://bigg.ucsd.edu/universal/metabolites/5mthf

[[metabolite]]
id = "mlthf"
name = "5,10-methylenetetrahydrofolate"
inchi_key = "QYNUQALWYRSVHF-OLZOCXBDSA-L" # source http://bigg.ucsd.edu/universal/metabolites/mlthf

[[metabolite]]
id = "glyb"
name = "betaine"
inchi_key = "KWIUHFFTVRNATP-UHFFFAOYSA-N" # source http://bigg.ucsd.edu/universal/metabolites/glyb

[[metabolite]]
id = "dmgly"
name = "dimethyl-glycine"

inchi_key = "FFDGPVCHZBVARC-UHFFFAOYSA-N" # source http://bigg.ucsd.edu/universal/metabolites/dmgly

[[metabolite]]
id = "ser-L"
name = "serine"
inchi_key = "MTCFGRXMJLQNBG-REOHCLBHSA-N" # source http://bigg.ucsd.edu/universal/metabolites/ser__L

[[metabolite]]
id = "nadp"
name = "nadp"
inchi_key = "XJLXINKUBYWONI-NNYOXOHSSA-K" # source http://bigg.ucsd.edu/universal/metabolites/nadp

[[metabolite]]
id = "nadph"
name = "nadph"
inchi_key = "ACFIXJIJDZMPPO-NNYOXOHSSA-J" # source http://bigg.ucsd.edu/universal/metabolites/nadph

[[metabolite]]
id = "cyst-L"
name = "cystathionine"
inchi_key = "ILRYLPWNYFXEMH-WHFBIAKZSA-N" # source http://bigg.ucsd.edu/universal/metabolites/cyst__L

[[metabolite_in_compartment]]
metabolite_id = "met-L"
Expand Down Expand Up @@ -381,43 +400,43 @@ balanced = false
enzyme_id = "MAT3"
metabolite_id = "amet"
compartment_id = "c"
modification_type = "ACTIVATION"
modification_type = "activation"

[[allostery]]
enzyme_id = "MAT3"
metabolite_id = "met-L"
compartment_id = "c"
modification_type = "ACTIVATION"
modification_type = "activation"

[[allostery]]
enzyme_id = "GNMT1"
metabolite_id = "amet"
compartment_id = "c"
modification_type = "ACTIVATION"
modification_type = "activation"

[[allostery]]
enzyme_id = "GNMT1"
metabolite_id = "mlthf"
compartment_id = "c"
modification_type = "INHIBITION"
modification_type = "inhibition"

[[allostery]]
enzyme_id = "CBS1"
metabolite_id = "amet"
compartment_id = "c"
modification_type = "ACTIVATION"
modification_type = "activation"

[[allostery]]
enzyme_id = "MTHFR1"
metabolite_id = "amet"
compartment_id = "c"
modification_type = "INHIBITION"
modification_type = "inhibition"

[[allostery]]
enzyme_id = "MTHFR1"
metabolite_id = "ahcys"
compartment_id = "c"
modification_type = "ACTIVATION"
modification_type = "activation"

[[competitive_inhibition]]
enzyme_id = "MAT1"
Expand Down

0 comments on commit 0a8ccd6

Please sign in to comment.