Skip to content
Snippets Groups Projects
Commit 2e0f66a4 authored by Web Admin's avatar Web Admin
Browse files

first exon phase fix

parent f7b98632
No related branches found
No related tags found
No related merge requests found
......@@ -262,8 +262,14 @@ sub translation {
# "translation");
}
my $Xseq = $self->spliced_seq();
my $start_phase = $start_exon->phase;
if( $start_phase > 0 ) {
$Xseq = "N"x$start_phase . $Xseq;
}
my $tmpSeq = new Bio::Seq( -id => "dummy",
-seq => $self->spliced_seq(),
-seq => $Xseq,
-moltype => "dna" );
return Bio::EnsEMBL::Translation->new
......
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