Assessment
Completing this homework is optional; if you do complete it, your lowest-graded homework will be discarded when we compute your final grade.
As always, assessed tasks are in
boldface:
- plot a graph of viral load using the parameters for patient #102
- numerically simulate the linear differential equations for viral load (this is now extra credit)
- describe two alternate nonlinear models, and how you would investigate them
Goals
- Simulate the dynamics of infected/healthy T cells and HIV virions using the Perelson model
- Introduction to computational virology
Data
(Mock data)
| Time/days |
.2 |
.4 |
.6 |
.8 |
1 |
1.2 |
1.4 |
1.6 |
1.8 |
2 |
3 |
4 |
5 |
6 |
7 |
| Viral load (Patient 1) |
4.95 |
5.06 |
5.01 |
5 |
5 |
4.75 |
4.8 |
4.81 |
4.7 |
4.65 |
4.5 |
4.2 |
4.18 |
4.14 |
3.6 |
Viral loads expressed in log10(RNA copies/ml)
Procedure
We will first try simulating the simplest version of the model of Perelson
et al
using the simplest technique to scan through parameters to find the best fit to the data.
Progressing through the practical, we will use increasingly sophisticated models and methods.
- We will work first with the explicit solution given in equation (6) of the paper
- Verify that this equation is a solution of equations (3)-(5)
- Simulate Perelson et al 's linear model by plugging in the formula from equation (6)
- Use any language/visualization tool of your choice (I like Perl and xgraph, but Matlab, Excel, etc. also fine)
- Plot a graph of the viral load over a 7-day period, using the parameters estimated for patient #102 in the paper
.
- Write code to evaluate the sum-of-squares difference to the above patient data
- Why is sum-of-squares-difference a good metric? (Or is it?)
- Estimate the virion clearance rate (
) and infected cell death rate (
) from the data
- Try several different values for
and
, e.g. (10,0.25); (10,1); (2,0.25); (2,1)
- Scan a range of parameter values to find the best fit
- How do these rates relate to more intuitive time-like quantities, i.e. mean time until virion clearance (or cell death)?
- Simulate the linear model in equations (3)-(5) and plot the results. Use Euler's method.
- Use the following parameters, again from patient 102:
where (from footnote 10)
and
- Note that one parameter is undetermined by the above equations (either
or
). What are the meanings of these parameters? What values of
and
give you the results closest to the formulae?
- Note: because of the original ambiguity in this part of the exercise, the above question (Euler simulation) is now an optional task for extra credit.
- (Optional) Instead of Euler, try the Runge-Kutta method
- Describe the nonlinear models mentioned in footnote 12 to the paper, and suggest how you would investigate them:
- ...the imperfect-drug model
- ...the increasing target cell model
- Try simulating one (or both) of the above models.
- Investigate the further reading for this exercise (below).
Software
- Use Perl, Matlab, Microsoft Excel, or anything else you like to do the simulations and calculations here.
- CellML is interesting but somewhat overkill for this exercise:
Further reading
- Background
- Other HIV papers combining mathematical models with experimental methods
- Speirs C, van Nimwegen E, Bolton D, Zavolan M, Duvall M, Angleman S, Siegel R, Perelson AS, Lenardo MJ. Analysis of human immunodeficiency virus cytopathicity by using a new method for quantitating viral dynamics in cell culture. J Virol. 2005 Apr;79(7):4025-32.
- presents experimental protocols and a mathematical model for measuring rates associated with HIV infection. Think about ExperimentalDesign; how would you measure rates in more detail?
- Dixit NM, Layden-Almer JE, Layden TJ, Perelson AS. Modelling how ribavirin improves interferon response rates in hepatitis C virus infection. Nature. 2004 Dec 16;432(7019):922-4.
- Bouchonnet F, Dam E, Mammano F, de Soultrait V, Hennere G, Benech H, Clavel F, Hance AJ. Quantification of the effects on viral DNA synthesis of reverse transcriptase mutations conferring human immunodeficiency virus type 1 resistance to nucleoside analogues. J Virol. 2005 Jan;79(2):812-22.
- Using SyntheticBiology to design a "parasite" of HIV: Weinberger LS, Schaffer DV, Arkin AP. Theoretical design of a gene therapy to prevent AIDS but not human immunodeficiency virus type 1 infection. J Virol. 2003 Sep;77(18):10028-36.
- Can you find others? What experimental and mathematical trends do you observe?

Copyright © 2008-2013 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback