Skip to main content

Python bindings for Primer3

Project description

https://secure.travis-ci.org/libnano/primer3-py.png https://img.shields.io/pypi/l/primer3-py.png https://img.shields.io/pypi/v/primer3-py.png

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.calcTm('GTAAAACGACGGCCAGT')
49.16808228911765
>>> primer3.calcHairpin('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]: %timeit primer3.calcTm('GTAAAACGACGGCCAGT')
100000 loops, best of 3: 4.74 us per loop

In [3]: %timeit primer3.wrappers.calcTm('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: http://primer3.sourceforge.net/.

A copy of the Primer3 2.3.7 design parameters manual can be found at: https://git.io/v9xrc

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-0.6.0.tar.gz (400.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-0.6.0-cp37-cp37m-win_amd64.whl (282.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

primer3_py-0.6.0-cp37-cp37m-macosx_10_7_x86_64.whl (558.6 kB view details)

Uploaded CPython 3.7mmacOS 10.7+ x86-64

primer3_py-0.6.0-cp36-cp36m-win_amd64.whl (282.8 kB view details)

Uploaded CPython 3.6mWindows x86-64

primer3_py-0.6.0-cp36-cp36m-macosx_10_7_x86_64.whl (554.6 kB view details)

Uploaded CPython 3.6mmacOS 10.7+ x86-64

primer3_py-0.6.0-cp35-cp35m-win_amd64.whl (274.7 kB view details)

Uploaded CPython 3.5mWindows x86-64

primer3_py-0.6.0-cp35-cp35m-macosx_10_7_x86_64.whl (551.0 kB view details)

Uploaded CPython 3.5mmacOS 10.7+ x86-64

primer3_py-0.6.0-cp27-cp27m-macosx_10_6_x86_64.whl (556.9 kB view details)

Uploaded CPython 2.7mmacOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: primer3-py-0.6.0.tar.gz
  • Upload date:
  • Size: 400.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for primer3-py-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8cd845af9f025315ad9b7a64a061d87fbf5cacd531e253b2abf77926b9e4fa38
MD5 7eba1e6f39b4970084639e69c151c248
BLAKE2b-256 7bf4c47952f5db5a0289e2dc056130e4304bb16bf0de9fb2d0c091f385094bfc

See more details on using hashes here.

File details

Details for the file primer3_py-0.6.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: primer3_py-0.6.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 282.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.14.2 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.6

File hashes

Hashes for primer3_py-0.6.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5601dc3f5d68af2a4187e6752c7bbff18238f2e8566366575ddb10b8bcead328
MD5 f9f6c53e5bc5e697a01d11ff7d96208c
BLAKE2b-256 27ee999f1af691b52cfbb2041c039a74a4d2bee74e94f9d4f6a91f1212c393d0

See more details on using hashes here.

File details

Details for the file primer3_py-0.6.0-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: primer3_py-0.6.0-cp37-cp37m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 558.6 kB
  • Tags: CPython 3.7m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for primer3_py-0.6.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2d9e5a3fdc3dd5a078a7cfb08d91659a7ed69068639fec35b24ea16eab7d0dcb
MD5 808a11998dfdb100ebec129862f4c419
BLAKE2b-256 ad68a00ffd95fc5001f8dd7e859fbf6abe8fc6f83d1973044530c056d228c2fb

See more details on using hashes here.

File details

Details for the file primer3_py-0.6.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: primer3_py-0.6.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 282.8 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.14.2 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.6

File hashes

Hashes for primer3_py-0.6.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 70a01ba930358e6ca37774f3d02c3ac05c8e26e3683e23040eba5406a0c95a1a
MD5 dff3f76fdd116923cf4bb2cd50755851
BLAKE2b-256 b58bb0988b54c50e49f1b8e7ab7ce9dfb6148263acc683a51632f9d462ad8e82

See more details on using hashes here.

File details

Details for the file primer3_py-0.6.0-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: primer3_py-0.6.0-cp36-cp36m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 554.6 kB
  • Tags: CPython 3.6m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for primer3_py-0.6.0-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 39f836ad4926d02fc79f4a9b3f38c963b291e293706b79955209222731a32e15
MD5 5ba31e7416b317ed7feab02ef3a27b25
BLAKE2b-256 806ffc7040d46fbf9c32aa9dc4aa5437357a3e5bf2cde0d55af25b6a4add1a51

See more details on using hashes here.

File details

Details for the file primer3_py-0.6.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: primer3_py-0.6.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 274.7 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.14.2 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.6

File hashes

Hashes for primer3_py-0.6.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 17660778a70479dff6cd7ff91337caf843c0dff98e21669716feda2b6bbccf0e
MD5 eb8273bd0e8afbb1293555103e9570a8
BLAKE2b-256 f4b5e3223520918346b75a2c2968244d4339367df0504c0366f381475f1c12a1

See more details on using hashes here.

File details

Details for the file primer3_py-0.6.0-cp35-cp35m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: primer3_py-0.6.0-cp35-cp35m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 551.0 kB
  • Tags: CPython 3.5m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for primer3_py-0.6.0-cp35-cp35m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c7652712cf43559e5bc6ffe0b8a7cafe18c461dd98be7abe23068a214e708d60
MD5 651a4d387556f96a0ae84557f1e45c83
BLAKE2b-256 7f83add1b2ff7792f5e71eab818e1281de4b3cc4441e24f6f7808dd1cab07770

See more details on using hashes here.

File details

Details for the file primer3_py-0.6.0-cp27-cp27m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: primer3_py-0.6.0-cp27-cp27m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 556.9 kB
  • Tags: CPython 2.7m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for primer3_py-0.6.0-cp27-cp27m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 bc4eed340ef9220381828048b06c327e777b38dae98d4bfcdb72b5dfff01916b
MD5 c75713075e05049a1a0127c1ea152b09
BLAKE2b-256 c052b5e7e436ddf54ce03bbc0ae9ab347340dd375571e03ee96cc7f90583629b

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