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
71319b7c
Commit
71319b7c
authored
13 years ago
by
Kieron Taylor
Browse files
Options
Downloads
Patches
Plain Diff
Added summary routine for region reporting tool.
Also minor POD corrections.
parent
61a196bd
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/Gene.pm
+22
-2
22 additions, 2 deletions
modules/Bio/EnsEMBL/Gene.pm
with
22 additions
and
2 deletions
modules/Bio/EnsEMBL/Gene.pm
+
22
−
2
View file @
71319b7c
...
@@ -1445,7 +1445,7 @@ sub remove_unconventional_transcript_associations {
...
@@ -1445,7 +1445,7 @@ sub remove_unconventional_transcript_associations {
loads the parts of the object that are usually
loads the parts of the object that are usually
lazy-loaded. It will also call the equivalent
lazy-loaded. It will also call the equivalent
method on all the transcripts of the gene.
method on all the transcripts of the gene.
Returns :
Nothing.
Returns :
=cut
=cut
...
@@ -1468,13 +1468,33 @@ sub load {
...
@@ -1468,13 +1468,33 @@ sub load {
}
}
}
}
=head2 summary_as_hash
Example : $gene_summary = $gene->summary_as_hash();
Description : Retrieves a textual summary of this Gene object.
Returns : hashref of descriptive strings
=cut
sub
summary_as_hash
{
my
$self
=
shift
;
my
%summary
;
$summary
{'
stable_id
'}
=
$self
->
stable_id
;
$summary
{'
description
'}
=
$self
->
description
;
$summary
{'
biotype
'}
=
$self
->
biotype
;
return
\
%summary
;
}
###########################
###########################
# DEPRECATED METHODS FOLLOW
# DEPRECATED METHODS FOLLOW
###########################
###########################
=head2 DEPRECATED add_DBLink
=head2 DEPRECATED add_DBLink
Description: DEPRECATED This method has been deprecated in favor of the
Description: DEPRECATED This method has been deprecated in favo
u
r of the
add_DBEntry method. Objects are responible for holding only
add_DBEntry method. Objects are responible for holding only
xrefs directly associated with themselves now.
xrefs directly associated with themselves now.
...
...
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