Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simulating Biological Systems in the Stochastic p-calculus

Similar presentations


Presentation on theme: "Simulating Biological Systems in the Stochastic p-calculus"— Presentation transcript:

1 Simulating Biological Systems in the Stochastic p-calculus
Andrew Phillips & Luca Cardelli Microsoft Research, Cambridge UK

2 Biological Computing

3 Modelling Biology The Human Genome project: Systems Biology:
Scientists hoped that DNA code would help predict system behaviour Functional meaning of the code is still a mystery Systems Biology: Understand and precisely describe the behaviour of biological systems Two complementary approaches: Look at experimental results and “infer” general system properties Build detailed models of systems and test these in the lab Biological Modelling: Need tools for modelling complex parallel systems. Should also scale up to very large systems. The beginnings of a biological programming language...

4 Programming Biology stochastic p-calculus
Languages for complex, parallel computer systems: Languages for complex, parallel biological systems: stochastic p-calculus

5 Reactions vs. Components
Traditional modelling: model individual reactions

6 Large, Connected Reaction Graphs

7 Reactions vs. Components
Traditional modelling: model individual reactions Stochastic p-calculus: model components

8 Compositional Modelling
Build complex models incrementally, by direct composition of simpler components:

9 Model Analysis A mathematical programming language
A range of analysis techniques (types, equivalences, model checking) Could provide insight into fundamental properties of biological systems

10 Related Work Stochastic p-calculus proposed by [Priami, 1995]
Used to model and simulate a range of biological systems: RTK MAPK pathway [Regev et al., 2001] Gene Regulation by positive Feedback [Priami et al., 2001] Cell Cycle Control in Eukaryotes [Lecca and Priami, 2003] First simulator for stochastic p-calculus [BioSPI] A subset of p-calculus with limited choice Compiles a calculus process to an FCP procedure Executed by the FCP Logix platform [Silverman et al., 1987]

11 Project Overview

