Skip to content
Snippets Groups Projects
Commit e4a29790 authored by Arne Stabenau's avatar Arne Stabenau
Browse files

all objs_from_sth have a small buglet, fixed for this one. Features...

all objs_from_sth have a small buglet, fixed for this one. Features overhanging the slice and not overlapping were not filtered out
parent c1ddaaa6
No related branches found
No related tags found
No related merge requests found
......@@ -289,11 +289,11 @@ sub _objs_from_sth {
$seq_region_end = $dest_slice_end - $tmp_seq_region_start + 1;
$seq_region_strand *= -1;
}
}
#throw away features off the end of the requested slice
if($seq_region_end < 1 || $seq_region_start > $dest_slice_length) {
next FEATURE;
}
#throw away features off the end of the requested slice
if($seq_region_end < 1 || $seq_region_start > $dest_slice_length) {
next FEATURE;
}
$slice = $dest_slice;
}
......
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