[Biopython] Looking for Python DNA melting temp calculator

Peter Cock p.j.a.cock at googlemail.com
Sun Apr 17 11:08:41 UTC 2011


On Sun, Apr 17, 2011 at 9:15 AM, Nathan McCorkle <nmz787 at gmail.com> wrote:
> I downloaded the zip file here:
> http://osdir.com/ml/python.bio.general/2003-11/msg00043.html
>
> but it says c on line 20 is undefined when I call the function:
> LogDNA = r * math.log(c/4e9)

That was some draft code from Sebastian Bassi, which I think
formed the basis of the Bio.SeqUtils.MeltingTemp module in
Biopython. Have you tried that Tm_staluc function?

http://biopython.org/DIST/docs/api/Bio.SeqUtils.MeltingTemp-module.html#Tm_staluc

> Anyone know of a working version to get a forward and reverse
> primer list from a DNA sequence?

I use EMBOSS primer3 for that, via the Biopython wrapper
and parser in the Bio.Emboss module.

Peter



More information about the Biopython mailing list