clophfit


Nameclophfit JSON
Version 0.10.3 PyPI version JSON
download
home_pageNone
SummaryCli for fitting macromolecule pH titration or binding assays data e.g. fluorescence spectra.
upload_time2023-09-07 20:42:13
maintainerNone
docs_urlNone
authorNone
requires_python<3.12,>=3.9
licenseNone
keywords clophensor data fitting macromolecule binding ph svd
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ClopHfit

[![PyPI](https://img.shields.io/pypi/v/ClopHfit.svg)](https://pypi.org/project/ClopHfit/)
[![CI](https://github.com/darosio/ClopHfit/actions/workflows/ci.yml/badge.svg)](https://github.com/darosio/ClopHfit/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/darosio/ClopHfit/branch/main/graph/badge.svg?token=OU6F9VFUQ6)](https://codecov.io/gh/darosio/ClopHfit)
[![RtD](https://readthedocs.org/projects/clophfit/badge/)](https://clophfit.readthedocs.io/)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6354111.svg)](https://doi.org/10.5281/zenodo.6354111)

This package provides a command line interface for fitting pH titration or
binding assay data for macromolecules, such as fluorescence spectra. With this
tool, users can easily analyze their data and obtain accurate fitting results.

- Version: "0.10.3"

## Installation

You can get the library directly from [PyPI](https://pypi.org/project/ClopHfit/)
using `pip`:

    pip install clophfit

Alternatively, you can use [pipx](https://pypa.github.io/pipx/) to install it in
an isolated environment:

    pipx install clophfit

To enable auto completion for the `clop` command, follow these steps:

1.  Generate the completion script by running the following command:

        _CLOP_COMPLETE=bash_source clop > ~/.local/bin/clop-complete.bash

2.  Source the generated completion script to enable auto completion:

        source ~/.local/bin/clop-complete.bash

## Usage

You can check out the documentation on <https://darosio.github.io/ClopHfit> for
up to date usage information and examples.

### CLI

ClopHfit provides several command line interface tools for fitting and
processing data.

#### prtecan

Extract and fit titrations from a list of Tecan files collected at various pH or
chloride concentrations:

    ppr -o prova2 --is-ph tecan list.pH --scheme ../scheme.txt --norm
        --dil additions.pH --Klim 6.8,8.4 --sel 7.6,20

Use the --no-weight option to reproduce an older pr.tecan version.

#### eq1

Predict chloride dissociation constant K_d at a given pH:

    clop eq1 --help

#### prenspire

Parser for EnSpire (PerkinElmer) file:

    ppr -o folder enspire file.csv

Destination folder (default: "./Meas-${version}") will contain for each Measurement:

- a table (csv) in wide tabular form e.g. <lambda, A01, ..., H12>;
- corresponding graphical (png) representation of spectra from all wells.

  ppr -o folder enspire file.csv note.csv

Destination folder (default: "./Meas-${version}") will also contain:

- a pdf for each titration and label;
- a pdf for global (multiband) analysis pdfalong with global and all_SVD;
- a pdf for SVD analysis of all concatenated spectra.

#### note_to_csv

    note_to_csv -t 37 -l "B E F" -o 37 NTT-G03-Cl_note
    note_to_csv -t 20 -l "A C D" -o 20 NTT-G03-Cl_note
    cat 20 37 > G03_Cl_note.csv

### Python

ClopHfit can be imported and used as a Python package. The following modules are
available:

    clophfit.prenspire - parser for EnSpire (PerkinElmer) files
    clophfit.prtecan - perform fitting of pH titration or binding assay data
    clophfit.binding - perform fitting of macromolecule binding assay data

To use clophfit in your python:

    from clophfit import prenspire, prtecan, binding

## Features

- Plate Reader data Parser.
- Perform non-linear least square fitting.
- Extract and fit pH and chloride titrations of GFP libraries.
  - For 2 labelblocks (e.g. 400, 485 nm) fit data separately and globally.
  - Estimate uncertainty using bootstrap.
  - Subtract buffer for each titration point.
  - Report controls e.g. S202N, E2 and V224Q.
  - Correct for dilution of titration additions.
  - Plot data when fitting fails and save txt file anyway.

## License

We use a shared copyright model that enables all contributors to maintain the
copyright on their contributions.

All code is licensed under the terms of the [revised BSD license](LICENSE.txt).

## Contributing

If you are interested in contributing to the project, please read our
[contributing](https://darosio.github.io/ClopHfit/references/contributing.html)
and
[development environment](https://darosio.github.io/ClopHfit/references/development.html)
guides, which outline the guidelines and conventions that we follow for
contributing code, documentation, and other resources.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "clophfit",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.9",
    "maintainer_email": null,
    "keywords": "ClopHensor,data fitting,macromolecule binding,pH,svd",
    "author": null,
    "author_email": "daniele arosio <daniele.arosio@cnr.it>",
    "download_url": "https://files.pythonhosted.org/packages/7e/c2/e1e1f64e2262d69d6c30c7f6295ed6e69e63c7ee749af958d526ff38d082/clophfit-0.10.3.tar.gz",
    "platform": null,
    "description": "# ClopHfit\n\n[![PyPI](https://img.shields.io/pypi/v/ClopHfit.svg)](https://pypi.org/project/ClopHfit/)\n[![CI](https://github.com/darosio/ClopHfit/actions/workflows/ci.yml/badge.svg)](https://github.com/darosio/ClopHfit/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/darosio/ClopHfit/branch/main/graph/badge.svg?token=OU6F9VFUQ6)](https://codecov.io/gh/darosio/ClopHfit)\n[![RtD](https://readthedocs.org/projects/clophfit/badge/)](https://clophfit.readthedocs.io/)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6354111.svg)](https://doi.org/10.5281/zenodo.6354111)\n\nThis package provides a command line interface for fitting pH titration or\nbinding assay data for macromolecules, such as fluorescence spectra. With this\ntool, users can easily analyze their data and obtain accurate fitting results.\n\n- Version: \"0.10.3\"\n\n## Installation\n\nYou can get the library directly from [PyPI](https://pypi.org/project/ClopHfit/)\nusing `pip`:\n\n    pip install clophfit\n\nAlternatively, you can use [pipx](https://pypa.github.io/pipx/) to install it in\nan isolated environment:\n\n    pipx install clophfit\n\nTo enable auto completion for the `clop` command, follow these steps:\n\n1.  Generate the completion script by running the following command:\n\n        _CLOP_COMPLETE=bash_source clop > ~/.local/bin/clop-complete.bash\n\n2.  Source the generated completion script to enable auto completion:\n\n        source ~/.local/bin/clop-complete.bash\n\n## Usage\n\nYou can check out the documentation on <https://darosio.github.io/ClopHfit> for\nup to date usage information and examples.\n\n### CLI\n\nClopHfit provides several command line interface tools for fitting and\nprocessing data.\n\n#### prtecan\n\nExtract and fit titrations from a list of Tecan files collected at various pH or\nchloride concentrations:\n\n    ppr -o prova2 --is-ph tecan list.pH --scheme ../scheme.txt --norm\n        --dil additions.pH --Klim 6.8,8.4 --sel 7.6,20\n\nUse the --no-weight option to reproduce an older pr.tecan version.\n\n#### eq1\n\nPredict chloride dissociation constant K_d at a given pH:\n\n    clop eq1 --help\n\n#### prenspire\n\nParser for EnSpire (PerkinElmer) file:\n\n    ppr -o folder enspire file.csv\n\nDestination folder (default: \"./Meas-${version}\") will contain for each Measurement:\n\n- a table (csv) in wide tabular form e.g. <lambda, A01, ..., H12>;\n- corresponding graphical (png) representation of spectra from all wells.\n\n  ppr -o folder enspire file.csv note.csv\n\nDestination folder (default: \"./Meas-${version}\") will also contain:\n\n- a pdf for each titration and label;\n- a pdf for global (multiband) analysis pdfalong with global and all_SVD;\n- a pdf for SVD analysis of all concatenated spectra.\n\n#### note_to_csv\n\n    note_to_csv -t 37 -l \"B E F\" -o 37 NTT-G03-Cl_note\n    note_to_csv -t 20 -l \"A C D\" -o 20 NTT-G03-Cl_note\n    cat 20 37 > G03_Cl_note.csv\n\n### Python\n\nClopHfit can be imported and used as a Python package. The following modules are\navailable:\n\n    clophfit.prenspire - parser for EnSpire (PerkinElmer) files\n    clophfit.prtecan - perform fitting of pH titration or binding assay data\n    clophfit.binding - perform fitting of macromolecule binding assay data\n\nTo use clophfit in your python:\n\n    from clophfit import prenspire, prtecan, binding\n\n## Features\n\n- Plate Reader data Parser.\n- Perform non-linear least square fitting.\n- Extract and fit pH and chloride titrations of GFP libraries.\n  - For 2 labelblocks (e.g. 400, 485 nm) fit data separately and globally.\n  - Estimate uncertainty using bootstrap.\n  - Subtract buffer for each titration point.\n  - Report controls e.g. S202N, E2 and V224Q.\n  - Correct for dilution of titration additions.\n  - Plot data when fitting fails and save txt file anyway.\n\n## License\n\nWe use a shared copyright model that enables all contributors to maintain the\ncopyright on their contributions.\n\nAll code is licensed under the terms of the [revised BSD license](LICENSE.txt).\n\n## Contributing\n\nIf you are interested in contributing to the project, please read our\n[contributing](https://darosio.github.io/ClopHfit/references/contributing.html)\nand\n[development environment](https://darosio.github.io/ClopHfit/references/development.html)\nguides, which outline the guidelines and conventions that we follow for\ncontributing code, documentation, and other resources.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Cli for fitting macromolecule pH titration or binding assays data e.g. fluorescence spectra.",
    "version": "0.10.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/darosio/ClopHfit/issues",
        "Changelog": "https://github.com/darosio/ClopHfit/blob/main/CHANGELOG.md",
        "Discussions": "https://github.com/darosio/ClopHfit/discussions",
        "Documentation": "https://clophfit.readthedocs.io",
        "Github releases": "https://github.com/darosio/ClopHfit/releases",
        "Homepage": "https://github.com/darosio/ClopHfit"
    },
    "split_keywords": [
        "clophensor",
        "data fitting",
        "macromolecule binding",
        "ph",
        "svd"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "bd3e777fa67dfd4f6ef5dc271f9ede368f54f3cca0449789082ab2c656f2199d",
                "md5": "1b7631e7d01c2ca8d3f88c0f03e9eddc",
                "sha256": "2aad248807657a5d65492b585943064a614b6e448e63070ce1338cbee5c50076"
            },
            "downloads": -1,
            "filename": "clophfit-0.10.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1b7631e7d01c2ca8d3f88c0f03e9eddc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 47059,
            "upload_time": "2023-09-07T20:42:11",
            "upload_time_iso_8601": "2023-09-07T20:42:11.887403Z",
            "url": "https://files.pythonhosted.org/packages/bd/3e/777fa67dfd4f6ef5dc271f9ede368f54f3cca0449789082ab2c656f2199d/clophfit-0.10.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7ec2e1e1f64e2262d69d6c30c7f6295ed6e69e63c7ee749af958d526ff38d082",
                "md5": "c1f33ec211979a53f615277288a2bead",
                "sha256": "82ec970beca57ae34db6d8950cb4993104eadd2f704333b218bd7d8e1de76b0f"
            },
            "downloads": -1,
            "filename": "clophfit-0.10.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c1f33ec211979a53f615277288a2bead",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 3997820,
            "upload_time": "2023-09-07T20:42:13",
            "upload_time_iso_8601": "2023-09-07T20:42:13.506789Z",
            "url": "https://files.pythonhosted.org/packages/7e/c2/e1e1f64e2262d69d6c30c7f6295ed6e69e63c7ee749af958d526ff38d082/clophfit-0.10.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-07 20:42:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "darosio",
    "github_project": "ClopHfit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "clophfit"
}
        
Elapsed time: 0.11114s