From 02d7e62ff4a0cb19de5c1ad7a272b6c746d7408e Mon Sep 17 00:00:00 2001 From: Sanjay C Nagi Date: Fri, 11 Oct 2024 10:05:05 +0100 Subject: [PATCH] fix probe targeting --- AnoPrimer/design.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/AnoPrimer/design.py b/AnoPrimer/design.py index d733975..e407043 100644 --- a/AnoPrimer/design.py +++ b/AnoPrimer/design.py @@ -179,14 +179,11 @@ def prepare_gDNA_sequence( } if "probe" in assay_type: - seq_parameters["SEQUENCE_INTERNAL_EXCLUDED_REGION"] = [ - [1, target_loc_primer3[0] - probe_exclude_region_size], - [ - target_loc_primer3[0] + probe_exclude_region_size, - len(target_sequence) - - (target_loc_primer3[0] + probe_exclude_region_size), - ], + seq_parameters["SEQUENCE_INTERNAL_OVERLAP_JUNCTION_LIST"] = [ + target_loc_primer3[0] ] + seq_parameters["PRIMER_MIN_3_PRIME_OVERLAP_OF_JUNCTION"] = 3 + seq_parameters["PRIMER_MIN_5_PRIME_OVERLAP_OF_JUNCTION"] = 3 return seq_parameters