Synthesizing Stochasticity in Biochemical Systems In partial fulfillment of the requirements for a master of electrical engineering degree Brian Fett Marc.

Slides:



Advertisements
Similar presentations
Warm Up Solve. 1. log16x = 2. logx1.331 = log10,000 = x 1.1 4
Advertisements

Solving LP Models Improving Search Special Form of Improving Search
Cycle and Event Leaping State Space AnalysisThe Goddess Durga Marc Riedel, EE5393, Univ. of Minnesota.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
Multiscale Stochastic Simulation Algorithm with Stochastic Partial Equilibrium Assumption for Chemically Reacting Systems Linda Petzold and Yang Cao University.
In biology – Dynamics of Malaria Spread Background –Malaria is a tropical infections disease which menaces more people in the world than any other disease.
1 CE 530 Molecular Simulation Lecture 8 Markov Processes David A. Kofke Department of Chemical Engineering SUNY Buffalo
Marc Riedel Synthesizing Stochasticity in Biochemical Systems Electrical & Computer Engineering Jehoshua (Shuki) Bruck Caltech joint work with Brian Fett.
Digital Signal Processing with Biomolecular Reactions Hua Jiang, Aleksandra Kharam, Marc Riedel, and Keshab Parhi Electrical and Computer Engineering University.
Phillip Senum University of Minnesota. Motivation Much effort has been spent developing techniques for analyzing existing chemical systems. Comparatively.
Stochastic Simulation of Biological Systems. Chemical Reactions Reactants  Products m 1 R 1 + m 2 R 2 + ··· + m r R r – ! n 1 P 1 + n 2 P 2 + ··· + n.
Stochastic Transient Analysis of Biochemical Systems Marc D. Riedel Assistant Professor, Electrical and Computer Engineering Graduate Faculty, Biomedical.
Distributed Combinatorial Optimization
Estimation 8.
Example 14.1 Expressing Equilibrium Constants for Chemical Equations
Lecture II-2: Probability Review
Normalised Least Mean-Square Adaptive Filtering
Simulation of Biochemical Reactions for Modeling of Cell DNA Repair Systems Dr. Moustafa Mohamed Salama Laboratory of Radiation Biology, JINR Supervisor.
LINEAR PROGRAMMING SIMPLEX METHOD.
Mathematics for Economics and Business Jean Soper chapter two Equations in Economics 1.
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
Topics on Final Perceptrons SVMs Precision/Recall/ROC Decision Trees Naive Bayes Bayesian networks Adaboost Genetic algorithms Q learning Not on the final:
CS 8751 ML & KDDSupport Vector Machines1 Support Vector Machines (SVMs) Learning mechanism based on linear programming Chooses a separating plane based.
Book Adaptive control -astrom and witten mark
Objectives Solve exponential and logarithmic equations and equalities.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Basic Probability (Chapter 2, W.J.Decoursey, 2003) Objectives: -Define probability and its relationship to relative frequency of an event. -Learn the basic.
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Analysis of Algorithms
Solving Linear Programming Problems: The Simplex Method
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Monte Carlo Methods in Statistical Mechanics Aziz Abdellahi CEDER group Materials Basics Lecture : 08/18/
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 26.
Practical Dynamic Programming in Ljungqvist – Sargent (2004) Presented by Edson Silveira Sobrinho for Dynamic Macro class University of Houston Economics.
Mechanical Engineering Department 1 سورة النحل (78)
Marc D. Riedel Associate Professor, ECE University of Minnesota EE 5393: Circuits, Computation and Biology ORAND.
Motor Control. Beyond babbling Three problems with motor babbling: –Random exploration is slow –Error-based learning algorithms are faster but error signals.
D Nagesh Kumar, IIScOptimization Methods: M2L4 1 Optimization using Calculus Optimization of Functions of Multiple Variables subject to Equality Constraints.
Marc Riedel – EE5393 The Synthesis of Robust Polynomial Arithmetic with Stochastic Logic Electrical & Computer Engineering University of Minnesota.
ELEC692 VLSI Signal Processing Architecture Lecture 3
The generalization of Bayes for continuous densities is that we have some density f(y|  ) where y and  are vectors of data and parameters with  being.
5.3 Factoring Quadratic Function 12/7/2012. are the numbers you multiply together to get another number: 3 and 4 are factors of 12, because 3x4=12. 2.
Writing and Compiling Code into Biochemistry Marc Riedel Assistant Professor, Electrical and Computer Engineering Graduate Faculty, Biomedical Informatics.
Biochemical Reactions: how types of molecules combine. Playing by the Rules + + 2a2a b c.
Sayed Ahmad Salehi Marc D. Riedel Keshab K. Parhi University of Minnesota, USA Markov Chain Computations using Molecular Reactions 1.
Copyright © 2012, The McGraw-Hill Compaies, Inc. Permission required for reproduction or display. Chemistry Third Edition Julia Burdge Lecture PowerPoints.
Chapter 13 Backtracking Introduction The 3-coloring problem
Biochemical Reactions computationinputsoutputs Molecular Triggers Molecular Products Synthesizing Biological Computation Protein-Protein Chemistry at the.
ChE 452 Lecture 09 Mechanisms & Rate Equations 1.
Introduction and Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M4L1 Dynamic Programming and Applications.
MathematicalMarketing Slide 5.1 OLS Chapter 5: Ordinary Least Square Regression We will be discussing  The Linear Regression Model  Estimation of the.
5.3 Factoring Quadratic Function 11/15/2013. Multiplying Binomials: FOIL First, Outside, Inside, Last Ex. (x + 3)(x + 5) ( x + 3)( x + 5) (x + 3)(x +
The Transportation Problem Simplex Method Remember our initial transportation problem with the associated cost to send a unit from the factory to each.
Compiling code and Computation into Biochemical Reactions Presenter : Chi-Yun Cheng.
Event-Leaping in the Stochastic Simulation of Biochemistry State Space AnalysisThe Goddess Durga Marc Riedel, EE5393, Univ. of Minnesota.
CHAPTER 3 material balance part iI
Entry Task Solve. 1. log16x = 2. log10,000 = x
Bacteria are engineered to produce an anti-cancer drug: Design Scenario drug triggering compound E. Coli.
… … Sequential Computation (e.g., filtering) Chemical Reactions Time-varying changes in concentrations of an input molecular type. Time-varying changes.
Bacteria are engineered to produce an anti-cancer drug: Design Scenario drug triggering compound E. Coli.
Solver & Optimization Problems
3.4 Quick Review Express In 56 in terms of ln 2 and ln 7.
Streaming & sampling.
Quadratic Equations by Dr. Terri
Lecture 2 – Monte Carlo method in finance
LINEAR EQUATIONS.
LINEAR EQUATIONS.
IntroductionLecture 1: Basic Ideas & Terminology
Presentation transcript:

Synthesizing Stochasticity in Biochemical Systems In partial fulfillment of the requirements for a master of electrical engineering degree Brian Fett Marc Riedel

Computation and Biology Cell Chemistry modeled with reaction sets Cell assumed to have a starting set of concentrations –Given the size of a cell, this implies quantities Modeling can be done in two ways –ODEs – quick, deterministic, approximate –Gillespie – Monte Carlo, Markov chain, exact

Design Scenario Anderson/Arkin Engineering Bacteria that will seek/destroy cancer Multi-stage system –Inactive, detect cancer, protection from host –Active, attack cancer, vulnerable The inactive form will be carried by blood stream –What if there is a cancer downstream?

Two Cancers Blood flow

Two Cancers Deterministic Blood flow

Two Cancers Stochastic Blood flow

Discrete Kinetics “States” ABC S1S1 S2S2 S3S3 A reaction transforms one state into another: e.g., R1R1 R2R2 R3R3 Track discrete (i.e., integer) quantities of molecular types.

S 1 = [5, 5, 5] S 2 = [4, 7, 4] R1R1 R2R2 R3R3 S 3 = [2, 6, 7] S 4 = [1, 8, 6] Discrete Kinetics State [ A, B, C ]

Stochastic Kinetics The probability that a given reaction is the next to fire is proportional to: Its rate constant (i.e., its k i ). The quantities of its reactants. R1R1 R2R2 R3R3 See D. Gillespie, “Stochastic Chemical Kinetics”, 2006.

Stochastic Kinetics Choose the next reaction according to: RiRi let For each reaction

Stochastic Kinetics Probabilistic Lattice

Designing Systems Stochastic and Deterministic

Modular Scheme Module inputsoutputs Quantities Quantities/ Probabilities

Modular Scheme Module

Deterministic inputsoutputs Quantities

Functional Modules Subtraction Fan-out Linear Scaling Multiplication Exponentiation Logarithmic Power Isolation

Functional Modules Subtraction y x y

Functional Modules Subtraction Fan-out x y2y2 y1y1 ynyn

Functional Modules Subtraction Fan-out Linear Scaling Linear x y

Functional Modules Subtraction Fan-out Linear Scaling Multiplication Multiply z x y

Functional Modules Subtraction Fan-out Linear Scaling Multiplication Exponentiation Exp x y

Functional Modules Subtraction Fan-out Linear Scaling Multiplication Exponentiation Logarithmic Log x y

Functional Modules Subtraction Fan-out Linear Scaling Multiplication Exponentiation Logarithmic Power p x y

Functional Modules Subtraction Fan-out Linear Scaling Multiplication Exponentiation Logarithmic Power Isolation y

Composing Modules Leading module must complete –Modules starting prematurely yield poor results –Rate separation between modules –Rate separation multiplies as modules are chained Module Locking –All modules can operate at similar pace –Subsequent modules locked –Key is generated when a module finishes –Key is required by ‘leading’ reaction of module

Module Locking Mult Linear

Locking within a Module Multi-reaction modules often loop Most loops have 4 stages –Initiate –Calculate –Terminate –Reset Keys must be destroyed at end of stage Initiate creates Loop type –very much like a key –Terminate destroys

Locking within a Module Log Initiate Calculate Reset Terminate

Locking within a Module Log Initiate Calculate Reset Terminate

Locking within a Module Log Initiate Calculate Reset Terminate

Locking within a Module Log Initiate Calculate Reset Terminate

Locking within a Module Log Initially 42 = Log 2 (4)

Stochastic Module Stochastic Module Prob. 0.2 Prob. 0.8 Choose between multiple outcomes Functions: Choice is made in one reaction Choice is quickly reinforced Outputs are produced Features: PDF set by quantities of types Any number of outcomes Arbitrarily low error

Basic Design Initialize – Make the choice Reinforce – Push forward with choice Stabilize – Remove possibility of ‘contamination’ –Prevent subsequent ‘choices’ Purify – Remove contamination Work – Do what was ‘chosen’

Initializing Reactions Reinforcing Reactions Stabilizing Purifying Working Reactions where Inside the Stochastic Module i i k ii odfdi i   '''' : '''''''''' ij iii kkkkk       ''' : i k ji ddij

Initializing Reactions Inside the Stochastic Module For all i, to obtain d i with probability p i, select E 1, E 2,…, E n according to: Use as appropriate in working reactions: (where E i is quantity of e i ) i i k ii odfdi i   '''' :

Error Analysis Let for three outcomes (i.e., i, j = 1,2,3). Require Performed 100,000 trials of Monte Carlo. 2 '''''''''',, 1  ij iii kkkkk '''''''''' iii kkkkk   

Locked Stochastic Module Lock Initializing reactions –All require the same key –Key generated by keysmith –Keysmith generated slowly Replace Purifying reactions –Destroy keysmith in presence of d –Preventative reactions instead –Linear growth rather than quadratic

Locked Stochastic Module An ounce of prevention… …worth a pound of cure.

Functional Probabilities Make choices based on inputs Stochastic Module Prob. 0.2 Prob. 0.8 Deterministic Module

Using IP/LP IP and LP solvers require –Set of constraints (inequalities) –An expression Solve for set of inputs –Meets constraints –Minimizes or maximizes expression Rewrite our problems in the form required

LP/IP Tricks Replace equality statements –Rounding errors break equality –Add error term –Minimize the error term Require a at least one molecule –Prevents solutions from devolving to zero

Sample the Input Space Number/location arbitrary More points –More accurate fit –More time calculating User defines desired IO –Table of points –Set of inputs –Desired output PDF at inputs X1X1 X2X2

Solve each point Space is quantities of e Solution is a ray Solve minimal magnitude Outside unit hyper-sphere e2e2 e3e3 e1e1

Bringing Points Together Pick a function –Solve for coefficients Scale point solutions Minimize difference Minimize coefficients x e

IP/LP Computation Value space is whole number sets, requires IP IP is NP-hard, LP is in P Scales solutions are also solutions Tricks –Solve points with LP, bring together with IP –Solve coefficients with LP, scale solution Use IP to scale optimally (weigh scaling, error) Scale by hand

Future Work Mapping our constructs to DNA –Reaction level? –Module level?

Past Future work 2 year Hiatus Jiang / Riedel DSP Builds on this work –Fan-out –Addition –Linear Scaling Adds Clock and Delay Module

Asynchronous Clock Clock –3 phase –Asynchronous –Uses a locking mechanism Delay –Each delay locks clock –Keeps clock in a phase –Allows clock to proceed when phase completes

Clock Delay Mechanism

Delay Element Extension of system –Shows strength of modular design Elegant asynchronous clock design Possible improvement for intra-module locking –Previous design – modified inter-module lock –Likely need more than 3 phases 4 phases – two calculating, two resetting 6 phases – three of each –Local/global clock

Questions?