Heuristic peptide pool optimization for ELISpot and other immunological assays
Project description
golfy
Heuristic solver for peptide pool assingments
Usage
from golfy import init, is_valid, optimize
# create a random initial assignment of peptides to pools
s = init(num_peptides = 100, peptides_per_pool = 5, num_replicates = 3)
# the random assignment probably isn't yet a valid solution
assert not is_valid(s)
# iteratively swap peptides which violate constraints until
# a valid configuration is achieved
optimize(s)
assert is_valid(s)
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
golfy-1.3.4.tar.gz
(11.0 kB
view hashes)
Built Distribution
golfy-1.3.4-py3-none-any.whl
(12.1 kB
view hashes)