Skip to main content

Package for the calculation of FRET-lines

Project description

FRET-lines generator

This is a small Python3 package for the calculation of FRET-lines for use in single-molecue FRET experiments using multiparameter fluorescence detection[1]. These experiments are analyzed using two-dimensional histograms of the FRET efficiency, E, and the intensity-weighted average donor fluorescence lifetime, <τD(A)>F. FRET-lines define relationships between these two observables for different physical models of the system that can be overlayed on the plot for comparison to the experimental data[2].

For an ideal system, the two observables are related by the ideal static FRET-line:

E = 1- <τD(A)>FD(0)

where τD(0) is the donor only fluorescence lifetime. To model the influence of the flexible dye linkers, static FRET-lines can be generated based on a normal or χ distribution for the interdye distance. In addition, two polymer models are implemented: the random coil (or Gaussian chain) and the worm-like chain (WLC).

Dynamic FRET-lines characterize the exchange between distinct conformations and show as a curve connecting two points on the static FRET-line. An example is given below.

Example of a dynamic FRET-line


The usage of the package is demonstrated in the associated Jupyter Notebook.


The FRETlines package can either be run from the root folder, or be installed to your local Python installation by python install. It is also available through PyPI by pip install FRETlines.


numpy, numba (for the interactive notebook: ipywidgets)


[1] Eggeling C, et al. (2001) Data registration and selective single-molecule analysis using multi-parameter fluorescence detection. Journal of Biotechnology 86(3):163–180.

[2] Kalinin S, Valeri A, Antonik M, Felekyan S, Seidel CAM (2010) Detection of structural dynamics by FRET: a photon distribution and fluorescence lifetime analysis of systems with multiple states. J Phys Chem B 114(23):7983–7995.

FRETlines generator - A python library for the calcualtion of FRETlines Copyright (C) 2020 Anders Barth

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

FRETlines-0.0.5.tar.gz (18.4 kB view hashes)

Uploaded source

Built Distribution

FRETlines-0.0.5-py3-none-any.whl (18.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page