12 Graphical Stochastic p-calculus
Display stochastic p-calculus models as graphs [Phillips and Cardelli, Bioconcur 2005] Helps make the stochastic p-calculus more accessible Defined a graphical calculus and graphical execution model Proved equivalent to the stochastic p-calculus [Phillips, Cardelli and Castagna, TCSB 2006] let generate_pep(k:float,free:chan,bound:chan,c:chan,e:chan)= and pep(k:float,free:chan,bound:chan,c:chan,e:chan)= ( new or !bind(u,c,e);pep_bound(u,k,free,bound,c,e) or ) and pep_bound(u:chan,k:float,free:chan,bound:chan,c:chan,e:chan) = ?u;pep(k,free,bound,c,e) let TPN()= ( new !bindT(uT);(?uT;TPN()) let MHCo()= do ?bind(u,c,e);MHCo_pep(u,c,e) or ?bindT(uT);MHCo_TPN(uT) and MHCo_pep(u:chan,c:chan,e:chan)= do or !u;MHCo() and MHCt_pep(u:chan,c:chan,e:chan)= do or and MHCc_pep(u:chan,c:chan,e:chan)= do or !c and MHCc()= do ?bindT(uT);MHCc_TPN(uT) or and MHCo_TPN(uT:chan)= do ?bind(u,c,e);MHCo_TPN_pep(u,c,e,uT) or !uT;MHCo() (* *) and MHCo_TPN_pep(u:chan,c:chan,e:chan,uT:chan)= do or !u;MHCo_TPN(uT) and MHCt_TPN_pep(u:chan,c:chan,e:chan,uT:chan)= do or and MHCc_TPN_pep(u:chan,c:chan,e:chan,uT:chan)= do or !uT;MHCc_pep(u,c,e) and MHCc_TPN(uT:chan)= do or !uT;MHCc() (* *) PROVED EQUIVALENT

13 The Stochastic Pi Machine
A simulation algorithm for stochastic p-calculus [Phillips and Cardelli, Bioconcur 2004] Based on standard theory of chemical kinetics [Gillespie 1977] The probability of a reaction is proportional to the rate of the reaction times the number of reactants. Proved correct with respect to the stochastic p-calculus. PROVED CORRECT

14 The SPiM Simulator Simulation algorithm mapped to functional code (OCaml / F#) Used as the basis for implementing the SPiM simulator. [Phillips, SPiM 2006] Close correspondence between formal algorithm and functional code Correct specification improves confidence in simulation results Used in various research centres (UK, France, Italy, Sweden...)

15 Gene Networks Library Proposed a combinatorial library of gene gates
[Blossey, Cardelli, Phillips, TCSB 2006] Used as building blocks to model complex gene networks Explain behaviour of controversial gene networks engineered in vivo © 2000 Elowitz, M.B., Leibler. S. A Synthetic Oscillatory Network of Transcriptional Regulators. Nature 403:

16 Immune System Modelling
Model of MHC Class I Antigen Presentation A key pathway in the immune system [Goldstein, MPhil Dissertation 2005] Ongoing collaboration with Immunologists at Southampton University [Cardelli, Elliott, Goldstein, Phillips, Werner. In preparation] © 2003 Current Opinion in Immunology, 15:75–81. © 2003 Nature Reviews Immunology, 3(12):952–96.

17 with Luca Cardelli (MSR Cambridge) Ralf Blossey (IRI Lille)
Gene Networks with Luca Cardelli (MSR Cambridge) Ralf Blossey (IRI Lille)

18 Gene with Negative Control
Neg(a,b) produces protein b and is blocked by protein a val transcribe = 0.1 val degrade = 0.001 val unblock = new new let Neg(a:chan,b:chan) = do ( Protein(b) | Neg(a,b) ) or ?a; Neg(a,b) and Protein(b:chan) = do !b; Protein(b) or run Neg(a,b) transcribe = 0.1 unblock = degrade = 0.001 rate(a,b) = 1.0 a b

19 Neg Gate x1 A protein b can be transcribed at rate 0.1 s-1

20 Neg Gate x1 x1 Another protein b can be transcribed

21 Neg Gate x1 x2 And another...

22 Neg Gate x1 x3 A protein b can be degraded at rate s-1

23 Neg Gate x1 x2 Equilibrium between transcription and degradation

24 Neg Gate Level of protein b stabilises at around 100

25 Repressilator [Elowitz and Leibler, 2000]
A gene network engineered in live bacteria. Modelled as a simple combination of Neg gates: Neg(lac,tet) | Neg(tet,lambda) | Neg(lambda,lac) | Neg(tet,gfp) © 2000 Elowitz, M.B., Leibler. S. A Synthetic Oscillatory Network of Transcriptional Regulators. Nature 403:

26 Repressilator: Debugging
lac lambda Why do we get oscillations? Neg(lac,tet) | Neg(tet,lambda) | Neg(lambda,lac) tet

27 Repressilator: Debugging (1)
x1 x1 x1 Initially there is one copy of each gene Any one of the proteins can be transcribed at rate 0.1

28 Repressilator: Debugging (2)
x1 x1 x1 x1 The tet protein can block the lambda gene at rate 1.0

29 Repressilator: Debugging (3)
x1 x1 x1 x1 Now no lambda protein can be transcribed. But lac protein can still be transcribed.

30 Repressilator: Debugging (4)
x1 x1 x1 x1 x1 The lac protein can block the tet gene at rate 1.0

31 Repressilator: Debugging (5)
x1 x1 x1 x1 x1 Now no tet protein can be transcribed. All of the tet protein eventually degrades at rate 0.001

32 Repressilator: Debugging (5)
x1 x1 x1 x1 Meanwhile, lots of lac protein is transcribed

33 Repressilator: Debugging (363)
x1 x1 x1 x100 Represents one oscillation cycle Eventually, the lambda gene unblocks at rate

34 Repressilator: Debugging (2173)
x1 x1 x1 x100 The lambda protein can now take over...

35 Repressilator: Results
Alternate oscillation of proteins: tet, lac, lambda, tet, ... tet lambda lac tet lambda lac tet lambda lac

36 Refined Neg Gate Refined Neg gate with cooperative binding
Different implementation, same main program Neg(lac,tet) | Neg(tet,lambda) | Neg(lambda,lac) let Neg(a,b) = ( new do (Protein(b) | Neg(a,b)) or !a(u1); Blocked(a,b,u1) ) and Blocked(a,b,u1) = ( new do ?u1; Neg(a,b) or !a(u2); ?u2; Blocked(a,b,u1) and Protein(b) = ( do or ?b(u); !u; Protein(b)

37 Negp Gate with Inhibitor
transcribe = 0.1 unblock = degrade = 0.001 rate(a,b,r) = 1.0 val transcribe = 0.1 val degrade = 0.001 val unblock = new new new let Negp(a:chan,b:chan,r:chan) = do (Proteinp(b,r) | Negp(a,b,r)) or ?a; Negp(a,b,r) and Proteinp(b:chan,r:chan) = do !b; Proteinp(b,r) or ?r or let Inh(r:chan) = !r; Inh(r) Run Negp(a,b,r) r a b

38 Bacteria Logic Gates [Guet et al., 2002]
© 2002 AAAS. Reprinted with permission from Guet et al. Combinatorial Synthesis of Genetic Networks. Science 296 (5572): 3 genes: tetR, lacI, lcI 5 promoters: PL1, PL2, PT, Pl-, Pl+ 125 possible networks consisting of 3 promoter-gene units 2 inputs: IPTG (represses Tet), aTc (represses Lac) 1 output: GFP (linked to Pl-)

39 Bacteria Logic Gates [Guet et al., 2002]
© 2002 AAAS. Reprinted with permission from Guet et al. Combinatorial Synthesis of Genetic Networks. Science 296 (5572): IPTG, aTc as boolean inputs, GFP as boolean output

40 Combinatorial Library of Genes
Model complex gene networks from simpler building blocks. Also used simulation to investigate system behaviour. [Blossey, Cardelli, Phillips, TCSB 2006] D038() = tet() | lac() | cI() | gfp() tet() = Negp(TetR,TetR,aTc) lac() = Negp(TetR,LacI,IPTG) cI() = Neg(LacI,lcI) gfp() = Neg(lcI,GFP) D038() D038() | Inh(aTc) D038() | Inh(IPTG) D038() | Inh(aTc) | Inh(IPTG)

41 Immune System Modelling: MHC I Antigen Presentation
with Luca Cardelli (MSR Cambridge) Leonard Goldstein (Cambridge University) Tim Elliott (Southampton University) Joern Werner (Southampton University)

42 MHC I Antigen Presentation
A key pathway of the immune system: MHC I complexes can signal when a cell is infected. They present peptides (small pieces of virus or bacteria) at the surface of infected cells. A way of marking infected cells for destruction. © 2003 Jonathan W. Yewdell, Eric Reits, and Jacques Neefjes. Making sense of mass destruction: quantitating MHC class I antigen presentation. Nature Reviews Immunology, 3(12):952–96.

43 MHC I Antigen Presentation
[© 2005 from Immunobiology, Sixth Edition by Janeway et al.  Reproduced by permission of Garland Science/Taylor & Francis LLC.]

44 MHC I Assembly MHC I complexes follow an assembly line:
© 2003 Antony N Antoniou, Simon J Powis, and Tim Elliott. Assembly and export of MHC class I peptide ligands. Current Opinion in Immunology, 15:75–81.

45 Peptide Selection: Flytrap Model
MHC I captures peptides like a Venus Flytrap. Sensitive to disease peptides only. non disease peptide escapes peptide enters open MHC disease peptide is captured and presented at cell surface

46 Flytrap Model: p-calculus
x200 x200 x1 x1

47 Flytrap Model: p-calculus
x199 x200 x1 x1 u x1

48 Flytrap Model: p-calculus
x199 x200 x1 x1 u x1

49 Flytrap Model: p-calculus
x199 x200 x1 x1 x1 u

50 Transient binding to Tapasin
Simulation Results Tapasin allows disease peptides to be rapidly selected in favour of non-disease peptides. Next steps: Investigate influence of tapasin in the lab. Incrementally build a more detailed immune system model. Construct a minimal functional model of the system. No Tapasin Always with Tapasin Transient binding to Tapasin

51 Simplified Flytrap Similar results obtained with a simpler model
Hypothesis: Tapasin is the 2nd stage of a 2-stage filter Perhaps an explanation of system function.

52 Future Plans Interface SPiM with stochastic analysis tools
Improve scalability of core SPiM algorithm Prove correctness of multiprocessor algorithm Extend SPiM with membranes Stochastic p-calculus and ODEs Improve SPiM user interface and debugging Collaborate with medical researchers to model and simulate a range of biological systems Collaborate with pharmaceutical industry to design a next-generation programming language for Systems Biology

53 References Graphical Stochastic p-calculus: SPiM Simulator:
[Phillips and Cardelli, Bioconcur 2005] [Phillips, Cardelli and Castagna, TCSB 2006] SPiM Simulator: [Phillips and Cardelli, Bioconcur 2004] [Phillips, SPiM 2005] Gene Networks: [Blossey, Cardelli, Phillips, TCSB 2006] Antigen Presentation: [Goldstein, MPhil Dissertation 2005]


Download ppt "Simulating Biological Systems in the Stochastic p-calculus"

Similar presentations


Ads by Google