Hi,
I have a working python program that also calculates melting temperature of the primer that I am calling through bash.
I am getting errors like while I am running bash script but not while I am running python script
fmt=str(mt.Tm_Wallace(forpri))
File "/usr/local/lib/python2.7/site-packages/Bio/SeqUtils/MeltingTemp.py", line 630, in Tm_Wallace
'allowed when strict=True')
ValueError: ambiguous bases B, D, H, K, M, N, R, V, Y not allowed when strict=True
this is my part of the code that runs this in python
import sys
from Bio.SeqUtils import MeltingTemp as mt
from Bio.Seq import Seq
fmt=str(mt.Tm_Wallace(forpri))
rmt=str(mt.Tm_Wallace(revpri))
which is essentially forward and reverse melting temperature
I am also getting confused with the results of melting temperature because most of the online tools giving very different results than what bio python would do.
what is the right way to calculate melting temperature through program
I have a working python program that also calculates melting temperature of the primer that I am calling through bash.
I am getting errors like while I am running bash script but not while I am running python script
fmt=str(mt.Tm_Wallace(forpri))
File "/usr/local/lib/python2.7/site-packages/Bio/SeqUtils/MeltingTemp.py", line 630, in Tm_Wallace
'allowed when strict=True')
ValueError: ambiguous bases B, D, H, K, M, N, R, V, Y not allowed when strict=True
this is my part of the code that runs this in python
import sys
from Bio.SeqUtils import MeltingTemp as mt
from Bio.Seq import Seq
fmt=str(mt.Tm_Wallace(forpri))
rmt=str(mt.Tm_Wallace(revpri))
which is essentially forward and reverse melting temperature
I am also getting confused with the results of melting temperature because most of the online tools giving very different results than what bio python would do.
what is the right way to calculate melting temperature through program
Comment