Skip to content
Snippets Groups Projects
Commit 7954e2d1 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-2307: use absolute coords rather than offset

parent 7dee916a
No related branches found
No related tags found
No related merge requests found
......@@ -322,8 +322,8 @@ sub print_feature {
foreach my $endcodon (@endcodons) {
if ( $translation &&
$hasend &&
( $cdsexon->end + $sliceoffset >= $endcodon->start &&
$cdsexon->start + $sliceoffset <= $endcodon->end ) )
( $cdsexon->seq_region_end >= $endcodon->start &&
$cdsexon->seq_region_start <= $endcodon->end ) )
{
if ( $cdsexon->strand == 1 ) {
$exon_end = $cdsexon->end - $endcodon->length;
......
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