Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
faf4fab3
Commit
faf4fab3
authored
Feb 01, 2011
by
Andreas Kusalananda Kähäri
Browse files
Add documentation for the get_all_object_xrefs() method.
parent
7d431df3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
0 deletions
+75
-0
modules/Bio/EnsEMBL/Gene.pm
modules/Bio/EnsEMBL/Gene.pm
+26
-0
modules/Bio/EnsEMBL/Transcript.pm
modules/Bio/EnsEMBL/Transcript.pm
+26
-0
modules/Bio/EnsEMBL/Translation.pm
modules/Bio/EnsEMBL/Translation.pm
+23
-0
No files found.
modules/Bio/EnsEMBL/Gene.pm
View file @
faf4fab3
...
...
@@ -684,6 +684,32 @@ sub get_all_DBEntries {
return
$self
->
{
$cache_name
};
}
## end sub get_all_DBEntries
=head2 get_all_object_xrefs
Arg [1] : (optional) String, external database name
Arg [2] : (optional) String, external_db type
Example : @oxrefs = @{ $gene->get_all_object_xrefs() };
Description: Retrieves xrefs for this gene. This does *not*
include xrefs that are associated with the
transcripts or corresponding translations of this
gene (see get_all_xrefs()).
This method will attempt to lazy-load xrefs from a
database if an adaptor is available and no xrefs are
present on the gene (i.e. they have not already been
added or loaded).
NB: This method is an alias for get_all_DBentries()
Return type: Listref of Bio::EnsEMBL::DBEntry objects
Status : Stable
=cut
sub
get_all_object_xrefs
{
my
$self
=
shift
;
return
$self
->
get_all_DBEntries
(
@
_
);
...
...
modules/Bio/EnsEMBL/Transcript.pm
View file @
faf4fab3
...
...
@@ -283,6 +283,32 @@ sub get_all_DBEntries {
return
$self
->
{
$cache_name
};
}
## end sub get_all_DBEntries
=head2 get_all_object_xrefs
Arg [1] : (optional) String, external database name
Arg [2] : (optional) String, external_db type
Example : @oxrefs = @{ $transcript->get_all_object_xrefs() };
Description: Retrieves xrefs for this transcript. This does
*not* include xrefs that are associated with the
corresponding translations of this transcript (see
get_all_xrefs()).
This method will attempt to lazy-load xrefs from a
database if an adaptor is available and no xrefs are
present on the transcript (i.e. they have not already
been added or loaded).
NB: This method is an alias for get_all_DBentries()
Return type: Listref of Bio::EnsEMBL::DBEntry objects
Status : Stable
=cut
sub
get_all_object_xrefs
{
my
$self
=
shift
;
return
$self
->
get_all_DBEntries
(
@
_
);
...
...
modules/Bio/EnsEMBL/Translation.pm
View file @
faf4fab3
...
...
@@ -602,6 +602,29 @@ sub get_all_DBEntries {
return
$self
->
{
$cache_name
};
}
## end sub get_all_DBEntries
=head2 get_all_object_xrefs
Arg [1] : (optional) String, external database name
Arg [2] : (optional) String, external_db type
Example : @oxrefs = @{ $translation->get_all_object_xrefs() };
Description: Retrieves xrefs for this translation.
This method will attempt to lazy-load xrefs from a
database if an adaptor is available and no xrefs
are present on the translation (i.e. they have not
already been added or loaded).
NB: This method is an alias for get_all_DBentries()
Return type: Listref of Bio::EnsEMBL::DBEntry objects
Status : Stable
=cut
sub
get_all_object_xrefs
{
my
$self
=
shift
;
return
$self
->
get_all_DBEntries
(
@
_
);
...
...
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