Added new optional argument $external_db_name to
fetch_all_by_external_name() in GeneAdaptor.pm, TranscriptAdaptor.pm, and in TranslationAdaptor.pm. This will limit the returned genes, transcripts, or translations, to those that originates from the named external database. This also means adding the optional argument to list_gene_ids_by_extids(), list_transcript_ids_by_extids(), list_translation_ids_by_extids(), and to _type_by_external_id() in DBEntryAdaptor.pm. The matching is done on 'db_name' in the 'external_db' table with LIKE and an appended '%' to the given $external_db_name.
Showing
- modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm 110 additions, 62 deletionsmodules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm
- modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm 17 additions, 13 deletionsmodules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
- modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm 23 additions, 20 deletionsmodules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm
- modules/Bio/EnsEMBL/DBSQL/TranslationAdaptor.pm 20 additions, 12 deletionsmodules/Bio/EnsEMBL/DBSQL/TranslationAdaptor.pm
Please register or sign in to comment