Author Archives: hsauro

Drawing a Pathway Fragment with Inhibition using Tikz

Here is another quick pathway fragment I needed today. This won’t scale well because I’ve used some fixed dimensions eg the width of the lines and the size of the text. But these are easily adjusted if you want to … Continue reading

Posted in General Interest, LaTeX, Modeling, Pathways, Programming, Publishing | Leave a comment

Drawing a ‘Futile’ Cycle using Tikz

I was in need of a diagram of a futile cycle. I tried illustator but I didn’t have the right LaTeX fonts so the figure did blend well with the rest of the document. I decided to make one using … Continue reading

Posted in General Interest, LaTeX, Pathways, Publishing, Textbooks | Leave a comment

Plotting 3D graphs using Python and Tellurium

As an example I wanted to show how one could plot a 3D phase plot. A great example to use for this is the Lorenz Attractor. This system is interesting because it displays chaotic behavior. The differential equations for the … Continue reading

Posted in General Science Interest, Math, Modeling, Pathways, Programming, Software | Leave a comment

How do I change the simulation tolerances in Tellurium?

For very complicated and large models it may be necessary to adjust the simulator tolerances in order to get the correct simulation results. Sometimes the simulator will terminate a simulation because it was unable to proceed due to numerical errors. … Continue reading

Posted in Modeling, Pathways, Programming, SBML, Software, Systems Theory | Leave a comment

How do I plot phase plots using Tellurium?

Phase plots are a common way to visualize the dynamics of models where time courses are generated and one variable is plotted against the other. For example consider the following model that can show oscillations: v1: $Xo -> S1; k1*Xo; … Continue reading

Posted in Modeling, Pathways, Programming, Software, Systems Theory | Leave a comment

How to get the Stoichiometry Matrix using Tellurium

Here is a simple need, given a reaction model how do we get hold of the stoichiometry matrix? Consider the following simple model: import tellurium as te import roadrunner r = te.loada(“”” $Xo -> S1; k1*Xo; S1 -> S2; k2*S1; … Continue reading

Posted in Modeling, Pathways, SBML, Systems Theory | Leave a comment

How to do a simple simulation using Tellurium

The most common requirement is the ability to carry out a simple time course simulation of a model. Consider the model:     Two reactions and three metabolites, S1, S2 and S3. We can describe this system using an Antimony … Continue reading

Posted in Modeling, Pathways, SBML, Systems Theory | Leave a comment

How do I run a stochastic simulation using Tellurium/libRoadRunner?

In this post I will show you how to run a stochastic simulation using our Tellurium application. Tellurium is a set of libraries that can be used via Python. One of those libraries is libRoadRunner which is our very fast … Continue reading

Posted in Modeling, Pathways, Programming, SBML, Software | Leave a comment

Computing the steady state using Tellurium

If you’re building a model and you want to quickly find the model’s steady state, you can call the command steadyState. Let’s illustrate this with an example: import tellurium as te r = te.loada (”’ # Define a simple linear … Continue reading

Posted in Modeling, Pathways, Software | Leave a comment

Bifurcation Analysis with Tellurium

I thought I’d try and write a series of HowTos on Tellurium, our python based tool for the construction, simulation and analysis of biochemical models. Details on this tool can be found here. One the unique features of Tellurium is … Continue reading

Posted in General Science Interest, Modeling, Pathways, Software | Leave a comment