Tutorial:NLFIT Built In

From Howto Wiki

Jump to: navigation, search


Contents

Summary

The NLFit dialog is an interactive tool which allows you to monitor the fitting procedure during the non-linear fitting process. This tutorial fits the Michaelis-Menten function, which is a basic model in Enzyme Kinetics, and shows you some basic features of the NLFit dialog. During the fitting, we will illustrate how to perform a Global Fit, which allows you to fit two datasets simultaneously and share some parameter values.

Minimum Origin Version Required: Origin 8.0 SR6

What you will learn

This tutorial will show you how to:

  • Import a single ASCII file
  • Perform a global fit with shared parameters
  • Select a fitting range and fit part of the data
  • Use the Command Window to perform simple calculation

Steps

Import the file

  • Open a new workbook.
  • Click the Import Single ASCII button Image:Import Single ASCII.png to bring up the Open dialog. Browse to \Samples\Curve Fitting folder and select the file Enzyme.dat. Make sure to check the Show Options Dialog checkbox at the bottom of the dialog, and then click Open.
  • In the impASC dialog, expand Import Options: Header Lines nodes, and select 3 from Comments From drop down.
  • Click OK to import the file.

Image:Tutorial_NLFit_001.png

Plotting the Data

  • Highlight columns B & C and plot as a scatter plot by clicking the Image:Scatter.png button.

Image:Tutorial_NLFit_002_SR6.png

Fitting Michaelis-Menten Function

The single-substrate Michaelis-Menten function:

v=\frac{V_{max}[S]}{K_m+[S]}

is a basic model in enzyme kinetics study, where v is the reaction velocity, [S] is the substrate concentration, Vmax is the maximal velocity and Km represents the Michaelis constant. We can determine the Vmax and Km value, which are important enzyme properties, by fitting M-M function on v vs. [S] curve.

There is no M-M fitting function in Origin; however, we can use a more general model, the built-in Hill function to fit:

v=V_{max}\frac{x^n}{k^n+x^n}

where n means the cooperative sites. For single-substrate model, we can just fix n = 1 during fitting and it will become the simplest form, the M-M function.

There are two curves, reaction without Inhibitor and reaction with Competitive Inhibitor in the graph, and the NLFit tool can fit these two curves simultaneously. Since for competitive inhibition reaction, the maximum velocity is the same with no inhibition reaction, we can share the Vmax value during the fitting procedure, which can be implemented by a Global Fit.


  • With the graph active, select the menu item Analysis: Fitting: Nonlinear Curve Fit to bring up the NLFit dialog. Select Hill function from Growth/Sigmoidal category on the Settings: Function Selection page.

Image:Tutorial_NLFit_003_SR6.png

  • On Settings: Data Selection page, click the triangular button next to the Input Data and choose Add all plots in active page to set the data.

Image:Tutorial_NLFit_004_SR6.png

  • Select Global Fit from Multi-Data Fit Mode drop-down list on the Settings: Data Selection page.

Image:Tutorial_NLFit_005_SR6.png

  • Switch to the Parameters tab, check the Share box on the row Vmax. These Share check boxes are only available when using Global Fit mode. Check the Fixed box for n and n_2, and make sure their values are 1.

Image:Tutorial_NLFit_006_SR6.png

After that, click the Fit button to generate reports. The fit result will also be pasted on the original graph. (We just show the parameter values in the following figure.)

Image:Tutorial_NLFit_007_SR6.png

From the fit result, we can conclude that the maximum velocity is about 2160 μM / min. and Km for no inhibitor and competitive inhibitor model is 1.78μM and 4.18μM, respectively.

Fitting Lineweaver-Burk Plot

As we know, the model parameters can also be estimated by the Lineweaver–Burk or double-reciprocal plot. The Lineweaver–Burk plot takes the reciprocal of both sides of the M-M function and plots by 1/v vs. 1/[S]:

\frac{1}{v}=\frac{1}{V_{max}}+\frac{K_m}{V_{max}[S]}

This is actually a linear function:

Image:Tutorial_NLFit_L-B_Plot.png

We will use the No Inhibitor data to illustrate how to calculate Km and Vmax by L-B plot.


  • Go back to the raw data worksheet and add two more columns by clicking the Image:Add_New_Columns.png button. Right-click on column D and select Set As: X from the context fly-out menu to set it as an X column. Right-click on column D again and select Set Column Values to bring up the Set Values dialog. In the dialog edit box, enter: 1/Col(A) and set the Recalculate mode as None, since we don't need to auto update the reciprocal values in this example.


Similarly, set column E's values as 1/Col(B). Enter the long name for column D & E as 1 / [S] & 1 / V, respectively. And then we have:

Image:Tutorial_NLFit_009_SR6.png

  • Highlight columns D & E and click Image:Scatter.png button to create a scatter plot.

Image:Tutorial_NLFit_010_SR6.png

From the above equation, we know there is a linear relationship between 1/v and 1/[S], so we can use the NLFit tool to fit a straight line on this plot. (You can also use the Fit Linear tool from Analysis: Fitting: Fit Linear)

  • Bring up the NLFit dialog again, select Line function from Polynomial category, and then click the Fit button Image:Fit.png directly to generate results.

Image:Tutorial_NLFit_011_SR6.png

From the plot, one may doubt that this is the best fit curve since there is a point located far away. Actually, the right side of L-B plot is low substrate concentrations area, the measurement error may be large, so we'd better exclude these points during fitting.

Image:Tutorial_NLFit_012_SR6.png

  • Click the lock icon on the graph upper-left corner, and select Change Parameters to bring back NLFit dialog.

Image:Tutorial_NLFit_013_SR6.png

In Settings: Data Selection page, click the Image:Triangle_Button.png button on Input Data node, and then choose Reselect All Data from Graph from fly-out menu.

Image:Tutorial_NLFit_014_SR6.png

Then the NLFit dialog rolls up and your cursors become Image:Tutorial_NLFit_015.png when you move to the graph page. Click and draw a rectangle to select data points you want to fit. The input range is labeled by vertical lines. You can also click-and-move these lines to change the input range.

Image:Tutorial_NLFit_015_SR6.png

Click the Image:Tutorial_NLFit_018.png button on Select Data in Graph window to go back to NLFit dialog.

Image:Tutorial_NLFit_016_SR6.png

  • Click the Fit button on the NLFit dialog to recalculate the result. You can see from the graph that the report table was updated.

Image:Tutorial_NLFit_017_SR6.png

  • Since the intercept of the fitted curve is 1 / Vmax, it is equal to 4.76191E-4 in this example. To get the Vmax value, select Window: Command Window to open the command window, type
1/4.76191E-4 =
and press ENTER:

Image:Tutorial_NLFit_018_SR6.png

Origin returns the value 2099, which is close to what we got above, 2160. (When fitting the hill function above, we shared Vmax when fitting two datasets. If you fit the No Inhibitor data only, this value will be closer.)
Personal tools