Skip to main content

Pepkio DistroGene Probability Calculator

A Python interface for computing discrete statistical distributions in genomics and molecular biology, enabling rapid calculation of CRISPR guide coverage, hypergeometric pathway enrichment, rare variant detection limits, and barcode collision frequencies.

What It Does

The pepkio-distrogene-probability-calculator package provides a programmatic Python client for evaluating probability distributions in high-throughput genomics and laboratory assays. It enables researchers to calculate point and cumulative tail probabilities, perform reverse parameter sizing (such as computing required sequencing depth or sample numbers for target confidence levels), and integrate distribution modeling directly into computational pipelines.

Features

  • Genomic Distribution Scenarios: Supports Poisson CRISPR sgRNA coverage, Hypergeometric GO/pathway overrepresentation analysis, Binomial low-frequency variant detection, occupancy-based UMI/cell barcode collisions, overdispersed sequencing library modeling, and serial concentration dilutions.
  • Forward and Reverse Solver Modes: Evaluates cumulative probabilities from experimental inputs or solves for target sample sizes, required read counts, or starting concentrations given a desired confidence threshold.
  • Point and Cumulative Tail Probabilities: Computes exact point probabilities ($P(X = k)$) as well as upper and lower cumulative tails ($P(X \ge k)$, $P(X \le k)$, $P(X > k)$, $P(X < k)$).
  • Model Organism Presets: Contains pre-configured gene background sizes for Homo sapiens, Mus musculus, Drosophila melanogaster, Caenorhabditis elegans, Saccharomyces cerevisiae, and Arabidopsis thaliana.
  • Python API & CLI Interfaces: Provides PepkioClient (and asynchronous HTTP handling via httpx) alongside a command-line interface (pepkio-distrogene-probability-calculator) for shell scripting.

Installation

Install the package via pip:

pip install pepkio-distrogene-probability-calculator

Set your API key as an environment variable:

export PEPKIO_API_KEY="your-api-key"

Quick Example

Evaluate the probability of achieving $\ge 1\times$ coverage per guide in an 80,000 sgRNA CRISPR library sequenced at 400,000 total reads:

from pepkio_distrogene_probability_calculator import PepkioClient

client = PepkioClient()

# Calculate Poisson CRISPR library coverage
result = client.run({
    "scenario": "crispr_coverage",
    "mode": "forward",
    "tail": "ge",
    "library_size": 80000,
    "total_reads": 400000,
    "threshold_k": 1,
})

print(f"Probability: {result.result['probability']}")
print(f"Interpretation: {result.result['interpretation']}")

Run built-in examples from the command-line interface:

pepkio-distrogene-probability-calculator run --example crispr_coverage

Typical Use Cases

  • CRISPR Screen Depth Planning: Determine minimum sequencing read depth required for adequate sgRNA sampling ($\ge 100\times$ or $\ge 500\times$) in pooled knockout or activation screens.
  • Gene Ontology (GO) Enrichment: Execute exact Hypergeometric overrepresentation tests comparing query gene sets against whole-genome backgrounds.
  • Variant Detection Limits: Calculate the statistical confidence of detecting low-frequency mutations ($< 1%$ VAF) at specific NGS sequencing depths.
  • UMI & Cell Barcode Collision Assessment: Estimate droplet scRNA-seq barcode duplicate collision rates using occupancy models.
  • Assay Dilution & Standard Curve Setup: Compute multi-step serial dilution series volumes and concentrations ($C_1 V_1 = C_2 V_2$) for qPCR and ELISA standard curves.

Scientific Background

Genomic experiments depend on discrete probability distributions to model discrete biological sampling events:

  • Poisson Distribution: Models random sampling of sgRNAs or sequencing reads across large library spaces under independent draw assumptions.
  • Hypergeometric Distribution: Computes exact sampling without replacement to test if an observed gene overlap in a pathway exceeds random expectation.
  • Binomial & Negative Binomial Distributions: Model independent trial successes (variant read counts) and accommodate overdispersed sequencing counts across biological replicates.
  • Occupancy Models: Solve classical urn and birthday allocation problems to predict UMI or single-cell droplet barcode overlap rates.

