20.109(S09):Data analysis (Day8)

From OpenWetWare
Jump to: navigation, search

20.109(S09): Laboratory Fundamentals of Biological Engineering

20.109(S09) frontpg.JPG

Home        People        Schedule Spring 2009        Assignments        Lab Basics        OWW Basics       
Protein Engineering        Expression Engineering        Cell-Biomaterial Engineering              


This is it, folks! Moment of truth. Time to find out how the proteins that you worked so hard to make, purify, and test really behave. Although you should be able to produce reasonable titration curves by following the example of Nagai, the introduction/review of binding constants below may help contextualize your analysis.

Simple Binding Curve The binding fraction y at first increases linearly as the starting ligand concentration is increased, then asymptotically approaches full saturation (y=1). The dissociation constant is equal to the ligand concentration [L] for which y = 1/2.
Semilog Binding Curves By converting ligand concentrations to logspace, the dissociation constants are readily determined from the sigmoidal curves' inflection points. The three curves each represent different ligand species. The middle curve has a close to 10 nM, while the right-hand curve has a higher and therefore lower affinity between ligand and receptor (vice-versa for the left-hand curve).

Let’s start by considering the simple case of a receptor-ligand pair that are exclusive to each other, and in which the receptor is monovalent. The ligand (L) and receptor (R) form a complex (C), which reaction can be written

At equilibrium, the rates of the forward reaction (rate constant = ) and reverse reaction (rate constant = ) must be equivalent. Solving this equivalence yields an equilibrium dissociation constant , which may be defined either as , or as , where brackets indicate the molar concentration of a species. Meanwhile, the fraction of receptors that are bound to ligand at equilibrium, often called y, is , where indicates total (both bound and unbound) receptors. Note that the position of the equilibrium (i.e., y) depends on the starting concentrations of the reactants; however, is always the same value. The total number of receptors = [C] (ligand-bound receptors) + [R] (unbound receptors). Thus,

where the right-hand equation was derived by algebraic substitution. If the ligand concentration is in excess of that of the receptor, [L] may be approximated as a constant, L, for any given equilibrium. Let’s explore the implications of this result:

  • What happens when L << ?
→Then y ~ , and the binding fraction increases in a first-order fashion, directly proportional to L.
  • What happens when L >> ?
→In this case y ~1, so the binding fraction becomes approximately constant, and the receptors are saturated.
  • What happens when L = ?
→Then y = 0.5, and the fraction of receptors that are bound to ligand is 50%. This is why you can read directly off of the plots in Nagai’s paper (compare Figure 3 and Table 1). When y = 0.5, the concentration of free calcium (our [L]) is equal to . This is a great rule of thumb to know.

The figures at right demonstrate how to read from binding curves. You will find semilog plots (bottom) particularly useful today, but the linear plot (top) can be a helpful visualization as well. Keep in mind that every L value is associated with a particular equilbrium value of y, while the curve as a whole gives information on the global equilibrium constant .

Of course, inverse pericam has multiple binding sites, and thus IPC-calcium binding is actually more complicated than in the example above. The reported by Nagai is called an ‘apparent ’ because it reflects the overall avidity of multiple calcium binding sites, not their individual affinities for calcium. Normally, calmodulin has a low affinity (N-terminus) and a high affinity (C-terminus) pair of calcium binding sites. However, the E104Q mutant, which is the version of CaM used in inverse pericam, displays low-affinity binding at both termini. Moreover, the Hill coefficient, which quantifies cooperativity of binding in the case of multiple sites, is reported to be 1.0 for inverse pericam. This indicates that inverse pericam behaves as if it were binding only a single calcium ion per molecule. Thus, wild-type IPC is well-described by a single apparent .

Prior to commencing with data analysis, we will have a presentation from Christine Tafoya of the Environmental Health and Safety Office. This talk will help prepare you for doing cell culture next week during Module 2.


Part 1: Titration curve in Excel and first estimate of KD

