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-2.0.1.tar.gz (571.7 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-2.0.1-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

primer3_py-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

primer3_py-2.0.1-cp311-cp311-macosx_10_14_x86_64.whl (861.1 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

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

Uploaded CPython 3.10Windows x86-64

primer3_py-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

primer3_py-2.0.1-cp310-cp310-macosx_10_14_x86_64.whl (858.4 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

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

Uploaded CPython 3.9Windows x86-64

primer3_py-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

primer3_py-2.0.1-cp39-cp39-macosx_11_0_arm64.whl (820.7 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

primer3_py-2.0.1-cp39-cp39-macosx_10_14_x86_64.whl (858.8 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

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

Uploaded CPython 3.8Windows x86-64

primer3_py-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

primer3_py-2.0.1-cp38-cp38-macosx_10_14_x86_64.whl (859.4 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

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

File metadata

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

File hashes

Hashes for primer3-py-2.0.1.tar.gz
Algorithm Hash digest
SHA256 30b549c568ae5712e3e6cde6c1f5b243f328247ec8d6ec89d4b705873a44e772
MD5 dd735056f48550a77acf41ad7fd7ef06
BLAKE2b-256 bb902652f98478ca6cd545801525c3ce7a111735c90ad471cca96b1543c7a3f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-2.0.1-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.5

File hashes

Hashes for primer3_py-2.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b23a22e02666d78d4dd0fc10c45c8155413e4ef14791f74228dd340d6a0da3da
MD5 d0fb6ddcbc10f703273111d1fe9b1b3b
BLAKE2b-256 49da1027db21d8c09861758902f8ba94cf0f2fdb16e6a89b3f88ac416489cfea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8130405c07cf406f34aeee099388248faef099ba43e09b763c54cb5bc9c1d6a9
MD5 cfab1d042f0da49bcf61a6048c7e3f2b
BLAKE2b-256 296d44fac5b951c57645688bc77bd8c13d1a209cb258c360c088ea697ec72659

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f42a0c3607ffe2639439e440228630914c54a9f0e64e715fb49d701535fac2bf
MD5 044ca8943a341de08c8d2d7c11672682
BLAKE2b-256 7b0dfa2ee1658e872eff003fbd866d6d87d39f8d08834f146ae1b56dd27ebaf5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-2.0.1-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.5

File hashes

Hashes for primer3_py-2.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a10913d23b93342b2582d54d3a1dfa93a9758aba49466a186cfe51d7ce4e2174
MD5 c82661a4096cf939a9cb94d5f7a7fcc1
BLAKE2b-256 693adb6d247a433cbd5af501ae80988245e0080bb0594d1b79b7f46ae72e79cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87269d19b0952e8e77ba8dccb2a9a04d02a534ec83f9371393287c36528b5a34
MD5 5807cbc27a31436dd462b56bcee27d20
BLAKE2b-256 e650fbf3d1115b346004d8ef8263348c8bf055d9e5bfd043147c32561dc579a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 137027065ed48406c6dcf0071169c3bb7cd1118f57edc04cd45340c2e26f1cbb
MD5 3501870052b41e1fb1463213d2b5f63d
BLAKE2b-256 0851f63254f37c02ecfe3908bf0876952a753a4eae06aa8a11aad45913148ef8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-2.0.1-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.5

File hashes

Hashes for primer3_py-2.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7c572eccbcf6fa1336166d936449f7b59341f4c8a3d68011f66ae65d6d4a1b48
MD5 10595bf17e69f33896e3da1386cf4909
BLAKE2b-256 8dae9c42f4f09fbfdf55b249bd888d7f73621611ac64ec3242d7f08c7627b6cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a6921b38e6db231b9842f41306c5703ffef4410d41fbe287de8acbe6d64c460
MD5 af070ab26293b258f36c2e15fb3dd743
BLAKE2b-256 4077d07f911b12add64e070480df0b872789d276afbe44535e562e7e0ea1d0e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af358097f43ef872e2c9e0dc945a4c1f585cdd3638275c733cf827ac98698658
MD5 53f175dd3bc672837dd7c5865b0af45d
BLAKE2b-256 4c6e266c40c24a4e8a0164f1eb77836741c9fcacab2d9d3d82ddbfea9a023b2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d9db447636a330cef9e30444169c67fd5bc5c208d2f0792fce1111380856b7e2
MD5 e007fede323a57a940bb2ed90892a820
BLAKE2b-256 4de41ca305e4f9f498307027da5f328b1e9997f5f416f435e20b0f4701ae9167

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-2.0.1-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.5

File hashes

Hashes for primer3_py-2.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 eb352320cd883a402685b5fe72228401d9017785d4beabe83e6236deb82dc678
MD5 c91299fe5295e1f176520f1cdbd5efe4
BLAKE2b-256 124bc634e4da9b820439d7b410df6ff56ae055e60c272b6ce886d596432286b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b8f81b7e7067602302843f0a6d3f6967e51f3ac4c597feb16ea9b423a90f0ef
MD5 d43f16353f6ab5641690c239db385b91
BLAKE2b-256 e4d7b484bb3f4fdf9bb9fe200fdd2aad82a93defa67220849056ba9b728ac5d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-2.0.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 611de7d1a4b2dfcae02050504aa1263610172b3275d53ab3ba2013be29070d96
MD5 8381c3a19267e4cf641a8e947bc8854c
BLAKE2b-256 4f9605faaa5f2da3b49323d8b336943aae8f7b65bbecf363ee69fc2c96341303

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