From 9507e3e126177b5adaa3c7a0fd75b7c646f5c01c Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Thu, 17 Jul 2003 10:21:31 +0000
Subject: [PATCH] Added list_dbIDs method.

---
 .../EnsEMBL/DBSQL/DnaAlignFeatureAdaptor.pm    | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/DnaAlignFeatureAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/DnaAlignFeatureAdaptor.pm
index 8d27b50eee..af5677da75 100644
--- a/modules/Bio/EnsEMBL/DBSQL/DnaAlignFeatureAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/DnaAlignFeatureAdaptor.pm
@@ -293,7 +293,23 @@ sub _objs_from_sth {
   return \@features;
 }
 
-    
+=head2 list_dbIDs
+
+  Arg [1]    : none
+  Example    : @feature_ids = @{$dna_align_feature_adaptor->list_dbIDs()};
+  Description: Gets an array of internal ids for all dna align features in the current db
+  Returntype : list of ints
+  Exceptions : none
+  Caller     : ?
+
+=cut
+
+sub list_dbIDs {
+   my ($self) = @_;
+
+   return $self->_list_dbIDs("dna_align_feature");
+}
+
 1;
 
 
-- 
GitLab