SBRG / bigg_models

The BiGG Models website server
http://bigg.ucsd.edu
Other
79 stars 18 forks source link

`iMM1415` is not valid SBML due to no flux objective #387

Open jonrkarr opened 3 years ago

jonrkarr commented 3 years ago

iAT_PLT_636 is not valid SBML because there is no flux objective.

jonrkarr commented 3 years ago

This can be resolved by setting the objective to R_BIOMASS_mm_1_no_glygln by replacing

<fbc:listOfObjectives fbc:activeObjective="obj">
  <fbc:objective fbc:id="obj" fbc:type="maximize">
    <fbc:listOfFluxObjectives/>
  </fbc:objective>
</fbc:listOfObjectives>

with

<fbc:listOfObjectives fbc:activeObjective="obj">
  <fbc:objective fbc:id="obj" fbc:type="maximize">
    <fbc:listOfFluxObjectives>
      <fbc:fluxObjective fbc:reaction="R_BIOMASS_mm_1_no_glygln" fbc:coefficient="1"/>
    </fbc:listOfFluxObjectives>
  </fbc:objective>
</fbc:listOfObjectives>

With that change, the model appears to simulate correctly.