| Author | Topic |
Posts: 469
Registered: October 2003
|
|
about units
|
29 Apr '05 01:37
|
 |
|
In order to build the first two releases of BioModels database, we
went through about 50 models directly expressed in SBML Level2, or
converted from SBML Level1. One problem we almost systematically
encountered was the inaccuracy of units. Basically, the units are not
defined, or redefined. This results in values such as 0.45 millimole
per hour directly printed as such, and therefore converted by an SBML
reader into 0.45 mole per second.
Could-I suggest as a best practise for SBML software developers the
following solutions, by order of preference:
(1)
Convert all the values in default built-in units before writing the
SBML. You'll find the default built-in units at:
http://www.sbml.org/specifications/sbml-level-2/version-1/html/sbml-level-2.html#SECTION00044300000000000000
No unitDefinition needed.
(2)
Redefine the built-in units. The following block change the default
"substance" from mole to millimole and the default "time" to hour.
<listOfUnitDefinitions>
<unitDefinition id="substance" name="millimole">
<listOfUnits>
<unit kind="mole" scale="-3"/>
</listOfUnits>
</unitDefinition>
<unitDefinition id="time" name="heure (new default)">
<listOfUnits>
<unit kind="second" multiplier="3600"/>
</listOfUnits>
</unitDefinition>
</listOfUnitDefinitions>
No extra unitDefinition are needed if units are consistent all over
the model.
(3) Define correct units, and use them consistently all over the
model. It is handy if all the amounts are expressed in the same unit,
as all the time and all the spaces.
\begin{flame}
Currently:
Name Possible Scalable Units Default Units
======================================================
volume litre, cubic metre litre
area square metre square metre
length metre metre
Why not changing the default volume from litre to cubic metre?
\end{flame}
\begin{bigfire}
Why do we need all those units? Could-we imagine a situation where
SBML files would be expressed only in SI units, and the software would
do the necessary conversions into the biologist loved units?
\end{bigfire}
--
Nicolas LE NOVÈRE, Computational Neurobiology,
EMBL-EBI, Wellcome-Trust Genome Campus, Hinxton, Cambridge, CB10 1SD, UK
Tel: +44(0)1223 494 521, Fax: +44(0)1223 494 468, Mob: +33(0)689218676
http://www.ebi.ac.uk/~lenov AIM screen name: nlenovere
|
|
|