Skip to content
Snippets Groups Projects
Commit 76927f02 authored by Will Spooner's avatar Will Spooner
Browse files

Now returns undef of no five or three prime UTR for transcript. This is the documented behavior

parent ddf69362
No related branches found
No related tags found
No related merge requests found
......@@ -1156,6 +1156,7 @@ sub five_prime_utr {
my $self = shift;
my $seq = substr($self->spliced_seq, 0, $self->cdna_coding_start - 1);
length $seq or return;
return Bio::Seq->new(
-DISPLAY_ID => $self->stable_id,
......@@ -1168,6 +1169,7 @@ sub three_prime_utr {
my $self = shift;
my $seq = substr($self->spliced_seq, $self->cdna_coding_end);
length $seq or return;
return Bio::Seq->new(
-DISPLAY_ID => $self->stable_id,
......
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