skip to navigation
skip to content

primer3-py 0.5.4

Python bindings for Primer3

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 µ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.

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

 
File Type Py Version Uploaded on Size
primer3-py-0.5.4.tar.gz (md5) Source 2017-06-22 382KB
primer3_py-0.5.4-cp27-cp27m-macosx_10_7_x86_64.whl (md5) Python Wheel cp27 2017-06-22 510KB
primer3_py-0.5.4-cp35-cp35m-macosx_10_6_x86_64.whl (md5) Python Wheel cp35 2017-06-22 508KB
primer3_py-0.5.4-cp35-cp35m-win_amd64.whl (md5) Python Wheel cp35 2017-06-21 229KB
primer3_py-0.5.4-cp36-cp36m-macosx_10_7_x86_64.whl (md5) Python Wheel cp36 2017-06-22 508KB
primer3_py-0.5.4-cp36-cp36m-win_amd64.whl (md5) Python Wheel cp36 2017-06-21 229KB