Skip to content
Snippets Groups Projects
Commit c2f4a16a authored by Ian Longden's avatar Ian Longden
Browse files

overlapping exon check bug fix

parent a1e0f0f1
No related branches found
No related tags found
No related merge requests found
......@@ -1306,6 +1306,10 @@ sub add_Exon {
# Overlap
last;
}
if ( $i and $exon_start <= $ea->[$i-1]->end() ) {
# Overlap
last;
}
splice( @{$ea}, $i, 0, $exon );
$was_added = 1;
last;
......@@ -1332,6 +1336,10 @@ sub add_Exon {
# Overlap
last;
}
if ( $i and $exon_end >= $ea->[$i-1]->start() ) {
# Overlap
last;
}
splice( @{$ea}, $i, 0, $exon );
$was_added = 1;
last;
......
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