Commit 70a8f0fa authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Correct documentation for cdna_coding_end() method.

parent a0626bf4
......@@ -346,7 +346,7 @@ sub translate {
=head2 cdna_coding_start
Arg [1] : none
Example : $relative_coding_start = $transcript->cdna_coding_start;
Example : $relative_coding_start = $transcript->cdna_coding_start();
Description: Retrieves the position of the coding start of this transcript
in cdna coordinates (relative to the start of the 5prime end of
the transcript, excluding introns, including utrs). This is
......@@ -358,14 +358,14 @@ sub translate {
=cut
sub cdna_coding_start { return 1; }
sub cdna_coding_start { return 1 }
=head2 cdna_coding_end
Arg [1] : none
Example : $relative_coding_start = $transcript->cdna_coding_start;
Example : $relative_coding_start = $transcript->cdna_coding_end();
Description: Retrieves the position of the coding end of this transcript
in cdna coordinates (relative to the start of the 5prime end of
the transcript, excluding introns, including utrs). This is
......@@ -379,8 +379,8 @@ sub cdna_coding_start { return 1; }
=cut
sub cdna_coding_end {
my $self = shift;
return length($self->spliced_seq);
my ($self) = @_;
return length( $self->spliced_seq() );
}
......
Markdown is supported
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