Skip to main content

Python bindings for Primer3

Project description

https://secure.travis-ci.org/benpruitt/primer3-py.png https://img.shields.io/pypi/l/primer3-py.png https://img.shields.io/pypi/v/primer3-py.png https://img.shields.io/pypi/dm/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 extremely 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 µs 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, but you don’t have to deal with messy and slow file IO for your automated workflows.

For complete documentation, see https://benpruitt.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.4.0.tar.gz (438.5 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.4.0-cp34-cp34m-macosx_10_6_x86_64.whl (762.2 kB view details)

Uploaded CPython 3.4mmacOS 10.6+ x86-64

primer3_py-0.4.0-cp33-cp33m-macosx_10_6_x86_64.whl (760.0 kB view details)

Uploaded CPython 3.3mmacOS 10.6+ x86-64

primer3_py-0.4.0-cp27-none-macosx_10_10_intel.whl (695.1 kB view details)

Uploaded CPython 2.7macOS 10.10+ Intel (x86-64, i386)

File details

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

File metadata

  • Download URL: primer3-py-0.4.0.tar.gz
  • Upload date:
  • Size: 438.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for primer3-py-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0752d4ce5cf337028e6a75f81204e2e5e5b06e70ce8e847ebfa1928f8543627c
MD5 b9dc56fe4010cdfe6a43224a03940718
BLAKE2b-256 d1d4c1dac3c98453ba9042d7ccb0519aa6619c9c199bd1869b27ce0ec713d7b2

See more details on using hashes here.

File details

Details for the file primer3_py-0.4.0-cp34-cp34m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-0.4.0-cp34-cp34m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 da5da915de9b5d641d319f1d14e229c231616e222db6a4948f1fd94f37e7930f
MD5 8e4fabf15c1f43e53a458422437b81e0
BLAKE2b-256 b6b409a463e01b43da1cd3b189c5b44f669fd15a545ba35d4a7b2688db5d7cde

See more details on using hashes here.

File details

Details for the file primer3_py-0.4.0-cp33-cp33m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-0.4.0-cp33-cp33m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 138591c831234b5e8332b9c000d7b747b1b942b41f605b8e7b11b019ef207f13
MD5 e9a0914768e4668a625e5c12de904f33
BLAKE2b-256 3a4acaa9a5f21a3fdd04c654e2b1f929485b67ea2cb13bd13091b97dc1b1bf2d

See more details on using hashes here.

File details

Details for the file primer3_py-0.4.0-cp27-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for primer3_py-0.4.0-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 ed428634fcc974a263c1a27d53bc4a52c5047e1ce092f3766489ee4bc11459e1
MD5 7317f406cb3b402edc5c7325685a8703
BLAKE2b-256 8466ada3b2aefacb46d68b4910eadaaafcccf7d0c53b13e1e53ce7e7d91316ff

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