A tool for investigating the impact of labelled ligand affinity in competition experiments.
Project description
competition-label-affinity
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
Example programs:
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:
example_01_plot_protein_needed_vs_ligand_kd.py
- Plot ligand pKD vs conc protein needed to achieve desired (default = .7) fraction ligand bound.
example_01_plot_singal_vs_ligand_kd_fixed_inhibitor.py
- Plot ligand pKD vs fraction ligand bound
example_01_simulate_competition_experiment.py
- Simultate a simple single point from a competition experiment.
example_02_inhibitorKD_vs_fractionBound.py
- Simulate inhibitor pKD vs fraction ligand bound
example_02_ligandKD_vs_fractionBound.py
- Plot ligand pKD vs fraction ligand bound in the presence of a fixed concentration of inhibitor with fixed KD.
example_03_ligandKD_vs_fractionBoundAsPercentSignalReduction.py
- Plot ligand pKD vs percent signal reduction in the presence of a fixed concentration of inhibitor with fixed KD.
example_04_missed_inhibitors.py
- Simulate real world example whereby inhibitors would be missed in a primary screen using high affinity ligands.
Supporting example programs
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.
supporting_example_02_inhibitorKD_vs_fractionBound_animation.py
- Generate animation of inhibitor pKD vs fraction ligand bound over a range of ligand pKDs in the animation.
supporting_example_02_inhibitorKD_vs_fractionBound_interactive.py
- Interactive plot of inhibitor pKD vs fraction ligand bound over a range of changable ligand pKDs.
supporting_example_02_ligandKD_vs_fractionBound_animation.py
- Generate animation for ligand pKD vs fraction ligand bound, varying ligand KD over time.
supporting_example_02_ligandKD_vs_fractionBound_interactive.py
- Interactive plot of ligand pKD vs fraction ligand bound, varying inhibitor KD.
supporting_example_05_KDPL_vs_FLB_VaryingTargetFLB.py
- Plot pKD of ligand vs fraction ligand bound, varying the target fraction ligand bound from the default 0.7.
supporting_example_06_KDPL_vs_FLB_VaryingL0.py
- Plot pKD of ligand vs fraction ligand bound, varying the amount of ligand present.
supporting_example_07_KDPL_vs_FLB_VaryingI0.py
- Plot pKD of ligand vs fraction ligand bound, varying the amount of inhibitor present.
supporting_example_08_HuangPlot.py
- 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.)
Requirements
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file claffinity-1.0.2.tar.gz
.
File metadata
- Download URL: claffinity-1.0.2.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/28.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.51.0 importlib-metadata/4.10.1 keyring/21.5.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30229437d305ec2fed29dbe93be2e863111157d3e0efa8d6687b85d484f2fad3 |
|
MD5 | c7e9ca4d7cb2ddd6cb43a386881dde37 |
|
BLAKE2b-256 | 4801c1e2564e7bf83acdc8349795d3628dda745dab2ce783d7defe09629ba8a1 |
File details
Details for the file claffinity-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: claffinity-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/28.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.51.0 importlib-metadata/4.10.1 keyring/21.5.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf09dc93b28132d8f449379ff51d18ace133c1a9e3ea29a52df86d35003ab9c8 |
|
MD5 | 3ac5bb7b22985d267594c77af83baf31 |
|
BLAKE2b-256 | 3bbbb4ef4edb78af07643e40fdd7a4510c518fbcf9a7c3321bc89c9d024343f7 |