Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf ·...
Transcript of Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf ·...
![Page 1: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/1.jpg)
Putting state-variables on SBML entities
![Page 2: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/2.jpg)
Why?
The function of biological entities is modified by “internal” variables. For instance, function of macromolecules can depend on:- alternative conformations- covalent modifications- non-covalent binding- etc.
The result is a combinatorial explosion of species and reactions
We may want to track the values of the variables
![Page 3: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/3.jpg)
Molecule with multiple state-variables
ATP
Thr286P
Thr306P
Calmodulinbinding site
![Page 4: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/4.jpg)
Polymeric assemblies
![Page 5: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/5.jpg)
Combinatorial explosion
PP
ATP
P
P
P
ATP
CaM P
P
P
ATP
CaM
P
P
P
ATP
CaM
P PP
ATPCaM
P
PATP
CaM
CaMPP
ATP CaM
P
P
ATP
CaM P
PATP
CaM
P
P
ATP
CaM
P P
ATPCaM
P
PATP
CaM
5x12 state variables=
1 152 900 000 000 000 000 states
(1 billion of billion)
![Page 6: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/6.jpg)
Multistate reactions
???0???rate
'?' Flags do not affect the reaction
???1???
![Page 7: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/7.jpg)
Multistate reactions
???0???
f(rate,corr(0,0)
)
'?' Flags do not affect the reaction
only 4 species are needed instead of 128
only 2 reactions are needed instead of 64
???1???
0??0???
1??0???
0??1???
1??1???
rate
f(rate,corr(1,0)
)
![Page 8: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/8.jpg)
Tracking state-variables
0 2.5 5 7.5 10 12.5 15 17.5 200
50
100
150
200
250
300
350
400
450open
P286
P306
calm_bound
time [s]
# of
CaM
KII
mol
ecul
es
+calm -calm
# a
ctiv
e m
onom
ers
![Page 9: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/9.jpg)
Proposal for a Level 3 extension
http://www.ebi.ac.uk/compneur-srv/sbml/proposals/multistatesNEW.pdf
![Page 10: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/10.jpg)
Species with state-variables
species a
variable A
variable B
X
Y
Zvariable B
variable C
![Page 11: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/11.jpg)
Example of a species with state-variables
CaMKII
activ
inactive
active
inhibited
T286unphos
phos
![Page 12: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/12.jpg)
complex v
Multi-component species with state-variables
species u
variable A
variable B
X
Y
Zvariable B
variable C
variable A
variable B
X
Y
Zvariable B
variable Cvariable I
variable B
M
N
Ovariable J
![Page 13: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/13.jpg)
SpeciesType: universe of possibles
![Page 14: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/14.jpg)
SpeciesType: universe of possibles
<speciesType id="CaMKII" name="Calcium/Calmodulin Kinase II"> <listOfStateVariables> <stateVariable id="activ" name="activity"> <listOfPossibleStateVariableValues> <possibleStateVariableValue id="inact" name="inactive" /> <possibleStateVariableValue id="act" name="active" /> <possibleStateVariableValue id="inhib" name="inhibited"/> </listOfPossibleStateVariableValues> </stateVariable> <stateVariable id="T286" name="threonine 286"> <listOfPossibleStateVariableValues> <possibleStateVariableValue id="unphos" name="nonphosphorylated"/> <possibleStateVariableValue id="phos" name="phosphorylated" /> </listOfPossibleStateVariableValues> </stateVariable> </listOfStateVariables></speciesType>
Red is Level 2
![Page 15: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/15.jpg)
SpeciesInstance: A particular set of states
![Page 16: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/16.jpg)
Species: presence at the start of a simulation
![Page 17: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/17.jpg)
<species id="K_PSD" name="CaMKII in postsynaptic density" speciesType="CaMKII" compartment="PSD" initialAmount="500"> <listOfInitialSpeciesInstances> <initialSpeciesInstance initialProportion="0.9" > <listOfStateVariableInstances> <stateVariableInstance stateVariable="activ" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="inact" /> </listOfStateVariableValues> </stateVariableInstance> <stateVariableInstance stateVariable="T286" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="unphos" /> </listOfStateVariableValues> </stateVariableInstance> </listOfStateVariableInstances> </initialSpeciesInstance> <initialSpeciesInstance initialProportion="0.1" > <listOfStateVariableInstances> <stateVariableInstance stateVariable="activ" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="act" /> </listOfStateVariableValues> </stateVariableInstance> <stateVariableInstance stateVariable="T286" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="unphos" /> </listOfStateVariableValues> </stateVariableInstance> </listOfStateVariableInstances> </initialSpeciesInstance> </listOfInitialSpeciesInstances></species>
Species: presence at the start of a simulation
![Page 18: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/18.jpg)
Reaction with state-variables
CaMKII
activ
inactive
T286unphos
CaMKII
activ
inactive
active
T286
phos
0.1
0.9
1
![Page 19: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/19.jpg)
Reaction
<reaction id=”rPhosp”> <listOfReactants> <speciesReference species="K_PSD"> ... </speciesReference> </listOfReactants> <listOfProducts> <speciesReference species="K_PSD"> ... </speciesReference> </listOfProducts> <kineticLaw> <math xmlns="http://www.w3.org/1998/Math/MathML"> <apply> <times/> <ci>kon</ci> <ci>K_PSD</ci> <ci>cell</ci> </apply> </math> </kineticLaw></reaction>
![Page 20: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/20.jpg)
SimpleSpeciesReference: states that affect
![Page 21: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/21.jpg)
SimpleSpeciesReference: states that affect
<listOfReactants> <speciesReference species="K_PSD"> <listOfReactingSpeciesInstances> <reactingSpeciesInstance> <listOfStateVariableInstances> <stateVariableInstance stateVariable="activ" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="inact" /> </listOfStateVariableValues> </stateVariableInstance> <stateVariableInstance stateVariable="T286" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="unphosp" /> </listOfStateVariableValues> </stateVariableInstance> </listOfStateVariableInstances> <speciesInstanceInfluence> <math xmlns="http://www.w3.org/1998/Math/MathML"> <apply> <times/> <ci>rPhosp</ci> <ci>Prel</ci </apply> </math> <listOfParameters> <parameter id="Prel" value="0"> </listOfParameters> </speciesInstanceInfluence> </reactingSpeciesInstance> </listOfReactingSpeciesInstances> </speciesReference></listOfReactants>
![Page 22: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/22.jpg)
SpeciesReference: state affected
![Page 23: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/23.jpg)
SpeciesReference: state affected
<listOfProducts> <speciesReference species="K_PSD"> <listOfNascentSpeciesInstances> <nascentSpeciesInstance proportion="0.9"> <listOfStateVariableInstances> <stateVariableInstance stateVariable="activ" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="act" /> </listOfStateVariableValues> </stateVariableInstance> <stateVariableInstance stateVariable="T286" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="phosp" /> </listOfStateVariableValues> </stateVariableInstance> </listOfStateVariableInstances> </nascentSpeciesInstance> <nascentSpeciesInstance proportion="0.1"> <listOfStateVariableInstances> <stateVariableInstance stateVariable="activ" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="inact" /> </listOfStateVariableValues> </stateVariableInstance> <stateVariableInstance stateVariable="T286" > <listOfStateVariableValues> <stateVariableValue possibleStateVariableValue="phosp" /> </listOfStateVariableValues </stateVariableInstance> </listOfStateVariableInstances> </nascentSpeciesInstance> </listOfNascentSpeciesInstances> </speciesReferenc></listOfProducts>
![Page 24: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/24.jpg)
Multi-component with state-variables
T286:unphos
![Page 25: Putting state-variables on SBML entitiessbml.org/images/2/26/SBMLmulti_Lenov_stateVariables.pdf · Combinatorial explosion P P ATP P P P A TP Ca M P P P AT P C aM P P P A TP C aM](https://reader034.fdocuments.in/reader034/viewer/2022042222/5ec8ee835d18d3470e653649/html5/thumbnails/25.jpg)
Implementation
Reduced version in proprietary annotation in StochSim's namespace: Fork of SBMLeditor as StochSim SBML import.
Complete version of the extension will be added to “regular” SBMLeditor, to benchmark it.