A tool for investigating the impact of labelled ligand affinity in competition experiments. Code accompanies the paper "Optimum ligand affinity for competition-based primary screens" by Shave et. al.
Can be installed from pypi via
pip install claffinity
A selection of programs are available in this archive prefixed with 'example_'
A breakdown of their use in simulating and understanding the imact of ligand affinity in competition assays follows:
- Plot ligand pKD vs conc protein needed to achieve desired (default = .7) fraction ligand bound.
- Plot ligand pKD vs fraction ligand bound
- Simultate a simple single point from a competition experiment.
- Simulate inhibitor pKD vs fraction ligand bound
- Plot ligand pKD vs fraction ligand bound in the presence of a fixed concentration of inhibitor with fixed KD.
- Plot ligand pKD vs percent signal reduction in the presence of a fixed concentration of inhibitor with fixed KD.
- Simulate real world example whereby inhibitors would be missed in a primary screen using high affinity ligands.
Some additional example application of the simulation techniques outlined in the paper are shown below, including code used in supporting information figure generation, the generation of animations and the SI matterial video.
- Generate animation of inhibitor pKD vs fraction ligand bound over a range of ligand pKDs in the animation.
- Interactive plot of inhibitor pKD vs fraction ligand bound over a range of changable ligand pKDs.
- Generate animation for ligand pKD vs fraction ligand bound, varying ligand KD over time.
- Interactive plot of ligand pKD vs fraction ligand bound, varying inhibitor KD.
- Plot pKD of ligand vs fraction ligand bound, varying the target fraction ligand bound from the default 0.7.
- Plot pKD of ligand vs fraction ligand bound, varying the amount of ligand present.
- Plot pKD of ligand vs fraction ligand bound, varying the amount of inhibitor present.
- Reproduce the Huang plot (Huang, X., Fluorescence polarization competition assay: the range of resolvable inhibitor potency is limited by the affinity of the fluorescent ligand. Journal of biomolecular screening 2003, 8 (1), 34-38.)
Code developed using python 3.7.1 but should work with any Python version 3.6 or greater. The following packages are also required
- matplotlib
- numpy>=1.15
- pandas>=1.2.2
- mpmath>=1.1.0
- progressbar2