1 #-----------------------------------------------------------------
3 # BioPerl module Bio::Search::DatabaseI
5 # Please direct questions and support issues to <bioperl-l@bioperl.org>
7 # Cared for by Steve Chervitz <sac@bioperl.org>
9 # You may distribute this module under the same terms as perl itself
10 #-----------------------------------------------------------------
12 # POD documentation - main docs before the code
16 Bio::Search::DatabaseI - Interface for a database used in a sequence search
20 Bio::Search::DatabaseI objects should not be instantiated since this
21 module defines a pure interface.
23 Given an object that implements the Bio::Search::DatabaseI interface,
24 you can do the following things with it:
30 $num_letters = $db->letters();
32 $num_entries = $db->entries();
36 This module defines methods for an object that provides metadata
37 information about a database used for sequence searching.
43 User feedback is an integral part of the evolution of this and other
44 Bioperl modules. Send your comments and suggestions preferably to one
45 of the Bioperl mailing lists. Your participation is much appreciated.
47 bioperl-l@bioperl.org - General discussion
48 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
52 Please direct usage questions or support issues to the mailing list:
54 I<bioperl-l@bioperl.org>
56 rather than to the module maintainer directly. Many experienced and
57 reponsive experts will be able look at the problem and quickly
58 address it. Please include a thorough description of the problem
59 with code and data examples if at all possible.
63 Report bugs to the Bioperl bug tracking system to help us keep track
64 the bugs and their resolution. Bug reports can be submitted via the
67 https://github.com/bioperl/bioperl-live/issues
71 Steve Chervitz E<lt>sac@bioperl.orgE<gt>
73 See L<the FEEDBACK section | FEEDBACK> for where to send bug reports and comments.
77 Copyright (c) 2001 Steve Chervitz. All Rights Reserved.
81 This software is provided "as is" without warranty of any kind.
87 The rest of the documentation details each of the object methods.
91 # Let the code begin...
93 package Bio
::Search
::DatabaseI
;
97 use base
qw(Bio::Root::RootI);
102 Usage : $name = $db->name();
103 Purpose : Get the name of the database searched.
111 $self->throw_not_implemented;
116 Usage : $date = $db->date();
117 Purpose : Get the creation date of the queried database.
125 $self->throw_not_implemented;
131 Usage : $num_letters = $db->letters();
132 Purpose : Get the number of letters in the queried database.
140 $self->throw_not_implemented;
146 Usage : $num_entries = $db->entries();
147 Purpose : Get the number of entries in the queried database.
155 $self->throw_not_implemented;