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.5.6.tar.gz (513.2 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.5.6-cp36-cp36m-win_amd64.whl (251.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

primer3_py-0.5.6-cp36-cp36m-macosx_10_10_x86_64.whl (522.5 kB view details)

Uploaded CPython 3.6mmacOS 10.10+ x86-64

File details

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

File metadata

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

File hashes

Hashes for primer3-py-0.5.6.tar.gz
Algorithm Hash digest
SHA256 515952a9c677611101116bd0d2bb71634edeb84803e3b445b6c10360aeaa4908
MD5 a986d0bcf4c284339e25f650f6da1c48
BLAKE2b-256 6765336f213dd906e83eae3d939fe3abacfa3fe7317d95edf7c041de8118feb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for primer3_py-0.5.6-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b0c1a3e2ed57537981472fd8b92b98e322425fa075c2ebbe5b547419af63704d
MD5 47a2faf56fb3d4c6cc4a729c6d393b23
BLAKE2b-256 673478211f8350becafaf7d865cfa680afb6098d0e0b59fef623269a2552827d

See more details on using hashes here.

File details

Details for the file primer3_py-0.5.6-cp36-cp36m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for primer3_py-0.5.6-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c1785e47af8a2abefefb783b424c7370d3d0b0d030c7d70c7aa94ed4c60b97bb
MD5 9df02ebc326ef76ba7d24692d6e899f7
BLAKE2b-256 9d86d5051d857cce71a68776c89c9ac379b230fbe69aa79b728de373be0be3fc

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