def test_not_determine_when_wt_mis_generate_mut_site(self): p = Pe() p.name = 'TaqI' p.clean_recognition_sequence = 'tcga' p.save() s = Snp('aaaaaat[g/t]gaaaaa') print(Pe.objects.all().can_determine_snp(s, 1))
def test_not_determine_with_mismatches_in_snp(self): p = Pe() p.name = 'TaqI' p.clean_recognition_sequence = 'tcga' p.save() s = Snp('aaaaaat[g/t]gaaaaa') print(Pe.objects.all().can_determine_snp(s, 1))
def test_determine_with_two_mismatches(self): p = Pe() p.name = 'TaqI' p.clean_recognition_sequence = 'tcga' p.save() s = Snp('aaaaaaa[tc/c]aaaaaa') print(Pe.objects.all().can_determine_snp(s, 2))
def test_determine_with_one_mismatch(self): p = Pe() p.name = 'TaqI' p.clean_recognition_sequence = 'tcga' p.save() s = Snp('aaaaaaa[tc/c]gaaaaa') print(Pe.objects.can_determine_snp(s, 1))
def test_3(self): p = Pe() p.name = 'TaqI' p.clean_recognition_sequence = 'tccy' p.save() s = Snp('aaaaaat[c/t]cataaa') print("{} \n{}".format(self._testMethodName, Pe.objects.can_determine_snp(s, 1)))
def test_determine_without_mismatches_IUPAC(self): p = Pe() p.name = 'TaqI' p.clean_recognition_sequence = 'tcga' p.save() s = Snp('aaaaaatycgaaaaa') print("{} \n{}".format(self._testMethodName, Pe.objects.can_determine_snp(s, 0)))