Skip to main content

competition-label-affinity

DOI

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

LigandpKD vs FLB

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

Metadata

Release files for claffinity 1.0.2

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

Source distribution (sdist)

Source distribution for claffinity 1.0.2
File Size Uploaded Provenance Actions
claffinity-1.0.2.tar.gz 10.1 kB Without provenance Details for claffinity-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 19.4 kB

Release files / claffinity-1.0.2.tar.gz

Download URL claffinity-1.0.2.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
30229437d305ec2fed29dbe93be2e863111157d3e0efa8d6687b85d484f2fad3
BLAKE2b-256 checksum
How to use checksums
4801c1e2564e7bf83acdc8349795d3628dda745dab2ce783d7defe09629ba8a1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / claffinity-1.0.2-py3-none-any.whl

Download URL claffinity-1.0.2-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf09dc93b28132d8f449379ff51d18ace133c1a9e3ea29a52df86d35003ab9c8
BLAKE2b-256 checksum
How to use checksums
3bbbb4ef4edb78af07643e40fdd7a4510c518fbcf9a7c3321bc89c9d024343f7
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for claffinity 1.0.2

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

1.0.2 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