original_docstring: 
          Get the Tm using Allawi-SantaLucia (1997) method.
          
docstring: Get the Tm using Allawi-SantaLucia (1997) method.
docstring_tokens: Get the Tm using Allawi - SantaLucia ( 1997 ) method .
code: def Tm_All97(self):
          """
          Get the Tm using Allawi-SantaLucia (1997) method.
          """
          
          Tm_All97_data = {
              'A':{
                  'A':{'dS':-22.2,'dH':-7900.0},
                  'C':{'dS':-22.4,'dH':-8400.0},
                  'T':{'dS':-20.4,'dH':-7200.0},
                  'G':{'dS':-21.0,'dH':-7800.0}},
              'C':{
                  'A':{'dS':-22.7,'dH':-8500.0},
                  'C':{'dS':-19.9,'dH':-8000.0},
                  'T':{'dS':-21.0,'dH':-7800.0},
                  'G':{'dS':-27.2,'dH':-10600.0}},
              'T':{
                  'A':{'dS':-21.3,'dH':-7200.0},
                  'C':{'dS':-22.2,'dH':-8200.0},
                  'T':{'dS':-22.2,'dH':-7900.0},
                  'G':{'dS':-22.7,'dH':-8500.0}},
              'G':{
                  'A':{'dS':-22.2,'dH':-8200.0},
                  'C':{'dS':-24.4,'dH':-9800.0},
                  'T':{'dS':-22.4,'dH':-8400.0},
                  'G':{'dS':-19.9,'dH':-8000.0}}}
  
          dS_ini = 0
          dH_ini = 0
  
          if self.seq.endswith(('A', 'T')):
              dS_ini += 4.1
              dH_ini += 2300
          if self.seq.endswith(('C', 'G')):
              dS_ini -= 2.8
              dH_ini += 100
          if self.seq.startswith(('A', 'T')):
              dS_ini += 4.1
              dH_ini += 2300
          if self.seq.startswith(('C', 'G')):
              dS_ini -= 2.8
              dH_ini += 100
  
          thermodyndata = self.sumObjectSymbolNNValues(Tm_All97_data, {'dH_ini': dH_ini, 'dS_ini': dS_ini})
          res = (thermodyndata['dH'] / (1.9872 * math.log(self.primer_conc / 4.0) + thermodyndata['dS'])) + (16.6 * math.log(0.215273974689348) / math.log(10)) - 273.15
  
          res_adj = (res+3)*0.9376798568+4.5185404499
  
          if res_adj < 0:
              res_adj = 0
          elif res_adj > 95:
              res_adj =  95
  
          return res_adj
code_tokens: def Tm_All97 ( self ) : Tm_All97_data = { 'A' : { 'A' : { 'dS' : - 22.2 , 'dH' : - 7900.0 } , 'C' : { 'dS' : - 22.4 , 'dH' : - 8400.0 } , 'T' : { 'dS' : - 20.4 , 'dH' : - 7200.0 } , 'G' : { 'dS' : - 21.0 , 'dH' : - 7800.0 } } , 'C' : { 'A' : { 'dS' : - 22.7 , 'dH' : - 8500.0 } , 'C' : { 'dS' : - 19.9 , 'dH' : - 8000.0 } , 'T' : { 'dS' : - 21.0 , 'dH' : - 7800.0 } , 'G' : { 'dS' : - 27.2 , 'dH' : - 10600.0 } } , 'T' : { 'A' : { 'dS' : - 21.3 , 'dH' : - 7200.0 } , 'C' : { 'dS' : - 22.2 , 'dH' : - 8200.0 } , 'T' : { 'dS' : - 22.2 , 'dH' : - 7900.0 } , 'G' : { 'dS' : - 22.7 , 'dH' : - 8500.0 } } , 'G' : { 'A' : { 'dS' : - 22.2 , 'dH' : - 8200.0 } , 'C' : { 'dS' : - 24.4 , 'dH' : - 9800.0 } , 'T' : { 'dS' : - 22.4 , 'dH' : - 8400.0 } , 'G' : { 'dS' : - 19.9 , 'dH' : - 8000.0 } } } dS_ini = 0 dH_ini = 0 if self . seq . endswith ( ( 'A' , 'T' ) ) : dS_ini += 4.1 dH_ini += 2300 if self . seq . endswith ( ( 'C' , 'G' ) ) : dS_ini -= 2.8 dH_ini += 100 if self . seq . startswith ( ( 'A' , 'T' ) ) : dS_ini += 4.1 dH_ini += 2300 if self . seq . startswith ( ( 'C' , 'G' ) ) : dS_ini -= 2.8 dH_ini += 100 thermodyndata = self . sumObjectSymbolNNValues ( Tm_All97_data , { 'dH_ini' : dH_ini , 'dS_ini' : dS_ini } ) res = ( thermodyndata [ 'dH' ] / ( 1.9872 * math . log ( self . primer_conc / 4.0 ) + thermodyndata [ 'dS' ] ) ) + ( 16.6 * math . log ( 0.215273974689348 ) / math . log ( 10 ) ) - 273.15 res_adj = ( res + 3 ) * 0.9376798568 + 4.5185404499 if res_adj < 0 : res_adj = 0 elif res_adj > 95 : res_adj = 95 return res_adj
short_docstring: Get the Tm using Allawi-SantaLucia (1997) method.
short_docstring_tokens: Get the Tm using Allawi - SantaLucia ( 1997 ) method .
comment: """
          Get the Tm using Allawi-SantaLucia (1997) method.
          """