Primer3-py documentation
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.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)
… 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 µs per loop
In [4]: %timeit tests.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, but you don’t have to deal with messy and slow file
IO for your automated workflows.
**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
Contents
- Getting Started
- API Documentation
- Building new Cython modules against
thermoanalysis.pxd
- Miscellany
- Changelog
- Version 2.0.3 (February 15, 2024)
- Version 2.0.2 (February 9, 2024)
- Version 2.0.1 (September 18, 2023)
- Version 2.0.0 (May 30, 2023)
- Version 1.2.2 (May 16, 2023)
- Version 1.2.1 (April 28, 2023)
- Version 1.2.0 (March 22, 2023)
- Version 1.1.0 (March 1, 2023)
- Version 1.0.0 (February 11, 2023)
- Version 0.6.1 (May 9, 2020)
- Version 0.6.0 (May 10, 2019)
- Version 0.5.7 (August 10, 2018)
- Version 0.5.6 (July 12, 2018)
- Version 0.5.5 (October 30, 2017)
- Version 0.5.4 (June 20, 2017)
- Version 0.5.3 (May 6, 2017)
- Version 0.5.2 (May 1, 2017)
- Version 0.5.1 (May 25, 2016)
- Version 0.5.0 (February 25, 2016)
- Version 0.4.3 (December 1, 2015)
- Version 0.4.2 (September 18, 2015)
- Version 0.4.1 (November 28, 2014)
- Version 0.4.0 (November 25, 2014)
- Version 0.3.1 (August 13, 2014)
- Version 0.3.0 (August 12, 2014)
- Version 0.2.5 (August 7, 2014)
- Version 0.2.4 (June 17, 2014)
- Version 0.2.3 (June 5, 2014)
- Version 0.2.2 (June 3, 2014)
- Version 0.2.1 (April 24, 2014)
- Version 0.2 (April 23, 2014)
- Version 0.1 (March 3, 2014)