Bio::EnsEMBL::Analysis::Tools::GeneBuildUtils HomologyUtils
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
Bio::EnsEMBL::Analysis::Tools::GeneBuildUtils::HomologyUtils - utilities for gene objects
Package variables
No package variables defined.
Included modules
Bio::EnsEMBL::Utils::Exception qw ( verbose throw warning stack_trace_dump )
Exporter
Inherit
Exporter
Synopsis
  use Bio::EnsEMBL::Analysis::Tools::GeneBuildUtils::HomologyUtils qw(clone_Gene);
or use Bio::EnsEMBL::Analysis::Tools::GeneBuildUtils::HomologyUtils to get all methods
Description
All methods in this class should take a Bio::EnsEMBL::Compara::Homology
object as their first argument.
The methods provided should carry out some standard
functionality for said objects such as printing info, and
cloning
Methods
get_gene_obj_out_of_compara_homology_object
No description
Code
Methods description
None available.
Methods code
get_gene_obj_out_of_compara_homology_objectdescriptionprevnextTop
sub get_gene_obj_out_of_compara_homology_object {
  my ( $homology, $species ) = @_ ;

  my $gene ;
  return $gene unless $homology ;

  for my $homology_member_obj ( @{$homology->gene_list}) {
     if ($homology_member_obj->genome_db->name eq $species ) {
       $gene = $homology_member_obj->get_Gene ;
     }
  }
  return $gene ;
}

1;
}
General documentation
CONTACTTop
please send any questions to ensembl-dev@ebi.ac.uk