SBRG / bigg_models

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

`iRC1080` is not valid SBML due to no flux objective #388

Open jonrkarr opened 2 years ago

jonrkarr commented 2 years ago

Can be fixed by replacing this

<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_auto">
  <fbc:objective fbc:id="obj_auto" fbc:type="maximize">
    <fbc:listOfFluxObjectives>
      <fbc:fluxObjective fbc:reaction="R_BIOMASS_Chlamy_auto" fbc:coefficient="1"/>
    </fbc:listOfFluxObjectives>
  </fbc:objective>
  <fbc:objective fbc:id="obj_mixo" fbc:type="maximize">
    <fbc:listOfFluxObjectives>
      <fbc:fluxObjective fbc:reaction="R_BIOMASS_Chlamy_mixo" fbc:coefficient="1"/>
    </fbc:listOfFluxObjectives>
  </fbc:objective>
  <fbc:objective fbc:id="obj_hetero" fbc:type="maximize">
    <fbc:listOfFluxObjectives>
      <fbc:fluxObjective fbc:reaction="R_BIOMASS_Chlamy_hetero" fbc:coefficient="1"/>
    </fbc:listOfFluxObjectives>
  </fbc:objective>
</fbc:listOfObjectives>

With this change, the model seems to simulate correctly.