Skip to main content
https://raw.githubusercontent.com/teese/eccpy/master/docs/logo/ECCpy_logo.png

ECCpy, a program for EC50 calculation in python.

The EC50, or the “half maximal effective concentration”, is a key measure of the effectiveness of a compound to affect a biological system. It is commonly used in pharmacology, biology and biochemistry. The EC50 is calculated by fitting the dose-response data to a sigmoidal curve, typically using the Hill equation. Variants include the half maximal “lethal dose” (LD50), and “inhibitor concentration” (IC50).

Features

Robust data analysis

  • fully automated
    • fitting of sigmoidal curves to dose-response data

    • calculation of EC50, LD50 or IC50 values.

    • high-throughput analysis

    • comparison of EC50 values from different experiments

    • calculation of EC25 or EC75 values

  • accepts REAL biological data
    • pre-filtering excludes nonsense data

    • judgefit module identifies low-quality EC50 values

Designed for humans

  • easy-to-use excel files:
    • excel settings file

    • excel input file with dose and response data

    • excel output file with EC50 values

  • simple graphical output: - sigmoidal curves with EC50 shown on graph - daily summary barcharts and curves

Customisable

  • simple python syntax

  • open-source software

  • built on powerful numpy, scipy, and pandas packages

Development status

ECCpy has been used extensively for the analysis of LD50 assays by bachelor, master and PhD students within the lab of Dieter Langosch at the Technical University of Munich in Germany. However this software is released “as is”, and may contain bugs related to particular data types, python versions or operating systems.

Installation

pip install eccpy

ECCpy is written for python 3. We recommend the Anaconda python distribution, which contains all the required python packages (numpy, scipy, pandas and matplotlib). If you encounter dependency issues, we suggest creating a python virtual environment with conda or virtualenv, and installing the exact package versions specified in the requirements.txt

Usage

As described in the wiki, ECCpy requires only the following three steps:

1) Prepare your data.
  • use the excel or microplate templates in the eccpy/templates folder

  • for the generic excel format, simply open the template and paste in your dose and response data.

2) Update an excel settings file
  • copy the ECCpy_settings_template.xlsx from eccpy/templates

  • open the excel file, input the name and location of your datafiles, and the desired location for your output files

  • write “TRUE” next to the files you want to examine

https://raw.githubusercontent.com/teese/eccpy/master/docs/images/01_run_curvefit_settings.png
3) Run ECCpy
  • run the ipython/jupyter notebook, which opens a python interpreter in your web browser

  • paste in the following four lines. Replace the location of your settings file.

  • hit Ctrl-Enter to run

  • based on your output, adjust the quality thresholds in the settings file to suit your data

Example:

import eccpy
settings = r"D:\data\ECCpy_settings.xlsx"
eccpy.run_curvefit(settings)
eccpy.run_gatherer(settings)

Test

  • before processing your own data, run eccpy on the provided example files provided, following the instructions in the ECCpy wiki.

  • example data is available in eccpy/examples/example_data

  • example settings are available in eccpy/examples/example_settings

  • TIP: when downloading ECCpy from github, run pytest in the ECCpy repository directory to automatically start functional tests

ECCpy output

run_curvefit program
  • individual dose-response curves

  • automatic judging of data quality

  • daily summary curves, barchart and more!

https://raw.githubusercontent.com/teese/eccpy/master/docs/images/curve_fit_output_sample3.png https://raw.githubusercontent.com/teese/eccpy/master/docs/images/generated_data_0EC50_analysis_fig.png

run_gatherer program

  • combines data from multiple experiments

  • excludes EC50 values that are not of sufficient quality, according to user-defined thresholds

  • bar charts with mean and SEM over all selected experiments

  • scatter plots showing individual datapoints for each day/experiment, and more!

compare_rawdata program

  • collects raw data and dose-response curves from multiple experiments

  • compares datapoints and fitted curves between the selected samples

https://raw.githubusercontent.com/teese/eccpy/master/docs/images/20160527_0_compare_raw.png

Contribute

If you encounter a bug or ECCpy doesn’t work for any reason, please send an email to Mark Teese (contact details below) or initiate an issue in Github.

Non-programmers can contribute by:
  • testing ECCpy with your particular datasets

  • suggesting features

  • improving the readme and documentation

Pull requests are also very welcome.

License

ECCpy is free software distributed under the permissive MIT license.

Releases

Release-notes are found in /docs/releases.rst

Citation

If you use ECCpy in your research, please use the following citation.

Schanzenbach C, Schmidt FC, Breckner P, Teese MG, & Langosch D (2017) Identifying ionic interactions within a membrane using BLaTM, a genetic tool to measure homo-and heterotypic transmembrane helix-helix interactions. Scientific Reports 7(7):43476.

https://www.ncbi.nlm.nih.gov/pubmed/28266525

Contact

ECCpy is currently maintained by Mark Teese of TNG Technology Consulting GmbH, formerly of the Langosch lab of the Technical University of Munich.

For contact details, see the image below.

https://raw.githubusercontent.com/teese/eccpy/master/docs/images/signac_seine_bei_samois.png

Metadata

Release files for eccpy 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eccpy 0.5.0
File Size Uploaded Provenance Actions
eccpy-0.5.0.tar.gz 117.9 kB Without provenance Details for eccpy-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eccpy 0.5.0
File Interpreter ABI Platform Actions
eccpy-0.5.0-py3-none-any.whl Python 3 none any Details for eccpy-0.5.0-py3-none-any.whl

Total release size: 246.2 kB

Release files / eccpy-0.5.0.tar.gz

Download URL eccpy-0.5.0.tar.gz
Size 117.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fc1dcf742d1e783374d112a18ff5da6b795c3f7b74493d55f39ec7c2f091147b
BLAKE2b-256 checksum
How to use checksums
3409f226bf58a06e9998f23aa64d9e174816b70e682650d604cad9db99d66704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release files / eccpy-0.5.0-py3-none-any.whl

Download URL eccpy-0.5.0-py3-none-any.whl
Size 128.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86e48446bd372881c036fec23203e64906fe58fdf531e49c594d4d0e807d0776
BLAKE2b-256 checksum
How to use checksums
f1b99ae45f443b878cc814ad4f16dde13adb081f79d8dda21b0a9f3073338520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Security for eccpy 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page