Web Application

For researchers who prefer a graphical interface, an interactive web version is available.

Web Application: https://www.pepkio.com/tools/distrogene-probability-calculator

The web application includes interactive parameter sliders, distribution curve visualizations, step-by-step dilution worksheets, plate layout generators, shareable run permalinks, and publication-ready Methods text generation.

Documentation and Resources

About Pepkio

Pepkio (https://www.pepkio.com/) develops software tools and bioinformatics solutions for life science researchers, including laboratory calculators and analysis services (https://www.pepkio.com/cro). See https://www.pepkio.com for additional tools and services.

Keywords

  • genomics
  • probability calculator
  • CRISPR library coverage
  • sgRNA representation
  • hypergeometric test
  • gene ontology enrichment
  • pathway overrepresentation
  • variant detection
  • allele frequency
  • UMI barcode collision
  • single cell rna sequencing
  • occupancy distribution
  • serial dilution
  • standard curve
  • qPCR setup
  • ELISA assay
  • concentration calculator
  • statistical genetics
  • Poisson distribution
  • binomial distribution
  • negative binomial distribution
  • bioinformatics tools
  • sequencing depth
  • model organisms
  • CRISPR screen guide coverage calculator
  • hypergeometric gene enrichment analysis
  • low frequency variant detection probability
  • unique molecular identifier barcode collision
  • single cell droplet barcode collision rate
  • quantitative PCR serial dilution series planner
  • standard curve calculation for ELISA assay
  • reverse power calculation for sequencing depth
  • Poisson sampling model for pooled CRISPR libraries
  • cumulative tail probability calculation in genomics
  • Fisher exact test pathway enrichment tool
  • bioinformatics python client for probability modeling
  • next generation sequencing depth optimization
  • model organism gene population background presets
  • overdispersed sequencing library probability distribution
  • laboratory reagent dilution and concentration solver

A semantic, AI-native version of this document in the K2F format is available at https://k2f.dev (https://k2f.dev/v/b54ed55b3894aa7ce939290fd9a37132c936507b287c117136f36a02206550a9)

Metadata

Release files for pepkio-distrogene-probability-calculator 0.1.0

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

Source distribution (sdist)

Source distribution for pepkio-distrogene-probability-calculator 0.1.0
File Size Uploaded Provenance Actions
pepkio_distrogene_probability_calculator-0.1.0.tar.gz 40.4 kB Without provenance Details for pepkio_distrogene_probability_calculator-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pepkio-distrogene-probability-calculator 0.1.0
File Interpreter ABI Platform Actions
pepkio_distrogene_probability_calculator-0.1.0-py3-none-any.whl Python 3 none any Details for pepkio_distrogene_probability_calculator-0.1.0-py3-none-any.whl

Total release size: 52.8 kB

Release files / pepkio_distrogene_probability_calculator-0.1.0.tar.gz

Download URL pepkio_distrogene_probability_calculator-0.1.0.tar.gz
Size 40.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4407e429b12e295138a23ea3a8bd16320319d558b6cc22dbbb5dc38bca7338d3
BLAKE2b-256 checksum
How to use checksums
ced4139878ad54db0fc900f858d4a1e570c483574d85b1e1e07fcb333e0931d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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}

Release files / pepkio_distrogene_probability_calculator-0.1.0-py3-none-any.whl

Download URL pepkio_distrogene_probability_calculator-0.1.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f7532e839837cee8a7e1256b7f7952e72ead644371e75734f51c57b3a378703
BLAKE2b-256 checksum
How to use checksums
0545535a68458898702408cb5cdc3b08332f97966519a47d83ff33c72ef47f86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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}

Security for pepkio-distrogene-probability-calculator 0.1.0

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

0.1.0 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