How to Use Bindfit

Helicopter view of how it works:

What will the calculator (Bindfit) do?

The calculator which we call Bindfit is designed to work with classical supramolecular titration data obtained from NMR, UV, Fluorescence and other methods (see c.f. P. Thordarson, Chem. Soc. Rev., 2011, 40, 1305-1323 – Link). Bindfit is an example of "APPS" within the broader Open Data Fit project.

 
Overview:
The calculator operate by accepting a preformatted excel document with host and guest (ligand) concentrations at each titration points + the appropriate signals, e.g., for NMR  = chemical shift(s) and for UV-Vis = absorbance(s) at a given wavelength(s). The user also has to provide some initial guess for the binding constant(s).
 
The calculator then performs a non-linear regression on this data using the exact binding equation implemented via a python program on our server.
 
The results are then displayed and the user gets to decide if the calculations should run again with a different initial value or if the user wants to download the results and/or save them to a permanent url (after adding optional metadata).
 
The excel output contains all the key results which can then be plotted etc. by the user at their own leisure.
 
The permanent url needs to be saved somewhere (e.g. spreadsheet or word document or by emailing someone) but once you have that url, you can enter back at any time using browser/computer to retrieve your data and calculations. You even have then the option of editing (rerunning) the fit and/or downloading your results again!
 
Step-by-step description:
      1.  At the top of the page you will see three tabs "Control", "Results" and "Save" to the left and two on the right "Fit" and "Molefraction".
      2.  Prepare your excel input file. See example input files here for UV/Fluorescence (UV1to1 and NMR (NMRt1o1). Excel 2010 (xlsx), Excel 2007 (xls) and CSV (csv) are all accpetable as long as the first (active) worksheet contains the data in the correct format. The first row has the headers, the first two columns are the host and guest concentrations and the remaining columns are your data – which can be anything between 1 – XXX of signals/wavelengths (e.g. just one proton resonance, three proton resonances, one UV wavelength or the entire spectra between 300-700 nm at 1 nm resolution. For UV and Fluorescence data we don’t recommend large regions of spectra where the signal intensity stays close to zero throughout the entire titration.
      3. IMPORTANT – copy/paste the data ONLY from you correctly formatted excel file to a new excel file (or csv) and save this file. See video below if you are unsure or are getting strange errors (doesn't seem to be as much trouble with the new python site).
      4. If you don’t do this there is a risk that “hidden” information such as deleted cells in your “old” excel will then interfere with how our program extract the data from the Excel file and the program will the crash or give non-sense results (again - not as much of a problem with our new site).
      5. In the "Control" tab, press "Choose Fitter" and select the appropriate binding model (or save data only to save data without fit).
      6. Upload your excel spreadsheet by pressing the "Upload input file" bar.
      7. N.b. if you selected "save data only" you will now proceed dirctly to "save" in step 19 below.
      8. If successful, the "Fit" tab should show your raw data.
      9. Change the initial guess for your binding constant(s) just below the upload bar if you wish to do us.
      10. For UV-Vis (or Fluorescence) data where the concentration of the host are not constant, hit "correct for dilution" NOT required for NMR.
      11. Hit the "Fit" bar. "Fit" will change to "Fitting"
      12. Wait for the calculations to run. Usually less than 3-5 seconds.
      13. When they are finished the "Fit" bar changes from "Fitting" to "Recalculate Fit" (e.g. if you want to try agan with a different initial guess or model).
      14. The "Fit" tab or graph will now show the fitted binding isotherm and below that the all important "residual" plot. If you click on the "Molefraction" tab on the right you will also see how the molefraction of the different species change through your titration.
      15. If you click now on the "Results" tab you will see all the key results with the binding contants first at the top. We will post more information about this later
      16. Take a look at the output in the "results" tab (and the residual plot).
      17. Iterate with a new initial guess if you think this is required.
      18. If you now click on "Save" you save and/or export your data.
      19. First you see a number of optional field that you can put some (meta)data in.
      20. At the bottom you see two bars "Save" and "Export".
      21. Hitting "Export" will then transform that one quickly to "Download". Hitting download again will download an excel file with all the outputs. This process can take a couple of seconds. We will poster later more info on how to interpret the results from that excel file.
      22. Clicking on "Save" on the other hand will store your data and results in a cloud-based database with an unique URL entry. You will "Save" change to "Link to saved fit"
      23. The program has now saved your data and result to cloud-based database linked to an unique URL. You will see this URL directly below the "Link to save fit". Copy paste it somewhere for storage (e.g. word or excel table). You can also click on the "Link to save fit" - your browser should then open up a new tab with your database entry. See this example here:
      24. http://app.supramolecular.org/bindfit/view/8a860975-81e0-4251-b7b3-bf18fa300425
      25. If you do that you will now see all your input data, your results and all the additional info you entered. You can also edit the fit (this will create a new unique URL) or download the results in an excel file.
      26. Do make sure to keep you URL info. Once you close your browser you cannot retrieve your database entry without with our current configuration (we will change this in the future.
      27. Don’t forget – this is a program – it calculates results based on inputs. You still need to analyse the results and see for instance if they make any physical/real sense.
Notes:
Bindfit work on the assumptions that the free guest is “silent” and that the first data point is the pure host and in effect then fit the changes to your signal. The alternatives, where the host spectra is unknown or where the guest absorbs / fluorescences will be added a later stage.
 
For fluorescence please note that this assumes not only that the free guest is “silent” (non-fluorescent) but also that dynamic quenching is absent.

 
About the theory:
The equations used are in most cases available in previous work by Thordarson, including:
P. Thordarson, Chem. Soc. Rev., 2011, 40, 1305-1323 – Link.
P. Thordarson, “Binding Constants and their Measurement” in Supramolecular Chemistry: From Molecules to Nanomaterials, Vol 2, Ed. J. W. Steed and P. A. Gale, John Wiley & Sons, Chichester, UK, 2012, 239-274. Link.
 
About the python program used:
See the source code. This program is not dissimilar to the matlab programs published by Thordarson in P. Thordarson, Chem. Soc. Rev., 2011, 40, 1305-1323 – Link.
 
About the python deployment on the web (the calculators):
This not-so-straightforward (to say the least!) step was done by our highly skilled web developer. In the past we also deployed similar matlab programs (and was even worse!). If you are interested in deploying Python or Matlab programs on the web please don't hesitate to contact us for further info here.
 
How to cite supramolecular.org when using it:
To help us raising the visibility of this platform, we recommend that if you use supramolecular.org you cite it with these two references in the citation list:
 
1. http://supramolecular.org
2. D. Brynn Hibbert and Pall Thordarson, Chem. Commun., 2016, 52, 12792-12805.
 
You may also want to include a link to the following paper for most of the equations / theory used:
P. Thordarson, Chem. Soc. Rev., 2011, 40, 1305-1323.
 
We STRONGLY recommend also that you include a list of your URL's (your results - see steps 23-25 above) in your supplementary information data. We believe this is the real strength of supramolecular.org, i.e.,researchers in the future will be able to look at your raw data and see exactly how the calculations where performed.

Search

Recent Tweets