Skip to main content

Python bindings for Primer3

Project description

primer3-py: simple oligo analysis and primer design

Actions License PyPi

Primer3-py is a Python-abstracted API for the popular Primer3 library. The intention is to provide a simple and reliable interface for automated oligo analysis and design.

Routine oligo analysis is simple::

>>> import primer3
>>> primer3.calc_tm('GTAAAACGACGGCCAGT')
49.16808228911765
>>> primer3.calc_hairpin('CCCCCATCCGATCAGGGGG')
ThermoResult(structure_found=True, tm=34.15, dg=337.09, dh=-36300.00, ds=-118.13)

... and fast (~1000X faster than traditional subprocess wrappers)::

In [1]: import primer3

In [2]: import tests.wrapper

In [3]: %timeit primer3.calc_tm('GTAAAACGACGGCCAGT')
100000 loops, best of 3: 4.74 us per loop

In [4]: %timeit test.wrappers.calc_tm('GTAAAACGACGGCCAGT')
100000 loops, best of 3: 5.78 ms per loop

Primer3-py also includes bindings for the Primer3 primer design engine if you'd prefer to use an established pipeline. The IO parameters mirror those of the original Primer3.

**Please note that while we provide bindings, we do not provide support for the Primer3 design engine. Please contact the Primer3 dev team with your questions: https://github.com/primer3-org/primer3 **

A copy of the Primer3 2.6.1 design parameters manual can be found at: primer3 v2.6.1 manual

For documentation of the bindings, see https://libnano.github.io/primer3-py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

primer3-py-1.2.0.tar.gz (569.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

primer3_py-1.2.0-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

primer3_py-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

primer3_py-1.2.0-cp311-cp311-macosx_10_14_x86_64.whl (814.8 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

primer3_py-1.2.0-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

primer3_py-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

primer3_py-1.2.0-cp310-cp310-macosx_10_14_x86_64.whl (818.5 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

primer3_py-1.2.0-cp39-cp39-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.9Windows x86-64

primer3_py-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

primer3_py-1.2.0-cp39-cp39-macosx_11_0_arm64.whl (777.1 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

primer3_py-1.2.0-cp39-cp39-macosx_10_14_x86_64.whl (820.4 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

primer3_py-1.2.0-cp38-cp38-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.8Windows x86-64

primer3_py-1.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

primer3_py-1.2.0-cp38-cp38-macosx_10_14_x86_64.whl (815.3 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

Details for the file primer3-py-1.2.0.tar.gz.

File metadata

  • Download URL: primer3-py-1.2.0.tar.gz
  • Upload date:
  • Size: 569.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for primer3-py-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9e511e90987d4beda11f1f065b81805bc0c26a08084154e87fda46136ecf7518
MD5 99316e74038eff3342c6ff3bb2446dcf
BLAKE2b-256 4ceea446328f2b8448967f6cb5415a1731912fd4a83b8cb96c5bab8c15813213

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: primer3_py-1.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for primer3_py-1.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0f0aff5455d044dc285ce4f98283e5a78c9d5fa4486f24624693fa190f925192
MD5 3512e527bcaca7864e7a870cb34f6afb
BLAKE2b-256 80346cb3528b2435fd342fe5d2250838052e825e323ca7bb007530d1b95286a5

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a1d24dd78559c33bd5848437a84e6f90ae61b01ef2f33a14993405c3f8991ae
MD5 400efededc7b035981fee7764ace5901
BLAKE2b-256 251eac610eccf55dd26ae35b2e6258a5112e337119fac220691bc621b1a125d5

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e9ad4eacb1e489f32ebf2891a83ed4ec860337ac23f1e1203ec39847bc7abe66
MD5 634039b2a038f5bffee5dc0438b05500
BLAKE2b-256 5667b6f87c6f53023cbeb2f3dc8c5802054592f7c64b75c7b19df8113f544106

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: primer3_py-1.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for primer3_py-1.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 687c718f74bf7a493c347089e5b2d1dcea855e4f88b6172b22a4d57814952595
MD5 9b0488eee24752afd6a7142e79c165aa
BLAKE2b-256 3d83753acc31cb0a12db34ec51f4f73d5c6d08435c160d3e789e567243c84d4e

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a422d1a3e35412cad1d9b20e0ac166bbaf46fad58b55620a5adbb6daf928b99e
MD5 a51859f1f4f37d40b0821185310fad65
BLAKE2b-256 83adeea94af97c856d0a660e7b9d72aef771413a30d2e06022106285a972f66d

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 73078d89802d46ab2aaff9683a0ac6814ffb411c7f8d9104702cca0eddcb05d2
MD5 579c725841bf5045ca8fda9de030d2c8
BLAKE2b-256 9b2c9d17abbbdf8ee6717f5e969152ffa6538fd6233c04836c66eaf36ef61f3e

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: primer3_py-1.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for primer3_py-1.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5e0c5de01bd439eae51d20cc945ed576f6571d7f83334f9938d80935c6a0f711
MD5 a0bb9167678d719b51d8f57fdfe26c60
BLAKE2b-256 6ce459acd4158985f143614958ee95b3af1e8fb38d143e9af3f5f9ded43aa650

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e9cce99409814988a4680ac86958933177fe065d3294a49031ad58b3158791c
MD5 9a61c081f6846a2f0c8f8dc34633f2b8
BLAKE2b-256 80643586ad593b674dd4f2e901fe9560f2eda6dfb4d29dc604992306d545b089

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e0b9e9c3f1835c4393c3f98e9cbcc09e7c60243d910a5de82b9e60a0cde433da
MD5 462cbe59d8a25c8781d3e48e7ec0f896
BLAKE2b-256 7683f99b04b390881c130da3fa108b989ed2a3e4adbe1838a4f3b1e08207da2b

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 37ed53268da06969418b157671983bf9c93b8f3bde3add91a5db67c03bccdad7
MD5 5d6f54e20ed6dd092e17b40d3f8d95af
BLAKE2b-256 051962d263179c7c205e96d453ae2e372c7442a4bdc0333e9124cb7c69281565

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: primer3_py-1.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for primer3_py-1.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e8e0ae852c3667471d72f25a2f370ef8a30d3ff1623ae8fd9c7c92200ae7b882
MD5 6e974eb37cbd74ac60b4c968b678b6c8
BLAKE2b-256 e87c5d009698418012012461449013cabca80d03d6799f405ff55df518608263

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a85da5476ec160fab71bd00f78f728dd402b9dc2a14885c14336610564a6a4bb
MD5 5f106fcfb9f1018255c152111777e658
BLAKE2b-256 8f1a682d26bee165f253d5620d16f126da95ef04a874abb8278539270081d1ee

See more details on using hashes here.

File details

Details for the file primer3_py-1.2.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-1.2.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 43fe2c3b97d015eef0966af5b6d3cd7421afe7b56dbc70f598b2102726c84cb3
MD5 aecf306070670b2a20e3dadd1e014dcf
BLAKE2b-256 f8928cfa9388610e812fce5e6a91868159580432c378e41917d8ab2ef0e9691d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page