t/AlignIO/AlignIO.t: fix number of tests in plan (fixup c523e6bed866)
[bioperl-live.git] / Bio / Align / StatisticsI.pm
blobb91cfa8a9e7fcf85402d4bc5a745d0cfafa8e0b6
2 # BioPerl module for Bio::Align::StatisticsI
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Jason Stajich <jason@bioperl.org>
8 # Copyright Jason Stajich
10 # You may distribute this module under the same terms as perl itself
12 # POD documentation - main docs before the code
14 =head1 NAME
16 Bio::Align::StatisticsI - Calculate some statistics for an alignment
18 =head1 SYNOPSIS
20 Give standard usage here
22 =head1 DESCRIPTION
24 Describe the interface here
26 =head1 FEEDBACK
28 =head2 Mailing Lists
30 User feedback is an integral part of the evolution of this and other
31 Bioperl modules. Send your comments and suggestions preferably to
32 the Bioperl mailing list. Your participation is much appreciated.
34 bioperl-l@bioperl.org - General discussion
35 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
37 =head2 Support
39 Please direct usage questions or support issues to the mailing list:
41 I<bioperl-l@bioperl.org>
43 rather than to the module maintainer directly. Many experienced and
44 reponsive experts will be able look at the problem and quickly
45 address it. Please include a thorough description of the problem
46 with code and data examples if at all possible.
48 =head2 Reporting Bugs
50 Report bugs to the Bioperl bug tracking system to help us keep track
51 of the bugs and their resolution. Bug reports can be submitted via the
52 web:
54 https://github.com/bioperl/bioperl-live/issues
56 =head1 AUTHOR - Jason Stajich
58 Email jason@bioperl.org
60 =head1 APPENDIX
62 The rest of the documentation details each of the object methods.
63 Internal methods are usually preceded with a _
65 =cut
68 # Let the code begin...
71 package Bio::Align::StatisticsI;
72 use strict;
75 use base qw(Bio::Root::RootI);
77 =head2 distance
79 Title : distance
80 Usage : my $distance_mat = $stats->distance(-align => $aln,
81 -method => $method);
82 Function: Calculates a distance matrix for all pairwise distances of
83 sequences in an alignment.
84 Returns : Array ref
85 Args : -align => Bio::Align::AlignI object
86 -method => String specifying specific distance method
87 (implementing class may assume a default)
89 =cut
91 sub distance{
92 my ($self,@args) = @_;
93 $self->throw_not_implemented();
96 =head2 available_distance_methods
98 Title : available_distance_methods
99 Usage : my @methods = $stats->available_distance_methods();
100 Function: Enumerates the possible distance methods
101 Returns : Array of strings
102 Args : none
105 =cut
107 sub available_distance_methods{
108 my ($self,@args) = @_;
109 $self->throw_not_implemented();