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, msg=)

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

Uploaded CPython 3.11Windows x86-64

primer3_py-1.1.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.1.0-cp311-cp311-macosx_10_14_x86_64.whl (804.1 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

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

Uploaded CPython 3.10Windows x86-64

primer3_py-1.1.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.1.0-cp310-cp310-macosx_10_14_x86_64.whl (811.3 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

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

Uploaded CPython 3.9Windows x86-64

primer3_py-1.1.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.1.0-cp39-cp39-macosx_11_0_arm64.whl (767.3 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

primer3_py-1.1.0-cp39-cp39-macosx_10_14_x86_64.whl (813.1 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

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

Uploaded CPython 3.8Windows x86-64

primer3_py-1.1.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.1.0-cp38-cp38-macosx_10_14_x86_64.whl (804.0 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: primer3-py-1.1.0.tar.gz
  • Upload date:
  • Size: 174.8 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.1.0.tar.gz
Algorithm Hash digest
SHA256 bd78f748b8b2ddea58c61e6d643e5e6506cb02869d7bde21feaaebdc443161c1
MD5 a71a9e933e59ba54d9e6c14101ed28a1
BLAKE2b-256 707c3b95da7ce6ebf67c6f597d4383b4ebe26b9b8de1d9e721e218817ce919a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-1.1.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.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 699820c5045c3dfba2d00ef923d67dc1ce8b6d781311e0bffdb6a251aab058f8
MD5 f9a62f4c59f4379431350ef177c21ef0
BLAKE2b-256 8b8c2c83e0b91a7a9bd3249435c26bf0633773fb8a9b564ac781a65969cefba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5fca6b7991c8fba70e9df3cf8930cca141f32cdb7da42918296af1bb444124b
MD5 769aaf8746f25ee76f5d7ddfff49666c
BLAKE2b-256 ccd53a90460105d8bd4804b40ddc5a625268078e6ba6865d18dde2a4dd16a779

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 278744dc4c80de56c3f05b3fab3f00b343c06145dddf324735fff120f596a6b4
MD5 3b8a61161c1936d86f09b0f3c431d4e6
BLAKE2b-256 6a13241c272a9351da29706326d14d212092a697722dfd60d689d236b911b740

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-1.1.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.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dd6d97e51c32edf1873a5a638cc3d4dc0a24ea1c6c7293960bd003145669b128
MD5 be4e82912b60030d014601398c4c7a08
BLAKE2b-256 907e4342146b45b2cff34b55b989d66c40c8df186b24bc9abd746c6f08434b42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d651dd73d2d09566bfc4b115f89552df37a2f243aa0b4215ac31b1ade7dbc4b
MD5 a9fad8c34de9c7614baa018f9f8381cf
BLAKE2b-256 773d138c5530be34da9e982068df1b69dd9c4930b02b8cf2dae7c5f97734ae4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ba4c7c18e7792744ecac0a757da42c596891cb9287f12364a0d5970cb37ddb6f
MD5 44f6b6aed59e9797fae2441fa86e072a
BLAKE2b-256 6e8cdd4459b1a614cfcb847aab7c379b00a5ad84fabf586cf6e1044d8c293c62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-1.1.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.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 670db38b98d916d25d7dfa44df6787d629812097ee0c5fb56609a711601503d3
MD5 84a2f6bd63cb6c71fe38723dd3858001
BLAKE2b-256 56e6d6788388469ab35415deea19bc8d275f7622b174e93b6048d1695fc65b5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 891d11cf2c13ef9cdbb61df1836f2605926bbb009273e26cc03c058598eb4ec6
MD5 144c989a2c495e21e89468948c3718cd
BLAKE2b-256 8203fd61b3d9e69b7a3daae0e500f8abdab48fe34c040ccfef5151602421188e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d5dbf008bc25fc5d4a0ea763654b19378e6297352a81f26f46bbb273136b9e1
MD5 ccc9ca97710da3d4fa1fcbeaf646f227
BLAKE2b-256 e2ad34f4986bade0d8b26e48267e56827fb6fa24fe0448a06bc3d3dd75fc2daa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 20b61c917e91e5b25ccbc8360a0c1767b5d78933d16de8109eee668159aef741
MD5 be75020b62d8f9714fe72ad4818a3a52
BLAKE2b-256 f434847a98cabc2fb396acc05a26e411d782fa32ac2436ea2c462512d402248d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: primer3_py-1.1.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.1.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d3a7ae27b0b8e98d6b32b8da57b89afb9dcc0e9626be085b0454c6b0f2535498
MD5 f37841a0c9a729f0a9f57771680da847
BLAKE2b-256 8ba6b91c8fd7e0b69ee46215878ab49675cc969c1eb0bf9821ce0e94ecb51083

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bcab29e940ed4ec192da780a6a06e72dd6c622e65503ba70082b2faa096e05ea
MD5 cf25dc22793044a6b7f2c70af35d214f
BLAKE2b-256 87b1e9c26f304c96742e8e077c4eff71371f8675da004947f422e1a00b84f88e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-1.1.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7a08ac193b64853261fe1068475790ce14996299ef56e42e9d50357ab127ae30
MD5 39cd43da944b44b34d772eb8319e104f
BLAKE2b-256 49e37e179387a5fce7493d512de047d04f6ff84a85fc928bb54de7801c1c21dc

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