Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » SBML L2v2 specification vote #4: References to controlled vocabularies
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Ralph.Gauges


Posts: 92
Registered:
May 2004
RE: SBML L2v2 specification vote #4: References to controlled vocabularies 17 Dec '05 09:11 Go to previous messageGo to previous message

Hi Howard,

this is exactly the answer I feared was coming!
This means that there are going to be programs that rely on the sboTerm for simulation instead of reading the formula.
I can understand that it is a lot less work to parse a string then it is to parse a formula. So in the scenario where the sboTerm is not consistent with the formula, a program that parses the formula will create different simulation results than the program that only parses the sboTerm and I think this is bad for the users.
I think we should either state that the forumla if present is to be read or we should make the formula and the sboTerm mutualy exclusive for the kineticLaw, which is not a nice solution.
I think it should only be allowed to use the sboTerm to simulate the model if there is not formula present. (Can there be a kineticLaw without a formula? Since the math field is not optional, can it be empty?)
I think that it is very important to state which is the correct behavior in case of potentialy contradicting information because only one behavior can be correct here. And since it is not trivial to make a consistency check in this case, I think we should state that it is wrong to use the sboTerm to simulate the model if there is an equation present?
So this said, if there is no way to to have a kineticLaw elemtn without a formula, the sboTerm is useless at least for deterministic simulation programs?

OK, I guess after this sentence Nicolas is going to come up with the Michaelis-Menten vs. Briggs-Haldane example where you need the sboTerm to distinguish those two, but are there any other examples where this would be needed?

Ralph


-----Original Message-----
From: sbml-discuss-bounces@caltech.edu on behalf of Howard Salis
Sent: Fri 12/16/2005 8:43 PM
To: SBML Discussion List
Cc:
Subject: Re: [sbml-discuss] SBML L2v2 specification vote #4: References to controlled vocabularies
Hello,
The advantages of the sboTerm (as I understood it, but someone
please correct me if I'm wrong) are:

1) A compiled program can read in a unique identifier classifying a
reaction / species / kinetic parameter and match it to a list of
hard-coded reaction rate laws.
Without the unique identifier, the compiled program must parse the
MathML expression in the kineticLaw and repeatedly evaluate the
expression using a relatively expensive operation.

2) Two MathML expressions may be (string-wise) different, but are in
fact algebraically identical. How do you a) simplify the algebraic
expression to the least expensive form for evaluation b) test if two
MathML expressions are algebraically identical? (a) is important if
you are parsing the MathML expression and evaluating it. (b) is
important if you want to compare two models, analyzing the differences
in reaction rate laws/etc. It is also easier to label a species as
'Inhibitor' and the reaction 'Michaelis Menten Inhibition' than to parse
the MathML reaction rate law expression and identify which variable in
the MathML expression is the inhibiting species.

3) It is much easier to make a mistake in the reaction rate law than in
the sboTerm, in my opinion. There are many (in fact, infinite) ways to
write down the standard Michaelis Menten expression, but there will only
be one unique identifier for that expression.

4) Not everyone programs in an interpreted or object-oriented language.
You have to understand that most supercomputers do not use Java and new
architectures usually do not have the Python/Perl/etc interpreters
ported in a timely fashion. How often do new & useful architectures
arrive? Consider the Sony/Toshiba/IBM Cell processor and its potential
use in scientific computing.

5) Also, new (and old) simulation techniques for studying biological
systems do require a lot of computing time. Any additional costs for
evaluating algebraic expressions are big obstacles. The sboTerm removes
that obstacle. Consider most Molecular Dynamics software packages. Even
the presence of a square root in a calculation is usually eliminated via
mathematical manipulation of the expression or an approximation. Special
routines are written solely for evaluating inverse square root
expressions. These optimizations are responsible for 10-20% savings in
time which saves days/weeks of computing time on modern supercomputers.

So there are some good reasons why using the sboTerm is advantageous.
But, like you said, adding new rate laws so the whole community may use
them does require communication with the SBO database. Nicolas can
probably say more about how adding rate laws and other sboTerms to the
SBO database will be handled.


-Howard Salis


hugh.d.spence@gsk.com wrote:

