Closed Tim-Kirkwood closed 1 year ago
The oligotm
binary that is built w/ the native primer3
library converts lower case sequences to upper case as a matter of course (see oligotm_main.c:256). The underlying oligotm
function, which we invoke directly in the primer3-py
Cython code, expects a fully upper case input.
We've generally avoided adding / including input sanitization in primer3-py
as a matter of course, given that the library is intended to offer a more performant alternative to command line wrappers. I would suggest that you just call .upper()
on the string input to calc_tm
. If additional IUPAC degenerate base sanitization is required, primer3-py
includes a sanitize_sequence
method in p3helpers
(ref)
Hello, My system:
I am working in a conda env with these libs:
Feeding in lower case sequences seems to break the calc tm methods: