# Team:Groningen/Brainstorm/Modelling

### From 2009.igem.org

m (Removed alert.) |
(→Interactive Graphs?: Graphs now work using xhrGet (no html-escape is used, so templates CAN now be used)) |
||

Line 69: | Line 69: | ||

<html> | <html> | ||

<style> | <style> | ||

- | .graph { display: | + | .graph { display: inline-block; } |

</style> | </style> | ||

<script type="text/javascript" src="http://www.google.com/jsapi"></script> | <script type="text/javascript" src="http://www.google.com/jsapi"></script> | ||

- | <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.0/dojo/dojo.xd.js" djConfig="isDebug: false"></script> | + | <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.0/dojo/dojo.xd.js" djConfig="isDebug:false"></script> |

<script type="text/javascript"> | <script type="text/javascript"> | ||

Line 98: | Line 98: | ||

var graphs = dojo.query('.graph'); | var graphs = dojo.query('.graph'); | ||

for(var g=0; g<graphs.length; g++) { | for(var g=0; g<graphs.length; g++) { | ||

- | + | loadGraph(graphs[g]); | |

} | } | ||

} | } | ||

- | function | + | function loadGraph(graph) { |

- | + | var links = dojo.query('a',graph); | |

- | + | if (links.length!=1) continue; // TODO: Nicer error handling? | |

+ | dojo.xhrGet( { | ||

+ | url: links[0].href, | ||

+ | content: {action: 'raw', templates: 'expand'}, | ||

+ | preventCache: true, | ||

+ | handleAs: "json", | ||

+ | load: function(responseObject, ioArgs) { | ||

+ | createGraph(graph, responseObject); | ||

+ | }, | ||

+ | error: function(responseObject, ioArgs) { | ||

+ | graph.innerHTML = ''; | ||

+ | graph.appendChild(document.createTextNode('Error loading ')); | ||

+ | graph.appendChild(links[0]); | ||

+ | graph.appendChild(document.createTextNode('!')); | ||

+ | } | ||

+ | }); | ||

+ | } | ||

+ | function createGraph(graph, desc) { | ||

// Some layout stuff | // Some layout stuff | ||

- | |||

graph.innerHTML = ''; | graph.innerHTML = ''; | ||

Line 166: | Line 182: | ||

</html> | </html> | ||

- | <div class="graph"> | + | <div class="graph">Loading [[Team:Groningen/Graphs/Test|graph]]...</div> |

- | <div class="graph"> | + | <div class="graph">Loading [[Team:Groningen/Graphs/Test2|graph]]...</div> |

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

## Revision as of 12:08, 24 June 2009

## 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?
- 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.)
- 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.
- ???

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.

## 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?

## 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.