Skip to content
Snippets Groups Projects
Commit 439d4d90 authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Slight method name adjustment

parent a2ccb531
No related branches found
No related tags found
No related merge requests found
......@@ -2664,12 +2664,12 @@ sub summary_as_hash {
my $summary_ref = $self->SUPER::summary_as_hash;
$summary_ref->{'description'} = $self->description;
$summary_ref->{'biotype'} = $self->biotype;
my $parent_gene = $self->get_parent_Gene();
my $parent_gene = $self->get_Gene();
$summary_ref->{'Parent'} = $parent_gene->display_id;
return $summary_ref;
}
=head2 get_parent_Gene
=head2 get_Gene
Example : $gene = $transcript->get_parent_Gene;
Description : Locates the parent Gene using a transcript dbID via two adaptors
......@@ -2677,7 +2677,7 @@ sub summary_as_hash {
=cut
sub get_parent_Gene {
sub get_Gene {
my $self = shift;
my $gene_adaptor = $self->adaptor->db->get_GeneAdaptor();
my $parent_gene = $gene_adaptor->fetch_by_transcript_id($self->dbID);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment