3 # BioPerl module for Bio::Align::StatisticsI
5 # Cared for by Jason Stajich <jason@bioperl.org>
7 # Copyright Jason Stajich
9 # You may distribute this module under the same terms as perl itself
11 # POD documentation - main docs before the code
15 Bio::Align::StatisticsI - Calculate some statistics for an alignment
19 Give standard usage here
23 Describe the interface here
29 User feedback is an integral part of the evolution of this and other
30 Bioperl modules. Send your comments and suggestions preferably to
31 the Bioperl mailing list. Your participation is much appreciated.
33 bioperl-l@bioperl.org - General discussion
34 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
38 Report bugs to the Bioperl bug tracking system to help us keep track
39 of the bugs and their resolution. Bug reports can be submitted via the
42 http://bugzilla.open-bio.org/
44 =head1 AUTHOR - Jason Stajich
46 Email jason@bioperl.org
50 The rest of the documentation details each of the object methods.
51 Internal methods are usually preceded with a _
56 # Let the code begin...
59 package Bio
::Align
::StatisticsI
;
63 use base
qw(Bio::Root::RootI);
68 Usage : my $distance_mat = $stats->distance(-align => $aln,
70 Function: Calculates a distance matrix for all pairwise distances of
71 sequences in an alignment.
73 Args : -align => Bio::Align::AlignI object
74 -method => String specifying specific distance method
75 (implementing class may assume a default)
80 my ($self,@args) = @_;
81 $self->throw_not_implemented();
84 =head2 available_distance_methods
86 Title : available_distance_methods
87 Usage : my @methods = $stats->available_distance_methods();
88 Function: Enumerates the possible distance methods
89 Returns : Array of strings
95 sub available_distance_methods
{
96 my ($self,@args) = @_;
97 $self->throw_not_implemented();