From e503bf607aac7a81ace16dcb0ff150f9500b67d3 Mon Sep 17 00:00:00 2001 From: tfenne Date: Fri, 15 Nov 2024 14:39:20 -0700 Subject: [PATCH] Add a comment --- prymer/api/picking.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prymer/api/picking.py b/prymer/api/picking.py index 1315881..796628e 100644 --- a/prymer/api/picking.py +++ b/prymer/api/picking.py @@ -146,6 +146,8 @@ def build_primer_pairs( if amp_span.length > amplicon_sizes.max: continue + # Since the amplicon span and the region_start are both 1-based, the minuend + # becomes a zero-based offset amp_bases = bases[amp_span.start - region_start : amp_span.end - region_start + 1] amp_tm = calculate_long_seq_tm(amp_bases)