SysBioChalmers / yeast-GEM

The consensus GEM for Saccharomyces cerevisiae
http://sysbiochalmers.github.io/yeast-GEM/
Creative Commons Attribution 4.0 International
96 stars 46 forks source link

redundant bracket in GPR rules #202

Closed feiranl closed 4 years ago

feiranl commented 5 years ago

Description of the issue:

Expected feature/value/output:

Current feature/value/output:

I hereby confirm that I have:

feiranl commented 5 years ago

@BenjaSanchez @edkerk @hongzhonglu Should we get rid of those redundant brackets?

edkerk commented 5 years ago

These redundant brackets can indeed be removed.

BenjaSanchez commented 4 years ago

@feiranl this is actually not a problem with the model, as the rules are not stored with any brackets in the .xml file:

        <fbc:geneProductAssociation>
          <fbc:or>
            <fbc:geneProductRef fbc:geneProduct="G_YGR143W"/>
            <fbc:geneProductRef fbc:geneProduct="G_YPR159W"/>
          </fbc:or>

so it is instead a redundancy that cobratoolbox introduces, actually in all rules that have more than one gene, not just the one you mention. Note however that if you convert the model to a RAVEN model using ravenCobraWrapper.m all those redundant parenthesis go away, see below (left is COBRA, right is RAVEN):

image