Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
5a1565ae
Commit
5a1565ae
authored
21 years ago
by
Glenn Proctor
Browse files
Options
Downloads
Patches
Plain Diff
Renamed list_stable_dbIDs to list_stable_ids to be more consistent with existing method names.
Minor POD reformatting.
parent
50cdb43e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
+27
-29
27 additions, 29 deletions
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
with
27 additions
and
29 deletions
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
+
27
−
29
View file @
5a1565ae
...
...
@@ -70,77 +70,75 @@ sub new {
return
$self
;
}
=head2 list_geneIds
=head2 list_dbIDs
Arg [1] : none
Example : @gene_ids = $gene_adaptor->list_
geneId
s();
Description:
DEPRECATED; use list_dbIDs instead
Example : @gene_ids =
@{
$gene_adaptor->list_
dbID
s()
}
;
Description:
Gets an array of internal ids for all genes in the current db
Returntype : list of ints
Exceptions : none
Caller : ?
=cut
sub
list_
geneId
s
{
sub
list_
dbID
s
{
my
(
$self
)
=
@_
;
$self
->
warn
("
list_geneIds is deprecated; use list_dbIDs instead
");
return
$self
->
list_dbIDs
();
return
$self
->
_list_dbIDs
("
gene
");
}
=head2 list_
dbID
s
=head2 list_
stable_id
s
Arg [1] : none
Example : @gene_ids = $gene_adaptor->list_dbIDs();
Description: Gets an array of
internal
ids for all genes in the current db
Example : @
stable_
gene_ids =
@{
$gene_adaptor->list_
stable_
dbIDs()
}
;
Description: Gets an array of
stable
ids for all genes in the current db
Returntype : list of ints
Exceptions : none
Caller : ?
=cut
sub
list_
dbID
s
{
sub
list_
stable_id
s
{
my
(
$self
)
=
@_
;
return
$self
->
_list_dbIDs
("
gene
");
return
$self
->
_list_dbIDs
("
gene
_stable_id
",
"
stable_id
");
}
=head2 list_geneIds
=head2 list_stable_geneIds
Arg [1] : list_stable_gene_ids
Example : @stable_ids = $gene_adaptor->list_stable_gene_ids();
Description: DEPRECATED; use list_stable_dbIDs() instead.
Returntype : list of strings
Arg [1] : none
Example : @gene_ids = $gene_adaptor->list_geneIds();
Description: DEPRECATED; use list_dbIDs instead
Returntype : list of ints
Exceptions : none
Caller : ?
=cut
sub
list_
stable_
geneIds
{
sub
list_geneIds
{
my
(
$self
)
=
@_
;
$self
->
warn
("
list_stable_geneIds is deprecated; use list_stable_dbIDs instead
");
return
$self
->
list_stable_dbIDs
();
$self
->
warn
("
list_geneIds is deprecated; use list_dbIDs instead
");
return
$self
->
list_dbIDs
();
}
=head2 list_stable_
dbID
s
=head2 list_stable_
geneId
s
Arg [1] :
none
Example : @stable_
gene_
ids = $gene_adaptor->list_stable_
dbID
s();
Description:
Gets an array of stable ids for all genes in the current db
Returntype : list of in
t
s
Arg [1] :
list_stable_gene_ids
Example : @stable_ids = $gene_adaptor->list_stable_
gene_id
s();
Description:
DEPRECATED; use list_stable_dbIDs() instead.
Returntype : list of
str
in
g
s
Exceptions : none
Caller : ?
=cut
sub
list_stable_
dbID
s
{
sub
list_stable_
geneId
s
{
my
(
$self
)
=
@_
;
return
$self
->
_list_dbIDs
("
gene_stable_id
",
"
stable_id
");
$self
->
warn
("
list_stable_geneIds is deprecated; use list_stable_dbIDs instead
");
return
$self
->
list_stable_ids
();
}
=head2 fetch_by_dbID
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment