Skip to main content

Cli for fitting macromolecule pH titration or binding assays data e.g. fluorescence spectra.

Project description

PyPI

ClopHfit

  • Cli for fitting macromolecule pH titration or binding assays data e.g. fluorescence spectra.
  • Version: "0.1.1"

Installation

At this stage few scripts are available in src/clophfit/old.

pyenv install 3.6.15
poetry install
poetry run pytest -v

Use

fit_titration.py

A single script for pK and Cl and various methods w/out bootstraping:

  1. svd
  2. bands and
  3. single lambda.

input ← csvtable and note_file

output → pK spK (stdout) and pdf of analysis

To do

  • Bootstrap svd with optimize or lmfit.
  • Average spectra
  • Join spectra ['B', 'E', 'F']
  • Compute band integral (or sums)

fit_titration_global.py

A script for fitting tuples (y1, y2) of values for each concentration (x). It uses lmfit confint and bootstrap.

input ← x y1 y2 (file)

output → K SA1 SB1 SA2 SB2 , png and correl.png

In global fit the best approach was using lmfit without bootstraping.

Example

 for i in *.dat; do gfit $i png2 --boot 99 > png2/$i.txt; done

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ClopHfit-0.2.1.tar.gz (11.4 kB view hashes)

Uploaded Source

Built Distribution

ClopHfit-0.2.1-py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page