>
> Ralph,
>
> My own view is that the formula should be the correct one and that
> programs should not rely on the sboTerm (which is not backwards
> compatible). But, if a program does check that they are equivalent, it
> should give a warning that they don't match. The specification does
> not have to state which is correct because everyone who uses SBML will
> make sure they have got the equation type right, won't they?
>
> I can't find it in the spec at the moment, but I think the sboTerm may
> be optional.
> 1) Otherwise how can you create a new type of rate law for a
> particular model before changing the SBO to add the law?
> 2) For backward compatibility.
>
> The advantages of having the sboTerm in the kinetic law have been
> given as speed of compilation, but I can't see why one can't compile a
> model once and then merely alter parameters in (a copy of) the
> compiled model before running, rather than automatically recompile
> thousands of times. Knowing that I could do it that way in an
> object-oriented language, I failed to follow the argument for doing
> the longer process in a loop as being more efficient.
>
>
>
> Hugh Spence
> GSK Scientific Computing and Mathematical Modelling
> Medicines Research Centre
> Gunnels Wood Road
> Stevenage
> UK
> SG1 2NY







      

SubjectPosterDate
Read Message   SBML L2v2 specification vote #4: References to con... Mike Hucka13 Dec '05 14:21
Read Message   Re: SBML L2v2 specification vote #4: References t... Ralph.Gauges15 Dec '05 06:57
Read Message   Re: SBML L2v2 specification vote #4: References to... hugh.d.spence15 Dec '05 10:02
Read Message   Re: SBML L2v2 specification vote #4: References to... Ralph.Gauges16 Dec '05 00:27
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere16 Dec '05 10:11
Read Message   Re: SBML L2v2 specification vote #4: References to... Sven Sahle19 Dec '05 04:53
Read Message   Re: SBML L2v2 specification vote #4: References to... hugh.d.spence16 Dec '05 10:56
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard16 Dec '05 11:43
Read Message   Re: SBML L2v2 specification vote #4: References to... hugh.d.spence19 Dec '05 04:00
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard19 Dec '05 09:19
Read Message   Re: SBML L2v2 specification vote #4: References to... Martin Ginkel21 Dec '05 12:26
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard21 Dec '05 15:30
Read Message   Re: SBML L2v2 specification vote #4: References t... Nicolas Le Novere16 Dec '05 01:27
Read Message   Re: SBML L2v2 specification vote #4: References t... Mike Hucka20 Dec '05 11:31
Read Message   Re: SBML L2v2 specification vote #4: References t... Nicolas Le Novere20 Dec '05 16:05
Read Message   Re: SBML L2v2 specification vote #4: References t... Mike Hucka20 Dec '05 19:42
Read Message   Re: SBML L2v2 specification vote #4: References t... bshapiro15 Dec '05 12:15
Read Message   Re: SBML L2v2 specification vote #4: References t... Mike Hucka20 Dec '05 19:50
Read Message   Re: SBML L2v2 specification vote #4: References t... Ben Bornstein21 Dec '05 09:25
Read Message   RE: SBML L2v2 specification vote #4: References to...  Ralph.Gauges17 Dec '05 09:11
Read Message   RE: SBML L2v2 specification vote #4: References to... Nicolas Le Novere19 Dec '05 08:52
Read Message   RE: SBML L2v2 specification vote #4: References to... Mike Hucka20 Dec '05 15:11
Read Message   Re: SBML L2v2 specification vote #4: References to... Ralph.Gauges21 Dec '05 02:04
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka02 Jan '06 23:33
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere03 Jan '06 00:21
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka03 Jan '06 15:30
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere04 Jan '06 03:08
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere06 Jan '06 10:37
Read Message   Re: SBML L2v2 specification vote #4: References to... Martin Ginkel05 Jan '06 01:44
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere03 Jan '06 00:50
Read Message   Re: SBML L2v2 specification vote #4: References to... hugh.d.spence05 Jan '06 05:29
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere05 Jan '06 11:01
Read Message   Re: SBML L2v2 specification vote #4: References to... hugh.d.spence06 Jan '06 02:48
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere06 Jan '06 10:32
Read Message   Re: SBML L2v2 specification vote #4: References to... hugh.d.spence03 Jan '06 04:30
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka03 Jan '06 20:55
Read Message   Re: SBML L2v2 specification vote #4: References to... bshapiro03 Jan '06 12:52
Read Message   Re: SBML L2v2 specification vote #4: References to... Stefan Hoops03 Jan '06 14:16
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka03 Jan '06 15:39
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere04 Jan '06 03:02
Read Message   Re: SBML L2v2 specification vote #4: References to... Stefan Hoops04 Jan '06 09:46
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka03 Jan '06 14:24
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere04 Jan '06 02:55
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard19 Dec '05 09:22
Read Message   Re: SBML L2v2 specification vote #4: References to... Ralph.Gauges20 Dec '05 01:48
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard20 Dec '05 11:13
Read Message   RE: SBML L2v2 specification vote #4: References to... Mike Hucka20 Dec '05 19:56
Read Message   Re: SBML L2v2 specification vote #4: References to... bshapiro20 Dec '05 20:18
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka20 Dec '05 23:55
Read Message   Re: SBML L2v2 specification vote #4: References to... hugh.d.spence21 Dec '05 02:18
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka21 Dec '05 05:48
Read Message   Re: SBML L2v2 specification vote #4: References to... bshapiro21 Dec '05 11:35
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard21 Dec '05 15:44
Read Message   Re: SBML L2v2 specification vote #4: References to... Stefan Hoops22 Dec '05 07:30
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard22 Dec '05 09:22
Read Message   Re: SBML L2v2 specification vote #4: References to... Stefan Hoops22 Dec '05 10:12
Read Message   Re: SBML L2v2 specification vote #4: References to... Pedro Mendes22 Dec '05 10:23
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard22 Dec '05 11:18
Read Message   Re: SBML L2v2 specification vote #4: References to... zucker22 Dec '05 11:54
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard22 Dec '05 12:13
Read Message   Re: SBML L2v2 specification vote #4: References to... Ralph.Gauges23 Dec '05 01:02
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka02 Jan '06 20:49
Read Message   Partial compliance [was] SBML L2v2 specification ... Nicolas Le Novere03 Jan '06 00:08
Read Message   Re: SBML L2v2 specification vote #4: References to... bshapiro22 Dec '05 12:05
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard22 Dec '05 12:21
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka23 Dec '05 09:07
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard23 Dec '05 10:07
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere22 Dec '05 05:23
Read Message   Re: SBML L2v2 specification vote #4: References to... Stefan Hoops22 Dec '05 08:25
Read Message   Re: SBML L2v2 specification vote #4: References to... Nicolas Le Novere22 Dec '05 10:19
Read Message   Re: SBML L2v2 specification vote #4: References to... Stefan Hoops22 Dec '05 10:31
Read Message   Re: SBML L2v2 specification vote #4: References to... bshapiro22 Dec '05 10:58
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka22 Dec '05 12:29
Read Message   Re: SBML L2v2 specification vote #4: References to... Darren J Wilkinson23 Dec '05 12:12
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka23 Dec '05 15:46
Read Message   Re: SBML L2v2 specification vote #4: References to... Hiroyuki Kuwahara24 Dec '05 22:01
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka03 Jan '06 00:33
Read Message   Re: SBML L2v2 specification vote #4: References to... Hiroyuki Kuwahara04 Jan '06 10:27
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka04 Jan '06 11:49
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka02 Jan '06 22:23
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka02 Jan '06 20:20
Read Message   Re: SBML L2v2 specification vote #4: References to... Howard21 Dec '05 10:29
Read Message   Re: SBML L2v2 specification vote #4: References to... Sven Sahle22 Dec '05 01:56
Read Message   RE: SBML L2v2 specification vote #4: References to... Nicolas Le Novere21 Dec '05 10:08
Read Message   RE: SBML L2v2 specification vote #4: References to... zucker21 Dec '05 11:02
Read Message   Re: SBML L2v2 specification vote #4: References to... Ralph.Gauges22 Dec '05 02:53
Read Message   Re: SBML L2v2 specification vote #4: References to... Ralph.Gauges22 Dec '05 02:57
Read Message   Re: SBML L2v2 specification vote #4: References to... Stefan Hoops22 Dec '05 08:10
Read Message   RE: SBML L2v2 specification vote #4: References to... Herbert Sauro22 Dec '05 13:08
Read Message   Re: SBML L2v2 specification vote #4: References to... zucker23 Dec '05 22:28
Read Message   Re: SBML L2v2 specification vote #4: References to... Mike Hucka26 Dec '05 09:11
Read Message   Results of SBML L2v2 specification survey vote #4 Mike Hucka04 Jan '06 23:37
Previous Topic:voting process
Next Topic:Voting status & upcoming deadlines
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.