Skip to content
Snippets Groups Projects
Commit fad617d4 authored by Stefano Giorgetti's avatar Stefano Giorgetti Committed by Natalie Willhoft
Browse files

Include exons of length 1 at the boundary

parent b9b470c6
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,7 @@ sub exon {
my @exons;
foreach my $transcript (@$transcripts) {
foreach my $exon (@{ $transcript->get_all_ExonTranscripts}) {
if (($slice->start < $exon->seq_region_start && $exon->seq_region_start < $slice->end) || ($slice->start < $exon->seq_region_end && $exon->seq_region_end < $slice->end) ||($slice->start >= $exon->seq_region_start && $slice->end <= $exon->seq_region_end) ) {
if (($slice->start <= $exon->seq_region_start && $exon->seq_region_start < $slice->end) || ($slice->start < $exon->seq_region_end && $exon->seq_region_end <= $slice->end) ||($slice->start >= $exon->seq_region_start && $slice->end <= $exon->seq_region_end) ) {
push (@exons, $exon);
}
}
......
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