Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
6cbce1cc
Commit
6cbce1cc
authored
Feb 07, 2008
by
Andreas Kusalananda Kähäri
Browse files
Fixup POD for method translation().
parent
de41f4f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
modules/Bio/EnsEMBL/Transcript.pm
modules/Bio/EnsEMBL/Transcript.pm
+11
-10
No files found.
modules/Bio/EnsEMBL/Transcript.pm
View file @
6cbce1cc
...
...
@@ -545,18 +545,19 @@ sub display_xref {
=head2 translation
Arg
[1]
:
Bio::EnsEMBL::Translation
Example : if
(
$transcript->translation()) {
print $translation->stable_id(), "\n";
Arg
s
:
None
Example : if
(
$transcript->translation()
) {
print
(
$
transcript->
translation
()
->stable_id(), "\n"
)
;
} else {
print "Pseudogene\n";
}
Description: Getter/setter for the Translation object which defines the
CDS (and as a result the peptide encoded by) this transcript.
This function will return undef if this Transcript is a
pseudogene - i.e. a non-translating transcript such as an
ncRNA. This is the accepted method of determining whether
a transcript is a pseudogene or not.
print("Pseudogene\n");
}
Description: Getter/setter for the Translation object which
defines the CDS (and as a result the peptide encoded
by) this transcript. This function will return
undef if this transcript is a pseudogene, i.e. a
non-translating transcript such as an ncRNA. This
is the accepted method of determining whether a
transcript is a pseudogene or not.
Returntype : Bio::EnsEMBL::Translation
Exceptions : none
Caller : general
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment