Giter VIP home page Giter VIP logo

folding-curves's Introduction

Overview

This python routine is able to calculate parameters associated with a two-state folding model with data obtained from a measured observation such as absorbance or fluorescence.

Background

Folding curves for folding and unfolding using a two state model. For more information on the two-state model, read the following papers:

  1. "Unfolding free energy changes determined by the linear extrapolation method. 1. Unfolding of phenylmethanesulfonyl .alpha.-chymotrypsin using different denaturants." Marcelo M. Santoro , D. W. Bolen, Biochemistry, 1988, 27 (21), pp 8063โ€“8068, DOI: 10.1021/bi00421a014
  2. "Folding of horse cytochrome c in the reduced state." Bhuyan AK, Udgaonkar JB, J Mol Biol. 2001 Oct 5;312(5):1135-60.

Equations

There is a discrepancy between several publications for the folding equetion.

From Bhuyan's paper:

Sobs=(Cf +mf[D]+Cu+mu[D]exp((-Delta G +mg[D])/(RT))/(1+exp((-DeltaG +mg[D])/(RT)))

From Santoro's paper:

DeltaEpsilon=[(Cf+mf[D])+(Cu+mu[D])*exp-(Delta G/RT +mg[D]/RT)]/[1+exp-(Delta G/RT +mg[D]/RT)]

These two equations are inconsistent with one another.

For the fitting routine, the following equation is used:

Sobs=(Cf +mf[D]+(Cu+mu[D])exp((-Delta G +mg[D])/(RT))/(1+exp((-DeltaG +mg[D])/(RT)))

Using this equation is able to reproduce the numbers found in the papers.

Running the program

For proof of principle, the program can be run to show a typical output with the command using the default data.

$ python folding-curves.py

This will show a plot and also ask if you want to save the parameters to CSV files.

To run the routine with a specified CSV file

$ python folding-curves.py my-file.csv

The routine will prompt to save the fitting parameters and fit curves to 3 separate CSV files: One for the fitting parameters, one for fitting curves of the raw data to a CSV, and fitting curve of the percent unfolded function.

The name structure is such that the file names for my-file.csv would be

  • my-file_data_percent_unfolded.csv
  • my-file_fits.csv
  • my-file_parameters.csv

folding-curves's People

Contributors

jefste avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.