From 7084203d3e1499a48da830589f9a41542a4f254f Mon Sep 17 00:00:00 2001 From: Ian Longden <ianl@sanger.ac.uk> Date: Tue, 5 Jun 2007 12:15:28 +0000 Subject: [PATCH] added NOTE about fetching by primary accession not being bothered about what the external database is --- modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm index bd16debacd..25f476acd7 100644 --- a/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm @@ -101,6 +101,7 @@ sub fetch_by_dbID { -info_text => $info_text, -type => $type); + $exDB->description( $desc ) if ( $desc ); } @@ -817,7 +818,8 @@ SSQL Example : @gene_ids = $dbea->list_gene_ids_by_external_db_id(1020); Description: Retrieve a list of geneid by an external identifier that is linked to any of the genes transcripts, translations or the - gene itself + gene itself. NOTE: if more than one external identifier has the + same primary accession then genes for each of these is returned. Returntype : list of ints Exceptions : none Caller : unknown -- GitLab