Skip to content

Issue in updating kcat for specific enzymes? #3

@hongzhonglu

Description

@hongzhonglu

Hello @oftadehomid, I am still trying to use ETFL model of yeast. I find it is difficult to update the kcat for specific enzyme using the following code:

yeast is the ETFL model

yeast.reactions.r_1714.lower_bound = -2
yeast.reactions.r_1714.upper_bound = 0
yeast.objective = growth_reaction_id
yeast.objective.direction = 'max'
sol = yeast.optimize()

yeast.enzymes.get_by_id('YAL038W_enzyme').kcat_fwd = 100
yeast.enzymes.get_by_id('YAL038W_enzyme').kcat_bwd = 100

yeast.enzymes.get_by_id('YOR347C_enzyme').kcat_fwd = 100
yeast.enzymes.get_by_id('YOR347C_enzyme').kcat_bwd = 100

update variable and constraints attributes?

rid = 'r_0962'
r = yeast.reactions.get_by_id(rid)
yeast.apply_enzyme_catalytic_constraint(r)
yeast._push_queue()
yeast.regenerate_constraints()
yeast.regenerate_variables()
sol2 = yeast.optimize()

Here, though I update the kcat for YOR347C_enzyme, however the related constraints information from the model is not updated. Could you give me some suggestions about this?
Thanks a lot!

Best wishes,
Hongzhong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions