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
a3cae05a
Commit
a3cae05a
authored
17 years ago
by
Patrick Meidl
Browse files
Options
Downloads
Patches
Plain Diff
added get_all_associated_archived()
parent
08a95cf6
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/ArchiveStableId.pm
+30
-3
30 additions, 3 deletions
modules/Bio/EnsEMBL/ArchiveStableId.pm
with
30 additions
and
3 deletions
modules/Bio/EnsEMBL/ArchiveStableId.pm
+
30
−
3
View file @
a3cae05a
...
...
@@ -32,17 +32,22 @@ Status: At Risk. This module is in development.
get_all_predecessors
get_all_successors
get_peptide
get_all_associated_archived
get_all_gene_archive_ids
get_all_transcript_archive_ids
get_all_translation_archive_ids
current_version
is_current
get_latest_incarnation
is_latest
stable_id
version
db_name
release
assembly
adaptor
type
adaptor
successors
version
=head1 RELATED MODULES
...
...
@@ -76,7 +81,6 @@ use Bio::EnsEMBL::Root;
our
@ISA
=
qw(Bio::EnsEMBL::Root)
;
use
Bio::EnsEMBL::Utils::
Argument
qw(rearrange)
;
use
Bio::EnsEMBL::Utils::
Exception
qw(deprecate)
;
=head2 new
...
...
@@ -268,6 +272,29 @@ sub get_peptide {
}
=head2 get_all_associated_archived
Example : my ($arch_gene, $arch_tr, $arch_tl, $pep_seq) =
@{ $arch_id->get_all_associated_archived };
Description : Fetches associated archived stable IDs from the db for this
ArchiveStableId (version is taken into account).
Return type : Listref of
ArchiveStableId archived gene
ArchiveStableId archived transcript
(optional) ArchiveStableId archived translation
(optional) peptide sequence
Caller : webcode, general
Status : At Risk
: under development
=cut
sub
get_all_associated_archived
{
my
$self
=
shift
;
return
$self
->
adaptor
->
fetch_associated_archived
(
$self
);
}
=head2 get_all_gene_archive_ids
Example : my @archived_genes = @{ $arch_id->get_all_gene_archive_ids };
...
...
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