<div dir="ltr"><p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Hello,</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>

<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">My name is Ian and I am new to the
bioinformatics world. I am using the biopython&#39;s melting temp TM_NN algorithm
to calculate the melting temp differences in wild type sequence with the
complementary mutation sequence, using the the the Allawi and SantaLucia
(1997), Biochemistry 36: 10581-10594 table. I have attached a small output of
the sample program for better understanding, which shows the Key Error I am
getting and other times I will get a Value Error, meaning it can find the key
but can&#39;t find the value, I was wondering if </span></p>

<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">A) if there is something else out there
better suited for this problem</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">B)
if I need to update the table or something to get working and if so how would I
go about improving the dictionary being used to address the problems which can be seen here</span></p><p class="MsoNormal"><br><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">/Library/Python/2.7/site-packages/Bio/SeqUtils/MeltingTemp.py:931:
 BiopythonWarning: no data for neighbors &#39;AT/AG&#39;. Calculation will be 
wrong<br>  BiopythonWarning)</span></p><p class="MsoNormal"><br><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"></span></p><p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Here is the output of the code. I think that the &#39;.&#39; may be equivalent to the regex expression of &#39;.&#39; meaning it could be any character in front of the G. But as you can see it is not a problem for the one up above. </span> </p><p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><br></span></p><p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">seq:  [&#39;G&#39;, &#39;A&#39;, &#39;T&#39;]<br>Mutation c_seq:  [&#39;C&#39;, &#39;C&#39;, &#39;A&#39;]<br>/Library/Python/2.7/site-packages/Bio/SeqUtils/MeltingTemp.py:931: BiopythonWarning: no data for neighbors &#39;AT/AG&#39;. Calculation will be wrong<br>  BiopythonWarning)<br>TM:  -262.480685148<br>seq:  [&#39;G&#39;, &#39;A&#39;, &#39;T&#39;, &#39;A&#39;]<br>Mutation c_seq:  [&#39;C&#39;, &#39;C&#39;, &#39;A&#39;, &#39;T&#39;]<br>Traceback (most recent call last):<br>  File &quot;PrimerBuilder.py&quot;, line 333, in &lt;module&gt;<br>    switchList = switchBuilder(middle,basepairs,mutation)<br>  File &quot;PrimerBuilder.py&quot;, line 56, in switchBuilder<br>    tmMismatch = mt.Tm_NN(switch,strict=False,c_seq=mutation,nn_table=mt.DNA_NN3)<br>  File &quot;/Library/Python/2.7/site-packages/Bio/SeqUtils/MeltingTemp.py&quot;, line 856, in Tm_NN<br>    deltaH += de_table[right_de][dH]<br>KeyError: &#39;.G/AT&#39;<br><br></span></p></div>