modeling and computational tools for contemporary biology

31
Modeling and Computational Tools for Contemporary Biology By Jeff Krause, Ph.D. Shodor 2010 NCSI/iPlant CBBE Workshop

Upload: tia

Post on 24-Feb-2016

40 views

Category:

Documents


1 download

DESCRIPTION

Modeling and Computational Tools for Contemporary Biology. By Jeff Krause, Ph.D. Shodor 2010 NCSI/ iPlant CBBE Workshop. What is Computational Biology?. The scientific method enhanced: Observe -> Explain -> Predict -> Test But, with the explanation in the form of a computational model - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Modeling and Computational Tools for Contemporary Biology

Modeling and Computational Tools for Contemporary Biology

By Jeff Krause, Ph.D. Shodor

2010 NCSI/iPlant CBBE Workshop

Page 2: Modeling and Computational Tools for Contemporary Biology

What is Computational Biology?

1. The scientific method enhanced:– Observe -> Explain -> Predict -> Test– But, with the explanation in the form of a computational

model

2. Using computers to find meaning in data– Performing calculations– Filtering out less interesting cases– Presenting data in ways that are easy to interpret

Page 3: Modeling and Computational Tools for Contemporary Biology

Computers are Really Dumb …

• But they do what they’re told,• They do it quickly• They don’t get distracted• And they don’t make many mistakes

People are Really Smart …• They can solve hard problems• But they often get distracted and make mistakes

Page 4: Modeling and Computational Tools for Contemporary Biology

Why do we need computational modeling in the classroom?

Dynamic models are used to represent and understand how change happens based on cause and effect

In teaching:• Models can be used to help students go from a list of facts to

a functional understanding

In science:• Models can be used to evaluate whether our understanding

of a natural phenomenon is sufficient to account for it’s behavior

Page 5: Modeling and Computational Tools for Contemporary Biology

Computational Science Pedagogy

• Seeing a dynamic simulation - help students to form a functional representation

• Adjust a simulation – learn about the system by studing it with virtual experiments

• Modify a model – practice abstracting to an algortihmic explanation (mechanistic explanation)

• Create a model – put the pieces together

Page 6: Modeling and Computational Tools for Contemporary Biology

Things move, interact and transform in living (and non-living) systems

“Things” tend to redistribute themselves to fill a space.

When two “things” come together, one, or both, of them is changed.

Each moment, some of the “things” will become something else.

Page 7: Modeling and Computational Tools for Contemporary Biology

Biological macromolecules are the building blocks of life

• Lipids, DNA and protein don’t occur naturally in high abundance.

• Cell’s expend energy to produce them in a regulated way in order to maintain their compartmental order, and control over the chemical and physical processes of life.

– DNA - information storage– Lipids - membrane structure – Proteins - molecular workhorses

Page 8: Modeling and Computational Tools for Contemporary Biology

Some ground rules for chemical kinetics

• First order– Rate depends on the amount

of a single species– Example - some of the

enzyme-substrate complex will form product and release enzyme

– Simple exponential kinetics for irreversible reaction

Consider each basic step individually – most can be reduced to a first, or second-order process

Page 9: Modeling and Computational Tools for Contemporary Biology

More ground rules for chemical kinetics

Steps that involve more than two species should be treated as multiple steps involving two species, where one of the species is a complex of multiple species

• Second order– Rate depends on the amount of two species– Example - substrate and enzyme combine to form a complex

(or, a second substrate combines with the complex to form a two-substrate complex)

– Kinetics

Page 10: Modeling and Computational Tools for Contemporary Biology

The NCSI Library Will Go Here

Page 11: Modeling and Computational Tools for Contemporary Biology

Exponential Growth

Integrated rate equationPt=P0e-kt allows us to calculate Pt exactly*at any time (t)

*were still likely to use a calculator orcomputer, so someestimation will be involved

Page 12: Modeling and Computational Tools for Contemporary Biology

Sometimes there is no integrated rate equation

What can we do if we don’t have an integrated rate equation to calculate our population exactly?• Numerical integration

Page 13: Modeling and Computational Tools for Contemporary Biology

Numerical IntegrationEuler Method: first-step 1

Calculate the slopeat the initial time

Page 14: Modeling and Computational Tools for Contemporary Biology

Euler Method: first-step 2

Use the slope at the initial time to estimate the value of the function after a time-step

Page 15: Modeling and Computational Tools for Contemporary Biology

Euler Method: first-step

This estimated value willserve as the initial time for the next interval

Page 16: Modeling and Computational Tools for Contemporary Biology

Euler Method: second-step 1

Calculate the slope atthe estimated value

Page 17: Modeling and Computational Tools for Contemporary Biology

Euler Method: second-step 2

Use the slope at the initial time to estimate the value of the function after the next time-step

Page 18: Modeling and Computational Tools for Contemporary Biology

Euler Method: second-step

Can Euler do better than this?

Page 19: Modeling and Computational Tools for Contemporary Biology

Euler Method at Higher Resolution: first-step

A smaller time-step resultsin an estimated value with less error than after a larger time-step

Page 20: Modeling and Computational Tools for Contemporary Biology

And we are able to adjust the slope closer to that of the actual function

Euler Method at Higher Resolution: second-step

Page 21: Modeling and Computational Tools for Contemporary Biology

Taking more time-steps results in a better estimate of the functions value ata particular time

Euler Method at Higher Resolution: comparison

Page 22: Modeling and Computational Tools for Contemporary Biology

Euler Method at Higher Resolution: third-step

Page 23: Modeling and Computational Tools for Contemporary Biology

Euler Method at Higher Resolution: fourth-step

Page 24: Modeling and Computational Tools for Contemporary Biology

Euler Method at Higher Resolution: comparison

Page 25: Modeling and Computational Tools for Contemporary Biology

Higher-Order Numerical Methods:Runge-Kutta 2

Start by finding simple Eulerestimate for populationat current time

Page 26: Modeling and Computational Tools for Contemporary Biology

Higher-Order Numerical Methods:Runge-Kutta 2

Estimate the slope after the time-step based on the simple Euler estimate

Page 27: Modeling and Computational Tools for Contemporary Biology

Higher-Order Numerical Methods:Runge-Kutta 2

Average the slopes at eitherend of the interval and usethe average slope to estimate the population after the time-step

Page 28: Modeling and Computational Tools for Contemporary Biology

Higher-Order Numerical Methods:Runge-Kutta 2

Repeat the steps: Estimate the initial slope, estimate the final slope, averagethe slopes to estimatethe population

Page 29: Modeling and Computational Tools for Contemporary Biology

Higher-Order Numerical Methods:Runge-Kutta 2

Page 30: Modeling and Computational Tools for Contemporary Biology

Comparison of Simple Euler and Runge-Kutta 2

Page 31: Modeling and Computational Tools for Contemporary Biology

Higher resolution improves Runge-Kutta 2 estimates