def WillItPCR(self, amplicon, f_primer, r_primer): for_wip = self.SWTm_WillItPCR_primer(amplicon, MB.Antisense(f_primer)) rev_wip = self.SWTm_WillItPCR_primer(amplicon, r_primer) ret = {} if for_wip['TmAB'] > 0: ret['for_Tm'] = for_wip['TmAB'] ret['for_align_score'] = for_wip['align_score'] ret['for_match'] = for_wip['match_str'] ret['for_mis_matches'] = for_wip['mis_matches'] if rev_wip['TmAB'] > 0: ret['rev_Tm'] = rev_wip['TmAB'] ret['rev_align_score'] = rev_wip['align_score'] ret['rev_match'] = rev_wip['match_str'] ret['rev_mis_matches'] = rev_wip['mis_matches'] return ret
def Antisense(self): self.label = self.label + '|as' self.seq = MB.Antisense(self.seq)