GithubHelp home page GithubHelp logo

Comments (12)

exaexa avatar exaexa commented on September 21, 2024

This SBML uses a parameter-dependent definition of flux upper and lower bounds:

    <listOfParameters>
      <parameter id="FB1N1000" value="-1000" constant="true"/>
      <parameter id="FB2N0" value="0" constant="true"/>
      <parameter id="FB3N1000" value="1000" constant="true"/>
    </listOfParameters>

later:

      <reaction metaid="R_26DAPLLAT" id="R_26DAPLLAT" name="L,L-diaminopimelate aminotransferase"
       reversible="true" fast="false"
       fbc:lowerFluxBound="FB1N1000"
       fbc:upperFluxBound="FB3N1000">

This is not super-convenient because there are then multiple sources of the lower/upper bounds. I'll see what I can do.

from cobrexa.jl.

htpusa avatar htpusa commented on September 21, 2024

This looks to be the format output by the COBRA Toolbox function writeSBML.

from cobrexa.jl.

exaexa avatar exaexa commented on September 21, 2024

Do we need to represent the information about the parameter names, i.e. know that the value "-1000" is in fact named FB1N1000 ?

from cobrexa.jl.

htpusa avatar htpusa commented on September 21, 2024

I don't think so. I don't even know what "FB1N" is supposed to mean.

from cobrexa.jl.

exaexa avatar exaexa commented on September 21, 2024

OK, hopefully I'll be able to find the right SBML functions to at least get the FB1N :D

from cobrexa.jl.

exaexa avatar exaexa commented on September 21, 2024

Hm, do the FBC constraints have any units? It doesn't seem so to me, but that's very different from the careful handling of units that can be seen with non-FBC specified fluxes...

from cobrexa.jl.

htpusa avatar htpusa commented on September 21, 2024

It might help to look at the COBRA Toolbox functions writeSBML and readSBML (and readCbModel). COBRA outputs this format by default.

from cobrexa.jl.

htpusa avatar htpusa commented on September 21, 2024

They should have units? But I agree that the file doesn't really say that. Is it implicit?

http://co.mbine.org/specifications/sbml.level-3.version-1.fbc.version-2.release-1.pdf

from cobrexa.jl.

exaexa avatar exaexa commented on September 21, 2024

that's a bit opaque to me, for example your model has a unit definition in it (mmol per ...), but the unit isn't actually used anywhere. (well, technically the units are completely irrelevant for this kind of stuff, so whatever).

Can you try this commit? LCSB-BioCore/SBML.jl@86df302

from cobrexa.jl.

htpusa avatar htpusa commented on September 21, 2024

Bounds look to be working, objective is still empty.

from cobrexa.jl.

exaexa avatar exaexa commented on September 21, 2024

fixed now, I'll make a PR with that

from cobrexa.jl.

exaexa avatar exaexa commented on September 21, 2024

Closed by LCSB-BioCore/SBML.jl#23

from cobrexa.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.