Skip to content
Snippets Groups Projects
Commit bb304116 authored by Andy Yates's avatar Andy Yates
Browse files

Switch to using $subsequence_slice than $self for the start and end values. If...

Switch to using $subsequence_slice than $self for the start and end values. If we don't then we will try to retrieve all repeat features for an entire chromosome.
parent 040a03e9
No related branches found
No related tags found
No related merge requests found
......@@ -263,8 +263,8 @@ sub subseq {
my $seq_region_slice = $self->seq_region_Slice();
# The blocksize can be defined on the top of this module.
my $block_min = ($self->start()-1) >> $BLOCK_PWR;
my $block_max = ($self->end()-1) >> $BLOCK_PWR;
my $block_min = ($subsequence_slice->start()-1) >> $BLOCK_PWR;
my $block_max = ($subsequence_slice->end()-1) >> $BLOCK_PWR;
my $sub_start = ($block_min << $BLOCK_PWR)+1;
my $sub_end = ($block_max+1)<<$BLOCK_PWR;
......
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