Python bindings for Primer3
Project description
primer3-py: simple oligo analysis and primer design
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.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, msg=)
... 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 us per loop
In [4]: %timeit test.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.
**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
For documentation of the bindings, see https://libnano.github.io/primer3-py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for primer3_py-1.0.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6039cc67f9daf086906110faf2afd8e4dd5198654fe5a10accc7612cb95d7dc4 |
|
MD5 | 0d7aab58cb46124b905694ed40917305 |
|
BLAKE2b-256 | 838718a5fc8d334c3fd1ebb8486f3e8468b5f3217410fefcc4fb8001384328d6 |
Hashes for primer3_py-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70cf67787a242c743c7701e7cf4a0dc303e975a42c6a75b5d8c323e11e1aaf75 |
|
MD5 | 40cbc5c66595cf3fb94f12ffb26b8280 |
|
BLAKE2b-256 | 73aad70b1973beddfa618c9bcd5b22237c7cf66512643b2ba8eb7fb836eb748a |
Hashes for primer3_py-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70409b113f2206b831a169f4dc63a4cb5205f3b727c10bb695319b56f803d052 |
|
MD5 | 861bdafe50fe04adacf44da7a2fb8df6 |
|
BLAKE2b-256 | 60c37f81b2d79761dcf787133aec5b9e73874e0363043cb945d97735f09526bb |
Hashes for primer3_py-1.0.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e10f54bc039fa0129b4dcd97da42b753551673b3cefbbcb74783966b477a41d2 |
|
MD5 | b25e30a40549182ef1e7e1e9b0a9e7ab |
|
BLAKE2b-256 | 93f24729b913a4644d4e766700be87e0a1426de5737a05c7f333aba7baff1646 |
Hashes for primer3_py-1.0.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 199ba4a00ee99b466d5520d5bbb01ed68a729d322ba1c582c0bdae8c7934a744 |
|
MD5 | 281651dacd487cb74d9402f06c1f033e |
|
BLAKE2b-256 | f29f7af03058178715678c50eb6317a58f181068e1646303f15a0b557bf7609a |
Hashes for primer3_py-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b9a474ed85477354c9c333a263bc4a7d812289ea8346b60e033afdb2ffb0a5d |
|
MD5 | 7bb2658a542bc871366cd908b770232f |
|
BLAKE2b-256 | 6b21dee4f457b1344d41ba5e966084b32dfbcf8211ad330c15577b749f962b0f |
Hashes for primer3_py-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35671f3ad090a37c21b43d2ef725284e57918d6f089ad45f0e8375701b668459 |
|
MD5 | 014c408d2a8bb253e74c2ab2d342f682 |
|
BLAKE2b-256 | 61091f6176d0a3454761cc7a2fded90e85020dec0d30fec9ceea9b36b97b7d71 |
Hashes for primer3_py-1.0.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4374bda2f64a3350a63a3f19ee33e576c9a2f64b893ced5e9d931b3fc29e239f |
|
MD5 | 4c4053c23b0c5d7f6c6096a6db45463d |
|
BLAKE2b-256 | cafa9e3f1b8088be0e57e86fda340aaac0d59fa8ff8763b51cbbf89e6ac3ff3f |
Hashes for primer3_py-1.0.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf7e166e55dc400393d242fd896fe4df2cf4f3f5bb80574a3e9ff8d2d0126e4 |
|
MD5 | ab5df9eaf9c8ae109d5fb9d8bed45d58 |
|
BLAKE2b-256 | e9fc6ca9b2ec59de9b9c5943b4e0f57562f572148c1b52188d77f31c20945412 |
Hashes for primer3_py-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3258542236beef2d8fa9c285167f1ce4516f424e57ed6f3d1d9cf9aeb9a502d1 |
|
MD5 | f2c885f431131534dc3b6cd563014682 |
|
BLAKE2b-256 | c81bad3f824a37f6d9313a8ab7d6b3ce7407aa59cfc1214c2049434879434560 |
Hashes for primer3_py-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff006a04adcf166058b5a6ae80870de8cf0aaaf82c9c3ee6d99a93ed62c78296 |
|
MD5 | 9c1017f7ad16e70c42f075c4d27e4b89 |
|
BLAKE2b-256 | 63d09c553aa1959aae66999296a7a26116745c759ab081e9d3f750e04c174f16 |
Hashes for primer3_py-1.0.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 590d92c7294ca4b58a1e1b08851e394a1a622a07fcd2e1ea11b38d823efb5f3d |
|
MD5 | 6ca3510bc13c38dd3b7fdf2d129fda21 |
|
BLAKE2b-256 | d3f22727e605fabaa2fad561dc99afacfee6aaa502bbfb9bfff18d5308bdaebe |