Skip to content
Snippets Groups Projects
Commit 9b6eb76e authored by Graham McVicker's avatar Graham McVicker
Browse files

bug fix: coding end was incorrectly set on CDS deletion at 3prime CDS end

parent 79ac53ab
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ sub process_cds_delete {
# move up CDS end to put reading frame back (shrink CDS)
info("shifting cds end to restore reading frame");
$transcript->move_cdna_coding_end(3 - $frameshift);
$transcript->move_cdna_coding_end($frameshift-3);
}
}
......@@ -247,7 +247,7 @@ sub process_cds_delete {
$transcript->move_cdna_coding_end(-$del_len);
if($frameshift && !$entire_delete) {
print STDERR "BEFORE CDS INSERT:\n";
print STDERR "BEFORE CDS DELETE:\n";
print_exon($exon, $transcript);
$code |= StatMsg::FRAMESHIFT if($frameshift);
......
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