From bfc262278742097ec5735de0064bc1468be52bb6 Mon Sep 17 00:00:00 2001
From: Graham McVicker <mcvicker@sanger.ac.uk>
Date: Fri, 21 May 2004 12:15:44 +0000
Subject: [PATCH] fixed off by one in overlap calculation

---
 modules/Bio/EnsEMBL/Utils/Slice.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/Utils/Slice.pm b/modules/Bio/EnsEMBL/Utils/Slice.pm
index 78094b1ff0..4b52c22264 100644
--- a/modules/Bio/EnsEMBL/Utils/Slice.pm
+++ b/modules/Bio/EnsEMBL/Utils/Slice.pm
@@ -116,7 +116,7 @@ sub split_Slices{
          -SEQ_REGION_LENGTH => $length,
          -COORD_SYSTEM      => $slice->coord_system,
          -ADAPTOR           => $slice->adaptor);
-      $start += $multiple;
+      $start += $multiple + 1;
     }
   }
 
-- 
GitLab