Add fetch_all_by_GOTerm():
Arg [1] : Bio::EnsEMBL::OntologyTerm The GO term for which genes should be fetched. Example: @genes = @{ $gene_adaptor->fetch_all_by_GOTerm( $go_adaptor->fetch_by_accession('GO:0030326') ) }; Description : Retrieves a list of genes that are associated with the given GO term, or with any of its descendent GO terms. The genes returned are in their native coordinate system, i.e. in the coordinate system in which they are stored in the database. If another coordinate system is required then the Gene::transfer or Gene::transform method can be used. Return type : listref of Bio::EnsEMBL::Gene (similarly for TranscriptAdaptor and TranslationAdaptor)
Showing
- modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm 46 additions, 1 deletionmodules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
- modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm 47 additions, 1 deletionmodules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm
- modules/Bio/EnsEMBL/DBSQL/TranslationAdaptor.pm 48 additions, 0 deletionsmodules/Bio/EnsEMBL/DBSQL/TranslationAdaptor.pm
Please register or sign in to comment