Today you will analyze the fluorescence data that you got last time. Begin by analyzing the wild-type protein as a check on your work (your curve should resemble Nagai's Figure 3L), then move on to your mutant samples. If you are not familiar with manipulations in Excel, use the Help menu or ask the teaching faculty for assistance.

  1. Open an Excel file for your data analysis. Begin by making a column of the free calcium concentrations present in your twelve test solutions. Assuming a 1:1 dilution of protein with calcium, the concentrations are: 0.1 nM, 10 nM, 50 nM, 100 nM, 200 nM, 400 nM, 600 nM, 800 nM, 1 μM, 2.5 μM, 10 μM, 100 μM. Be sure to convert all concentrations to the same units.
  2. Now open the text file containing your raw data as a tab-delimited file in Excel (you can download the file from today's "talk" page). Convert the row-wise data to column-wise data (using Paste SpecialTranspose), and transfer each column to your analysis file. Add column headers to indicate which protein is which, and analyze each replicate separately for now. Also include a column of your control samples that did not contain protein.
  3. Begin by calculating the average of your blank samples, and bold this number for easy reference. It is the background fluorescence present in the calcium solutions and should be quite low. Subtract this background value from each of your raw data values. It may help to have a 6-column series called “RAW”, and another called “SUBTRACTED.”
  4. Next you should normalize your data. The maximum and minimum fluorescence values for a given titration series should be defined as 100% and 0% fluorescence, respectively, and every other fluorescence value should be expressed as a percentage in between. Think about how to mathematically express these conditions.
    • First calculate the percent fluorescence for both replicates. Then make a new column and calculate the average percentage as well.
    • If one data point seems really off from the other replicate and from the expected trend, you might consider it an outlier and delete it, especially if you have good reason to believe that there was a reason (error in pipetting, air bubble in that well) for the anomaly. Otherwise, you might be losing valuable information, and/or misleading anyone who tries to interpret your data.
  5. For each protein, plot this normalized data versus calcium concentration. Save these plots in case you want to include them in your report.
    • You might plot the two replicates as points and their average value as a dashed line (see front page of this module).
  6. Note down the approximate inflection points of the curves: these indicate the approximate values of the apparent for each sample.

Part 2: Improved estimate of KD using MATLAB modeling


  1. Download these three files: S09_Fit_Main, Fit_SingleKD, and Fit_KDn. They will be available in the Downloads folder under your username. Move them to the username/Documents/MATLAB folder on your PC.
  2. Double-click on the MATLAB icon to start up this software.
  3. The main window that opens is called the command window: here is where you run programs (or directly input commands) and view outputs. You can also see and access the command history, workspace, and current directory windows, but you likely won’t need to today.
  4. In the command window, type more on; this command allows you to scroll through multi-page output (using the spacebar), such as help files.
  5. In addition to the command area, MATLAB comes with an editor. Click FileOpen and select the program Fit_Main. It has the .m extension and thus is executable by MATLAB. Read the introductory comments (the beginning of a comment is indicated by a % sign), and then input your fluorescence data.
  6. Read through the program, and as you encounter unfamiliar terms, return to the workspace and type help functioname. Feel free to ask questions of the teaching faculty as well.
    • You might read about such built-in functions as logspace and nlinfit.
    • You will also want to open and read Fit_SingleKD – a user-defined function called by Fit_Main – in the MATLAB editor.
    • If you type help function you will learn the syntax for a function header.
    • Note that a dot preceeding an operator (such as A ./ B or A .* B) is a way of telling MATLAB to perform element-by-element rather than matrix algebra.
    • Also note that when a line of code is not followed by a semi-colon, the value(s) resulting from the operation will be displayed in the command window.


  1. Once you more-or-less follow Part 1 of the program, type S09_Fit_Main in the workspace, hit return to run the program, and address the following questions in your notebook:
    • Why must the fluorescence data be transformed (from S to Y) prior to use in the model?
    • What values are output in the command window, and how do they compare to the values you estimated from your Excel plots?
    • Figure 1 should display your wild type and mutant data points and model curves. How do they look in comparison to the curves you plotted in Excel?
    • Figure 2 should display the residuals (difference between data and model) for your three proteins. If the absolute values are low, this indicates good agreement between the model and the data numerically. Whether or not this is the case, another thing to look for is whether the residuals are evenly and randomly distributed about the zero-line. If there is a pattern to the errors, likely there is a systematic difference between the data and the model, and thus the model does not reflect the actual binding process well. What are the residuals like for each of your modeled proteins?
  2. Now move on to Part 2 of the Fit_Main program. Part 2 also fits the data to a model with a single, ‘apparent’ value of , but it allows for multiple binding sites and tests for cooperativity among them. The parameter used to measure cooperativity is called the Hill coefficient. A Hill coefficient of 1 indicates independent binding sites, while greater or lesser values reflect positive or negative cooperativity, respectively. Again, address the following in your notebook:
    • Visually, which model appears to fit your wild-type data better (Fig. 3 vs. Fig. 1)?
    • Do the respective residuals support your qualitative assessment (Fig. 4 vs. Fig. 2)?
    • Numerically, how do the values of compare for the two models? How does the value of n compare to the implicitly assumed value in Part 1?
    • Don't forget to save any figures you want to use in your report! If the legends are covering up your data, you can simply move them over with your mouse.
  3. Finally, you can skim Part 3 of the Fit_Main program. Don’t worry too much about the coding details, but do read through the comments.
    • Look at Part 1 of Figure 5: are the binding curves asymptotic, sigmoidal, or other? What does this indicate? You can use the zoom button to get a closer look at part of the plot, or the axis command present in the code. (Don't worry too much about this question if it is unclear.)
    • Now look in the command window. What values of and Hill coefficient (n) do you get for your three proteins? How do the ’s from Part 3 compare to the ones from Parts 1 and 2? Don’t be discouraged if your wild-type values do not exactly match Nagai’s work, or if there is variation between Parts 1, 2, and 3. (As an example, for Part 1 I got = 0.31, for Part 2 = 0.33 and n = 1.2, and for Part 3 = 0.2, and n = 0.7 for a wild-type protein I tested.)
    • What is the relationship between slope and intercept, and and n?
    • Comparing the model and data points by eye (Part 2 of Figure 5), do you think it is a good model for any of your proteins? If so, which ones? If your mutant proteins are not well-described by these models, what kind of model(s) (qualitatively speaking) do you think might be useful?
  4. Optional: If your data might be well-described by a model with two KD's (or if you are interesting in exploring some sample data that is), download and run Fit_TwoKD and Fit_TwoKD_Func.

For next time

  1. The first draft of your research article is due by 11 a.m. on your next lab day.
  2. Shortly before or during class next time, you should read the 20.109(S09):Guidelines_for_working_in_the_tissue_culture_facility.