def calcTm(seq, mv_conc=<NUM_LIT:50>, dv_conc=<NUM_LIT:0>, dntp_conc=<NUM_LIT>, dna_conc=<NUM_LIT:50>,<EOL>max_nn_length=<NUM_LIT>, tm_method='<STR_LIT>',<EOL>salt_corrections_method='<STR_LIT>'):
tm_meth = _tm_methods.get(tm_method)<EOL>if tm_meth is None:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>tm_method))<EOL><DEDENT>salt_meth = _salt_corrections_methods.get(salt_corrections_method)<EOL>if salt_meth is None:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>salt_corrections_method))<EOL><DEDENT>args = [pjoin(PRIMER3_HOME, '<STR_LIT>'),<EOL>'<STR_LIT>',  str(mv_conc),<EOL>'<STR_LIT>',  str(dv_conc),<EOL>'<STR_LIT>',   str(dntp_conc),<EOL>'<STR_LIT>',   str(dna_conc),<EOL>'<STR_LIT>',  str(tm_meth),<EOL>'<STR_LIT>',  str(salt_meth),<EOL>seq]<EOL>tm = subprocess.check_output(args, stderr=DEV_NULL,<EOL>env=os.environ)<EOL>return float(tm)<EOL>
Return the tm of `seq` as a float.