maint: restructure to use Dist::Zilla
[bioperl-live.git] / lib / Bio / Search / DatabaseI.pm
blob163f99b77e49465e4a566cfeae37f9ba37628628
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
14 =head1 NAME
16 Bio::Search::DatabaseI - Interface for a database used in a sequence search
18 =head1 SYNOPSIS
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:
26 $name = $db->name();
28 $date = $db->date();
30 $num_letters = $db->letters();
32 $num_entries = $db->entries();
34 =head1 DESCRIPTION
36 This module defines methods for an object that provides metadata
37 information about a database used for sequence searching.
39 =head1 FEEDBACK
41 =head2 Mailing Lists
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
50 =head2 Support
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.
61 =head2 Reporting Bugs
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
65 web:
67 https://github.com/bioperl/bioperl-live/issues
69 =head1 AUTHOR
71 Steve Chervitz E<lt>sac@bioperl.orgE<gt>
73 See L<the FEEDBACK section | FEEDBACK> for where to send bug reports and comments.
75 =head1 COPYRIGHT
77 Copyright (c) 2001 Steve Chervitz. All Rights Reserved.
79 =head1 DISCLAIMER
81 This software is provided "as is" without warranty of any kind.
83 =cut
85 =head1 APPENDIX
87 The rest of the documentation details each of the object methods.
89 =cut
91 # Let the code begin...
93 package Bio::Search::DatabaseI;
95 use strict;
97 use base qw(Bio::Root::RootI);
100 =head2 name
102 Usage : $name = $db->name();
103 Purpose : Get the name of the database searched.
104 Returns : String
105 Argument : n/a
107 =cut
109 sub name {
110 my $self = shift;
111 $self->throw_not_implemented;
114 =head2 date
116 Usage : $date = $db->date();
117 Purpose : Get the creation date of the queried database.
118 Returns : String
119 Argument : n/a
121 =cut
123 sub date {
124 my $self = shift;
125 $self->throw_not_implemented;
129 =head2 letters
131 Usage : $num_letters = $db->letters();
132 Purpose : Get the number of letters in the queried database.
133 Returns : Integer
134 Argument : n/a
136 =cut
138 sub letters {
139 my $self = shift;
140 $self->throw_not_implemented;
144 =head2 entries
146 Usage : $num_entries = $db->entries();
147 Purpose : Get the number of entries in the queried database.
148 Returns : Integer
149 Argument : n/a
151 =cut
153 sub entries {
154 my $self = shift;
155 $self->throw_not_implemented;