Permalink
Browse files

Fixed bug: too many Ns added by spliced_seq

If sequence of an exon is not found, Spliced_seq should add the number
of Ns corresponding to just that exon.
  • Loading branch information...
1 parent a747f20 commit 339b7ca5d0a0ed186335ff1fafaebc2de28a41ff @stu2 stu2 committed with fjossandon May 13, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bio/SeqFeatureI.pm
View
@@ -594,7 +594,7 @@ sub spliced_seq {
$called_seq = undef;
}
if ( !defined $called_seq ) {
- $seqstr .= 'N' x $self->length;
+ $seqstr .= 'N' x $loc->length;
next;
}
}

0 comments on commit 339b7ca

Please sign in to comment.