Python client for pipette-aware serial dilution protocols via the Pepkio API
Project description
Pepkio Serial Dilution Planner
Python client for the Pepkio Serial Dilution Planner API: pipette-aware multi-step protocols, standard curves, and optional 96/384-well plate layouts from scripts or notebooks.
What It Does
Serial dilution prepares a geometric concentration series from one stock solution. Researchers use it for dose–response setups, ELISA and qPCR standard curves, inhibitor titrations, antibody working dilutions, and protein standards.
Planning by hand or in a spreadsheet often mixes unit conversions, total dilution ratio, and step count inconsistently. Transfer volumes that look correct on paper (for example 18.37 µL) may not match pipette increments. Mapping tubes to microplate wells adds separate bookkeeping.
This package calls the same Pepkio Tools calculation engine as the hosted web application. Use PepkioClient.run() from Python, Jupyter, or automation pipelines to obtain step-by-step protocols with pipette-rounded volumes, diluent amounts, concentrations per step, optional plate maps, and shareable run links.
Programmatic runs require a network connection and a Pepkio API key. Calculations are not bundled for offline use.
Features
- Concentration units: molar (
M,mM,uM,nM), mass per volume (mg_per_mL,ug_per_uL,ng_per_uL), andpercent - Pipette-aware volumes: declare pipettes (
min_ul,max_ul,resolution_ul); receive roundedtransfer_ulandpipette_labelper step - Step-by-step output: concentration display, transfer volume, diluent volume, and warnings
- Economy mode to reduce reagent use within pipette limits
- Automatic extra steps when a single-step dilution would exceed roughly 1000×
- Mass–molar conversion via
molecular_weight_g_per_mol - Optional
plate_mapfor 96- or 384-well layouts - Manifest and named examples:
get_manifest,list_examples,get_example_input - CLI:
pepkio-serial-dilution-planner manifestandrun - Configuration via
PEPKIO_API_KEYandPEPKIO_API_BASE_URL
Installation
pip install pepkio-serial-dilution-planner
Set an API key with tools:run scope before calling run():
export PEPKIO_API_KEY="your-key"
Create a key in your Pepkio account API keys settings.
Quick Example
from pepkio_serial_dilution_planner import PepkioClient
with PepkioClient() as client:
inp = client.get_example_input("standard_4step")
result = client.run(inp)
for step in result.result["steps"]:
print(step["step"], step["concentration_display"],
step["transfer_ul"], step["pipette_label"])
CLI:
pepkio-serial-dilution-planner run --example standard_4step
Manifest inspection does not require an API key.
Typical Use Cases
- Serial dilution planning (for example 10 mM to 10 µM in four steps)
- Standard curve preparation for ELISA and immunoassays
- qPCR template dilution and standard series
- Antibody dilution from mg/mL stock to molar working concentration
- 96- or 384-well plate layout for high-throughput assays
- Limited reagent volume with economy mode and small pipettes
- Large stock-to-target concentration span with automatic step expansion
Scientific Background
In a constant-ratio serial dilution, each step uses the same dilution factor DF = Cᵢ / Cᵢ₊₁. After n steps from initial concentration C₀, the concentration is Cₙ = C₀ / DFⁿ.
When the total dilution is large, one step may need a transfer volume below the pipette minimum or above its maximum. Splitting into multiple serial steps keeps each transfer pipettable and improves mixing.
Standard curves for ELISA, qPCR, and binding assays are often built as a geometric (log-spaced) concentration series from a concentrated stock.
Protocols should use volumes rounded to the pipette you will use at the bench; otherwise the achieved concentration differs from the ideal calculated value.
Web Application
For researchers who prefer a graphical interface, an interactive Serial Dilution Planner is available in the browser.
The web interface adds bench mode (check-off steps at the hood), economy mode, 96/384-well plate maps with CSV or PNG export, printable worksheets, and shareable links that restore the same plan as API permalink values.
Documentation and Resources
Source code and issue tracking: github.com/pepkio/pepkio-serial-dilution-planner
About Pepkio
Pepkio develops software tools and provides bioinformatics analysis services for life science research. See https://www.pepkio.com for additional tools and services.
Keywords
serial dilution, serial dilution calculator, serial dilution planner, dilution factor, dilution series, logarithmic dilution, geometric dilution, C1V1=C2V2, concentration dilution, mM to uM dilution, micromolar dilution, standard curve preparation, ELISA standard curve, qPCR dilution, qPCR standard curve, dose response dilution, antibody dilution, protein dilution, pipette volume calculator, pipette-aware dilution, transfer volume, diluent volume, 96-well plate map, 384-well plate map, microplate dilution layout, laboratory dilution protocol, serial dilution protocol, ten-fold serial dilution, stock solution dilution, working solution preparation, molecular biology calculator, pepkio-serial-dilution-planner, Python dilution API, lab automation dilution, economy mode dilution, mass to molar conversion, mg/mL to uM, pipette rounding, high-throughput dilution plate, how to perform a serial dilution in the lab, how to calculate serial dilution step volumes, serial dilution from mM to uM calculator, how many steps for 1000 fold dilution, how to make a 10-fold serial dilution, how to prepare ELISA standard curve by serial dilution, qPCR template serial dilution protocol, how to map serial dilution to 96 well plate, 384 well serial dilution layout, pipette volume too small for serial dilution, round microliter volumes to P20 pipette, what is dilution factor in serial dilution, antibody serial dilution from mg/mL, convert mg per mL to micromolar for dilution, standard curve log spacing dilution factor, shareable lab protocol link dilution, printable serial dilution worksheet, minimize reagent use serial dilution, auto expand dilution steps large concentration range, Python script serial dilution protocol, API for laboratory dilution planning, serial dilution for inhibitor titration, immunoassay dilution series planning, dose response serial dilution 96 well, how to dilute stock for standard curve qPCR, export plate map CSV serial dilution
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pepkio_serial_dilution_planner-0.1.2.tar.gz.
File metadata
- Download URL: pepkio_serial_dilution_planner-0.1.2.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
912a63667f27f72637ed5a018365efc1c2035b481a260fa1380ac185c77a99b9
|
|
| MD5 |
916ad7e14217eb4a79067996dd14a9df
|
|
| BLAKE2b-256 |
eee1778cfca4e8001665c4bf938bb31e3a880feb51fb82dc2b420802c930eeb7
|
File details
Details for the file pepkio_serial_dilution_planner-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pepkio_serial_dilution_planner-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18ca93dae30374fcbd8598ac1748af776d377823eb9e98d20092631d52a18bfe
|
|
| MD5 |
4f420e738cc33dc47bcc5bc12e630761
|
|
| BLAKE2b-256 |
642ff83a2b9f798096cdf937328afc04a7c09a36e2a813a5a3d7e34a2d3bad0c
|