Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.84 KB

README.rst

File metadata and controls

68 lines (46 loc) · 1.84 KB

Melt

image

image

image

A nucleotide sequence melt temp calculator for Python.

Features:

Limitations:

  • Does not handle mismatches or dangling ends
  • Does not handle ambiguous bases
  • Does not handle RNA or DNA/RNA hybridization

If you need these features, use BioPython's MeltingTemp module.

Installation

$ pip install melt

Usage

From the command line:

$ Tm ATGCATGC
44.4
$ Tm --dna 200 --na 50 --mg 3 --dntp 0.8 ATGCATGC
26.4

As a library:

>>> import melting
>>> melting.temp("ATGCATGC")
44.387081560668946
>>> melting.temp("ATGCATGC", DNA_c=200, Na_c=50, Mg_c=3, dNTPs_c=0.8)
26.438734864285152

Acknowledgements

This code is largely built on existing code from:

Salt concentration equations adapted from IDT, with work from Erik Clarke, Sesh Sundararaman, and Calvin Morrison.