(Difference between revisions)
(Interactive Graphs?: Using more than one graph in a single document works!)
m (Removed alert.)
Line 140: Line 140:
   var data = response.getDataTable();
   var data = response.getDataTable();

Revision as of 16:52, 23 June 2009


Software tools from previous years

Other potentially interesting software tools:

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


datatable: '/Team:Groningen/Tables/Test', width: '8cm', height: '5cm', series: [

/* List of data series */
{x: 0, y: 1, stroke: {color: 'blue'} }, // Uses a style
{x: 0, y: 2},
{x: 0, yf: 'cell(1,0)+cell(2,0)', title: 'sum'},
{x: 0, yf: '(cell(1,1)-cell(1,-1))/(cell(0,1)-cell(0,-1))', title: 'd/dt s1'}

], axes: {x: {title: "time (s)" }, y: {title: "concentration (µM)", vertical: true} }, plots: { 'default': {type: 'Lines'} }


datatable: '/Team:Groningen/Tables/Tables/Test', caption: 'This is another graph of some extremely interesting data.', width: '8cm', height: '5cm', series: [

{x: 1, y: 2}



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


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


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