# Team:Groningen/Brainstorm/Modelling

### From 2009.igem.org

m (→{{anchor|ModellingAGeneticCircuit}}Modelling a Genetic Circuit - TODO) |
(Some small updates.) |
||

(16 intermediate revisions not shown) | |||

Line 65: | Line 65: | ||

It might be interesting to use JavaScript to present simulation results. This would allow for some degree of interaction (like resizing graphs, linked views, etc.) and may even make it somewhat easier to use graphs, we'd simply have some on-line repository of simulation results (a spreadsheet for example) and we could select which graphs to use on the Wiki. | It might be interesting to use JavaScript to present simulation results. This would allow for some degree of interaction (like resizing graphs, linked views, etc.) and may even make it somewhat easier to use graphs, we'd simply have some on-line repository of simulation results (a spreadsheet for example) and we could select which graphs to use on the Wiki. | ||

- | Below an example of a JavaScript generated graph is shown, based on [http://spreadsheets.google.com/pub?key=rRnyFyi-bgqsjT3SdJBdKKw this spreadsheet]. Note that the two views of the data are linked (although at this time both the kind of graph and the link is not optimal) and that it would be possible to create templates for creating these linked graphs. The current demo is based on | + | Below an example of a JavaScript generated graph is shown, based on [http://spreadsheets.google.com/pub?key=rRnyFyi-bgqsjT3SdJBdKKw this spreadsheet]. Note that the two views of the data are linked (although at this time both the kind of graph and the link is not optimal) and that it would be possible to create templates for creating these linked graphs. The current demo is based on [http://www.dojotoolkit.org/ the Dojo Toolkit] as it has more advanced charting capabilities at this moment than Google visualization (and it seems to be supported well in different browsers). |

- | + | {{GraphHeader}} | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | {{graph|Team:Groningen/Graphs/Test}} | |

- | + | {{graph|Team:Groningen/Graphs/Test2}} | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | // | + | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | } | + | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

Questions that would have to be resolved include: | Questions that would have to be resolved include: | ||

* How can we make this easy to use? | * How can we make this easy to use? | ||

+ | ** The graphs can now be defined using a more or less normal Wiki page and allow the use of templates. | ||

* What kinds of plots do we need? | * What kinds of plots do we need? | ||

* How flexible do we need it to be? (Layout-wise.) | * How flexible do we need it to be? (Layout-wise.) | ||

* Can we make it that flexible? (And still easy to use.) | * Can we make it that flexible? (And still easy to use.) | ||

- | * Do we want to keep referring to parts of a spreadsheet or do we want to be able to select parts by the parameters used? | + | <!--* Do we want to keep referring to parts of a spreadsheet or do we want to be able to select parts by the parameters used?--> |

* Can we create a relatively easy way to let the viewer select different data for exploratory purposes? We will likely run more simulations than you would normally graph. | * Can we create a relatively easy way to let the viewer select different data for exploratory purposes? We will likely run more simulations than you would normally graph. | ||

+ | * How to support axis titles? | ||

+ | ** Currently done using some custom code (created by someone else and submitted to Dojo's bug tracker). | ||

* ??? | * ??? | ||

Taking this idea (much) further it would even be possible to run simulations using JavaScript (and charting the results), based on SBML models. However, this would involve much, much more effort than just showing a few interactive plots. | Taking this idea (much) further it would even be possible to run simulations using JavaScript (and charting the results), based on SBML models. However, this would involve much, much more effort than just showing a few interactive plots. | ||

+ | |||

+ | ::Note that we did implement simulations in JavaScript, but based on a function that return the time-derivatives given the current state. In principle this is surprisingly fast (in some cases graphing was the bottle-neck, leading us to subsample the simulated time series for graphing purposes) and it should be relatively easy to adapt to other models. Note that we only used a very simple integration scheme though (so if your model requires a more advanced integration scheme you'll have to program it yourself). | ||

=={{anchor|ModellingAGeneticCircuit}}Modelling a Genetic Circuit - TODO== | =={{anchor|ModellingAGeneticCircuit}}Modelling a Genetic Circuit - TODO== | ||

Line 217: | Line 97: | ||

* Model interaction of relevant substances. This requires reaction formulas for all the substances with (known) reaction rates, as well as information on how the substance diffuses (unless it is assumed the model is "well-mixed"). | * Model interaction of relevant substances. This requires reaction formulas for all the substances with (known) reaction rates, as well as information on how the substance diffuses (unless it is assumed the model is "well-mixed"). | ||

* Link to the world outside the cell and macroscopic effects, like cell density. Note the medium is usually well-known. | * Link to the world outside the cell and macroscopic effects, like cell density. Note the medium is usually well-known. | ||

+ | * Create a kind of mind map of the processes involved to show how the model could be refined. | ||

+ | * Formulate what aspects of the modelling results are essential. So, for example that some concentration rises as a result of the presence of a substance, or that the bacteria actually float. (Can we use mathematical topology as a criterium?) | ||

This can be done using one of the following methods: | This can be done using one of the following methods: | ||

Line 225: | Line 107: | ||

Questions: | Questions: | ||

* What exactly is the role of a kinetic law in modelling a reaction? | * What exactly is the role of a kinetic law in modelling a reaction? | ||

+ | ** A kinetic law is usually a generic equation describing the rate of a certain class of reactions in terms of the reactant concentrations and some constants. (For example the [[Team:Groningen/Glossary#MichaelisMenten|Michaelis-Menten equation]].) | ||

+ | |||

+ | ==Purpose of Modelling== | ||

+ | * Descriptive, it can help describe the system. | ||

+ | * As verification of the design. | ||

+ | * Predictive, it can help predict results to aid in selecting physical parameters. (How many copies of a gene? What concentrations? etc.) | ||

+ | * As tool in designing tests. What tests will give the best discrimination, etc. | ||

==Literature== | ==Literature== | ||

See our [[Team:Groningen/Literature|literature list]] for a full overview of all literature. For our team members that are looking for books on the subject, have a look under code [http://opc.ub.rug.nl/DB=1/SET=2/TTL=1/CLK?IKT=8110&TRM=605B 605B] (Bernoulliborg library, lower floor), as well as 605C/D/E (A and Z also exist but seem to be less interesting) and 610A (and possibly 625, 715). | See our [[Team:Groningen/Literature|literature list]] for a full overview of all literature. For our team members that are looking for books on the subject, have a look under code [http://opc.ub.rug.nl/DB=1/SET=2/TTL=1/CLK?IKT=8110&TRM=605B 605B] (Bernoulliborg library, lower floor), as well as 605C/D/E (A and Z also exist but seem to be less interesting) and 610A (and possibly 625, 715). | ||

+ | {{Team:Groningen/Footer}} |

## Latest revision as of 17:06, 14 February 2010

## Software tools from previous years

- RNA folding (secondary structure)
- Alberta 2008, using RNAstructure and UNAFold (with a front-end), they used both programs (presumably to get an idea of the certainty)

- Molecular/genetic Circuit (?), (small) systems of (non-linear) ODEs
- Bologna 2008, using Simulink (Mathworks)
- ETH Zurich 2008, using the SimBiology toolbox in Matlab
- IHKU 2008
- (?)Istanbul 2008, using the SimBiology toolbox
- LCG-UNAM-Mexico 2008, using the SimBiology toolbox
- NTU Singapore 2008, using Simulink, Systems Biology Toolbox 2 (sensitivity analysis) and CellWare (stochastic analysis)
- Purdue 2008, using Excel and Mathcad
- TU Delft 2008, using CellDesigner and the Synthetic Biology Workbench for Matlab
- Edinburgh 2008, using COPASI
- Freiburg 2008, using Matlab
- Johns Hopkins 2008, using Matlab (for population dynamics of yeast)
- Michigan 2008, using Mathematica
- Pavia 2008, using Matlab and Simulink
- Ottawa 2008, using Matlab
- Washington 2008, using Mathematica
- Tsinghua 2008, using Matlab
- BCCS-Bristol 2008, Matlab
- Groningen 2008!, using Matlab and some custom tools to construct the models
- KULeuven, using Matlab and Celldesigner, site done very decently
- Montreal, using Mathematica
- Paris 2008, using BIOCHAM
- UCSF, using Matlab, Klaas Bernd: perhaps for growth stages?
- Cambridge, using an unspecified tool
- Imperial College Londen, using Matlab
- Peking, using SimBiology

- Cell processes
- Calgary 2008, using their own tool (transcription and translation)
- Waterloo 2008, using Cell++

- Static genome analysis (?)
- ETH Zurich 2008, using their own tool

- Genome Scale Model (whole cell response)
- ETH Zurich 2008, using the Cobra Toolbox for Matlab
- ?Wisconsin 2008, using GAMS

- Chemostat simulation
- ETH Zurich 2008, using their genome scale model data

- Cell movement
- IHKU 2008, as random walks
- Lethbridge 2008, using BCT (a tool to model the chemotaxis pathway of E. Coli?)
- Tsinghua 2008, using their own code?

- Group behaviour
- BCCS-Bristol 2008, movement of groups of cells, using a home-grown Java tool
- Groningen 2008!, spatial interaction
- Heidelberg, two population distributions and some substance concentrations using custom Matlab code
- Montreal, interaction in Repressilator network, using Mathematica
- Cambridge, quorum sensing
- Imperial College Londen, growth curve and motility, using Matlab

- Mutation

Other potentially interesting software tools:

- UC Berkeley's Clotho
- SBML, a standard to define models.
- KU Leuven's Simbiology2LaTeX

## Interactive Graphs?

It might be interesting to use JavaScript to present simulation results. This would allow for some degree of interaction (like resizing graphs, linked views, etc.) and may even make it somewhat easier to use graphs, we'd simply have some on-line repository of simulation results (a spreadsheet for example) and we could select which graphs to use on the Wiki.

Below an example of a JavaScript generated graph is shown, based on this spreadsheet. Note that the two views of the data are linked (although at this time both the kind of graph and the link is not optimal) and that it would be possible to create templates for creating these linked graphs. The current demo is based on the Dojo Toolkit as it has more advanced charting capabilities at this moment than Google visualization (and it seems to be supported well in different browsers).

Questions that would have to be resolved include:

- How can we make this easy to use?
- The graphs can now be defined using a more or less normal Wiki page and allow the use of templates.

- What kinds of plots do we need?
- How flexible do we need it to be? (Layout-wise.)
- Can we make it that flexible? (And still easy to use.)
- Can we create a relatively easy way to let the viewer select different data for exploratory purposes? We will likely run more simulations than you would normally graph.
- How to support axis titles?
- Currently done using some custom code (created by someone else and submitted to Dojo's bug tracker).

- ???

Taking this idea (much) further it would even be possible to run simulations using JavaScript (and charting the results), based on SBML models. However, this would involve much, much more effort than just showing a few interactive plots.

- Note that we did implement simulations in JavaScript, but based on a function that return the time-derivatives given the current state. In principle this is surprisingly fast (in some cases graphing was the bottle-neck, leading us to subsample the simulated time series for graphing purposes) and it should be relatively easy to adapt to other models. Note that we only used a very simple integration scheme though (so if your model requires a more advanced integration scheme you'll have to program it yourself).

## Modelling a Genetic Circuit - TODO

To model a genetic circuit the following must be done (TODO: more detail):

- Determine which genes are involved and how they are regulated???
- Model gene transcription? (How?) Try to avoid this, try going directly to protein.
- Model gene translation? (How?) Try to avoid this, try going directly to protein.
- Model degradation? (How?)
- Model interaction of relevant substances. This requires reaction formulas for all the substances with (known) reaction rates, as well as information on how the substance diffuses (unless it is assumed the model is "well-mixed").
- Link to the world outside the cell and macroscopic effects, like cell density. Note the medium is usually well-known.
- Create a kind of mind map of the processes involved to show how the model could be refined.
- Formulate what aspects of the modelling results are essential. So, for example that some concentration rises as a result of the presence of a substance, or that the bacteria actually float. (Can we use mathematical topology as a criterium?)

This can be done using one of the following methods:

- One ordinary differential equation per substance involved, reflecting the different reaction formulas and rates.
- If the spatial distribution of substances needs to be taken into account partial differential equations can be used. This is probably not necessary when talking about large numbers of bacteria.
- Stochastic modelling can be used if needed (if we deal with very low concentrations for example).

Questions:

- What exactly is the role of a kinetic law in modelling a reaction?
- A kinetic law is usually a generic equation describing the rate of a certain class of reactions in terms of the reactant concentrations and some constants. (For example the Michaelis-Menten equation.)

## Purpose of Modelling

- Descriptive, it can help describe the system.
- As verification of the design.
- Predictive, it can help predict results to aid in selecting physical parameters. (How many copies of a gene? What concentrations? etc.)
- As tool in designing tests. What tests will give the best discrimination, etc.

## Literature

See our literature list for a full overview of all literature. For our team members that are looking for books on the subject, have a look under code 605B (Bernoulliborg library, lower floor), as well as 605C/D/E (A and Z also exist but seem to be less interesting) and 610A (and possibly 625, 715).