20.109(S09):Data analysis (Day8)

Introduction
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.

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

$$ R + L  \rightleftharpoons\ ^{k_f}_{k_r}      C $$

At equilibrium, the rates of the forward reaction (rate constant = $$k_f$$) and reverse reaction (rate constant = $$k_r$$) must be equivalent. Solving this equivalence yields an equilibrium dissociation constant $$K_D$$, which may be defined either as $$k_r/k_f$$, or as $$[R][L]/[C]$$, 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 $$C/R_{TOT}$$, where $$R_{TOT}$$ 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, $$K_D$$ is always the same value. The total number of receptors $$R_{TOT}$$= [C] (ligand-bound receptors) + [R] (unbound receptors). Thus,

$$\qquad y = {[C] \over R_{TOT}} \qquad = \qquad {[C] \over [C] + [R]} \qquad = \qquad {[L] \over [L] + [K_D]} \qquad$$

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 << $$K_D$$?
 * &rarr;Then y ~ $$L/K_D$$, and the binding fraction increases in a first-order fashion, directly proportional to L.


 * What happens when L >> $$K_D$$?
 * &rarr;In this case y ~1, so the binding fraction becomes approximately constant, and the receptors are saturated.


 * What happens when L = $$K_D$$?
 * &rarr;Then y = 0.5, and the fraction of receptors that are bound to ligand is 50%. This is why you can read $$K_D$$ 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 $$K_D$$. This is a great rule of thumb to know.

The figures at right demonstrate how to read $$K_D$$ 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 $$K_D$$.

Of course, inverse pericam has multiple binding sites, and thus IPC-calcium binding is actually more complicated than in the example above. The $$K_D$$ reported by Nagai is called an ‘apparent $$K_D$$’ 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 $$K_D$$. 

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 Special &rarr; Transpose), 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.
 * 5) *First calculate the percent fluorescence for both replicates. Then make a new column and calculate the average percentage as well.
 * 6) *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.
 * 7) For each protein, plot this normalized data versus calcium concentration. Save these plots in case you want to include them in your report.
 * 8) *You might plot the two replicates as points and their average value as a dashed line (see front page of this module).
 * 9) Note down the approximate inflection points of the curves: these indicate the approximate values of the apparent $$K_D$$ for each sample.

Preparation

 * 1) Download these three files: [[Media:S09_Fit_Main.m  | S09_Fit_Main]], [[Media:Fit_SingleKD.m| Fit_SingleKD]], and [[Media:Fit_KDn.m| 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 File &rarr; Open 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.
 * 7) * You might read about such built-in functions as logspace and nlinfit.
 * 8) * You will also want to open and read Fit_SingleKD – a user-defined function called by Fit_Main – in the MATLAB editor.
 * 9) * If you type help function you will learn the syntax for a function header.
 * 10) * 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.
 * 11) * 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.

Analysis

 * 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:
 * 2) * Why must the fluorescence data be transformed (from S to Y) prior to use in the model?
 * 3) * What $$K_D$$ values are output in the command window, and how do they compare to the values you estimated from your Excel plots?
 * 4) * 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?
 * 5) * 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?
 * 6) 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 $$K_D$$, 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:
 * 7) *Visually, which model appears to fit your wild-type data better (Fig. 3 vs. Fig. 1)?
 * 8) *Do the respective residuals support your qualitative assessment (Fig. 4 vs. Fig. 2)?
 * 9) *Numerically, how do the values of $$K_D$$ compare for the two models? How does the value of n compare to the implicitly assumed value in Part 1?
 * 10) *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.
 * 11) 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.
 * 12) * 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.)
 * 13) * Now look in the command window. What values of $$K_D$$ and Hill coefficient (n) do you get for your three proteins? How do the $$K_D$$’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 $$K_D$$ = 0.31, for Part 2 $$K_D$$ = 0.33 and n = 1.2, and for Part 3 $$K_D$$ = 0.2, and n = 0.7 for a wild-type protein I tested.)
 * 14) * What is the relationship between slope and intercept, and $$K_D$$ and n?
 * 15) * 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?
 * 16) 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 [[Media:Fit_TwoKD.m | Fit_TwoKD]] and [[Media:Fit_TwoKD_Func.m | 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.