Skip to content
Snippets Groups Projects
Commit 5ede8fe9 authored by Stephen Searle's avatar Stephen Searle
Browse files

Modified split_Slice so it can handle slices which don't start at 1, for

example HAP or PAR slices
parent a94d4ae8
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ sub split_Slices{
foreach my $slice (@$slice_big){
my $start = 1;
my $start = $slice->start;
my $end;
my $multiple;
my $number;
......@@ -106,7 +106,7 @@ sub split_Slices{
$end = $start + $multiple + $overlap;
#any remainder gets added to the last slice of the seq_region
$end = $length if($i == $number-1);
$end = $slice->end if($i == $number-1);
push @out, Bio::EnsEMBL::Slice->new
(-START => $start,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment