Skip to content

Commit

Permalink
Create gam.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JustKong13 authored Apr 16, 2021
1 parent 7b0de7d commit d5f0559
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions added_reactions/gam.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# glucosamine (gam) reactions

# EC Number 3.1.3.- https://metacyc.org/META/NEW-IMAGE?type=REACTION&object=RXN-17745

gam6p = model.metabolites.get_by_id("gam6p_c")
h2o = model.metabolites.get_by_id("h2o_c")
gam = model.metabolites.get_by_id("gam_c")
pi = model.metabolites.get_by_id("pi_c")

phosphoric_monoester_hydrolases = Reaction("Phosphoric-Monoester_hydrolases")
phosphoric_monoester_hydrolases.name = "Phosphoric Monoester Hydrolases"
phosphoric_monoester_hydrolases.add_metabolites(
{
gam6p: -1.0,
h2o: -1.0,
gam: 1.0,
pi: 1.0
}
)

model.add_reactions([phosphoric_monoester_hydrolases])
cobra.io.save_json_model(model, "./models/iML1515_gam.json")

0 comments on commit d5f0559

Please sign in to comment.