Skip to main content

OligoMiner2

PyPI Python versions License CI Docs

A Python toolkit for oligonucleotide probe design.

OligoMiner2 is a library of composable parts for designing oligo probes: thermodynamic mining, specificity analysis, duplex-stability models, and probe assembly. Each part is usable on its own, so a probe design is written as a program against the toolkit rather than configured through one fixed program.

The end-to-end pipeline below is one such program: the conventional FISH probe design flow, assembled from these parts, and the place to start if it is the flow you want.

What is in the toolkit

Subsystem What it does
thermodynamics Melting temperature and formamide correction, candidate mining from sequence, exact NUPACK pDup
specificity Alignment handling, duplex reconstruction from a reference, duplex stability, k-mer frequency
models Four registered duplex-stability models selected by name, and retraining for two of them
probe_design Probe sets, padlock and split architectures, domain layouts, exclusions, scoring, splitting, I/O
bioinformatics Sequence and annotation I/O, transcriptome construction

The pipeline

OligoMiner2 takes a target genome or transcriptome and returns candidate probe sequences that are thermodynamically optimized and filtered for specificity.

  1. Mine candidate probes from FASTA sequences, filtering by melting temperature, GC content, length, homopolymer runs, sequence entropy, soft-masked repeats, and prohibited subsequences.
  2. Align candidates against a reference genome with Bowtie2 and reconstruct each alignment's duplex from the reference.
  3. Predict a binding probability for every reconstructed duplex, screening with a model and verifying the ones that could change a decision with exact NUPACK pDup. K-mer frequency analysis runs as a parallel track.

Targets

Probes can be mined against a genome, a transcriptome built from a genome and its annotation, or individual transcripts. Transcript-aware modes cover exon-exon junctions, regions that discriminate between isoforms, and introns.

Probe architectures

Beyond conventional single-oligo probes, the package designs padlock probes with split homology arms, and split architectures where one functional element spans two oligos binding adjacent sites -- HCR 3.0 split-initiator pairs and split-FISH bridge pairs. Both members of a pair are tracked as one targeting unit, so filtering cannot leave a half-probe in an order.

Synthetic domains -- barcodes, primer sites, amplifier initiators -- are appended through a domain layout, which places a sequence at a named slot rather than at an end.

Models

Duplex stability is predicted by one of four registered models, selected by name: a condition-aware physics-feature gradient-boosted model, a duplex BiLSTM, the PaintSHOP model, and the OligoMiner v1 classifier. The first two can be retrained on new data through the package.

Scale

K-mer counting dispatches between jellyfish and a pure-numpy backend. Alignment and duplex construction stream rather than loading a genome's alignments into memory, and every entry point resolves its core count from the scheduler's grant rather than from the machine size.

Quick start

from oligominer import mine_fasta

# mine candidate probes with default parameters
df = mine_fasta('genome.fa')

Documentation

Full documentation including API reference and example notebooks is available at the OligoMiner2 docs site.

License

OligoMiner2 is open-source software. See LICENSE for details.

Metadata

Release files for oligominer 0.0.5

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

Source distribution (sdist)

Source distribution for oligominer 0.0.5
File Size Uploaded Provenance Actions
oligominer-0.0.5.tar.gz 13.7 MB Without provenance Details for oligominer-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 27.3 MB

Release files / oligominer-0.0.5.tar.gz

Download URL oligominer-0.0.5.tar.gz
Size 13.7 MB
Tags Source
SHA-256 checksum
How to use checksums
316204a672daab44d607b6adaf224c8d1f81adfc0825b1a7d5fe3a6c44f1d8cf
BLAKE2b-256 checksum
How to use checksums
005000ae3307186750e59fe3a8c9d404d2422ba58ce02b8479ce6ea3d013774c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / oligominer-0.0.5-py3-none-any.whl

Download URL oligominer-0.0.5-py3-none-any.whl
Size 13.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2dc016c9475551c751d1072cd549f25875a041de5d53e90edafefd4d51b46e6d
BLAKE2b-256 checksum
How to use checksums
cec0d4f139cf9e5215f027931e1dce218892511a2aff1cf3b65207a4a3bf77f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for oligominer 0.0.5

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.

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