+ All Categories
Home > Documents > Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Date post: 01-Apr-2015
Category:
Upload: ronan-halt
View: 213 times
Download: 0 times
Share this document with a friend
Popular Tags:
32
Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project
Transcript
Page 1: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Day 21. Review2. Perturbations3. Steady State4. Protein Cascades5. Gene Regulatory Models6. Project

Page 2: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Day 2Template Script available at the web site.

Page 3: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

3

Applying Perturbations in Tellurium

import tellurium as teimport numpy

r = te.loada (``` # Model Definition v1: $Xo -> S1; k1*Xo; v2: S1 -> $w; k2*S1;

# Initialize constants k1 = 1; k2 = 1; S1 = 15; Xo = 1;```)

# Time course simulationm1 = r.simulate (0, 15, 100, [“Time”,”S1”]);r.model.k1 = r.model.k1 * 6;m2 = r.simulate (15, 40, 100, [“Time”,”S1”]);r.model.k1 = r.model.k1 / 6;m3 = r.simulate (40, 60, 100, [“Time”>,”S1”]);

m = numpy.vstack ((m1, m2, m3)); # Merge datar.plot (m)

m1

m2m

vstack ((m1, m2)) -> m(augment by row)

Page 4: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Perturbations to Parameters

Page 5: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Perturbations to Variablesimport tellurium as teimport numpy

r = te.loada (''' $Xo -> S1; k1*Xo; S1 -> $X1; k2*S1; k1 = 0.2; k2 = 0.4; Xo = 1; S1 = 0.5;''')

# Simulate the first part up to 20 time unitsm1 = r.simulate (0, 20, 100, ["time", "S1"]);

# Perturb the concentration of S1 by 0.35 unitsr.model.S1 = r.model.S1 + 0.35;

# Continue simulating from last end pointm2 = r.simulate (20, 50, 100, ["time", "S1"]);

# Merge and plot the two halves of the simulationr.plot (numpy.vstack ((m1, m2)));

Page 6: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

6

Perturbations to Variables

Page 7: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

More on Plottingimport tellurium as teimport numpyimport matplotlib.pyplot as plt

r = te.loada (''' $Xo -> S1; k1*Xo; S1 -> $X1; k2*S1; k1 = 0.2; k2 = 0.4; Xo = 1; S1 = 0.5;''')

# Simulate the first part up to 20 time unitsm1 = r.simulate (0, 20, 100, ["time", "S1"]);r.model.S1 = r.model.S1 + 0.35;m2 = r.simulate (20, 50, 100, ["time", "S1"]);

plt.ylim ((0,1))plt.xlabel ('Time')plt.ylabel ('Concentration')plt.title ('My First Plot ($y = x^2$)')r.plot (numpy.vstack ((m1, m2)));

Page 8: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Three Important Plot Commands

r.plot (result) # Plots a legend

te.plotArray (result) # No legend

te.setHold (True) # Overlay plots

Page 9: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Example of Holdimport tellurium as teimport numpyimport matplotlib.pyplot as plt

# model Definitionr = te.loada (''' v1: $Xo -> S1; k1*Xo; v2: S1 -> $w; k2*S1;

//initialize. Deterministic process. k1 = 1; k2 = 1; S1 = 20; Xo = 1;''')

m1 = r.simulate (0,20,100);

# Stochastic process.r.resetToOrigin()m2 = r.gillespie (0, 20, 100, ['time', 'S1'])

# plot all the results togetherte.setHold (True)te.plotArray (m1)te.plotArray (m2)

Page 10: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

10

Steady State

Page 11: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

11

Steady State

Page 12: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

12

Steady State

Page 13: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Open System, Steady State

r.steadystate();

This method returns a single number.

This number indicates how close the solution is to the steady state.

Numbers < 1E-5 usually indicate it has found a steady state.

Confirm using print r.dv() <- prints rates of change

Page 14: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Useful Model Variables

r.dv() <- returns the rates of change vector dx/dt

r.sv() <- returns vector of current floating species concentrations

r.fs() <- returns list of floating species names (same order as sv)

Page 15: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Useful Model Variablesr.pv() <- returns vector of all current parameter values

r.ps() <- returns list of kinetic parameter names

r.bs() <- returns list of boundary species names

Page 16: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Visualizing Networks

Page 17: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

17

JDesigner

Page 18: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

18

JDesigner

Page 19: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

19

JDesigner

Page 20: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

20

JDesigner

Page 21: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Protein Cascades

Page 22: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Cascades

Activator

Output

Page 23: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Properties of Protein Cycles

1. Build a model of a protein cycle

2 Use simple irreversible mass-action kinetics for the forward and reverse arms.

3. Investigate how the steady state concentration of the phosphorylated protein changes as a function of the forward rate constant.

Page 24: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Cascades

Page 25: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Properties of Protein Cycles

1. Investigate what happens when you use simple irreversible Michaelis-Menten Kinetics.

2. Investigate how the response changes as you decrease the two Kms

Page 26: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Multiple Protein Cycles forming a Cascade

Activator

Cascade two cycles together

Page 27: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Gene Regulation

Refer to writing board

Page 28: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Project

S

E2

E3

E1

Activator

Degradation

Metabolism

Gene RegulationProtein Regulation

Page 29: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Project

Page 30: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Project: 1

Activator

Page 31: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Project: 2

E2

E3

Activator

Degradation

Page 32: Day 2 1.Review 2.Perturbations 3.Steady State 4.Protein Cascades 5.Gene Regulatory Models 6.Project.

Project: 3

S

E2

E3

E1

Activator

Degradation


Recommended