comparison variant_effect_predictor/Bio/Align/StatisticsI.pm @ 0:1f6dce3d34e0

Uploaded
author mahtabm
date Thu, 11 Apr 2013 02:01:53 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1f6dce3d34e0
1 # $Id: StatisticsI.pm,v 1.4 2002/10/22 07:45:10 lapp Exp $
2 #
3 # BioPerl module for Bio::Align::StatisticsI
4 #
5 # Cared for by Jason Stajich <jason@bioperl.org>
6 #
7 # Copyright Jason Stajich
8 #
9 # You may distribute this module under the same terms as perl itself
10
11 # POD documentation - main docs before the code
12
13 =head1 NAME
14
15 Bio::Align::StatisticsI - Calculate some statistics for an alignment
16
17 =head1 SYNOPSIS
18
19 Give standard usage here
20
21 =head1 DESCRIPTION
22
23 Describe the interface here
24
25 =head1 FEEDBACK
26
27 =head2 Mailing Lists
28
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.
32
33 bioperl-l@bioperl.org - General discussion
34 http://bioperl.org/MailList.shtml - About the mailing lists
35
36 =head2 Reporting Bugs
37
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
40 email or the web:
41
42 bioperl-bugs@bioperl.org
43 http://bugzilla.bioperl.org/
44
45 =head1 AUTHOR - Jason Stajich
46
47 Email jason@bioperl.org
48
49 Describe contact details here
50
51 =head1 CONTRIBUTORS
52
53 Additional contributors names and emails here
54
55 =head1 APPENDIX
56
57 The rest of the documentation details each of the object methods.
58 Internal methods are usually preceded with a _
59
60 =cut
61
62
63 # Let the code begin...
64
65
66 package Bio::Align::StatisticsI;
67 use strict;
68 use vars qw(@ISA);
69
70 use Bio::Root::RootI;
71
72 @ISA = qw(Bio::Root::RootI);
73
74 =head2 distance
75
76 Title : distance
77 Usage : my $distance_mat = $stats->distance(-align => $aln,
78 -method => $method);
79 Function: Calculates a distance matrix for all pairwise distances of
80 sequences in an alignment.
81 Returns : Array ref
82 Args : -align => Bio::Align::AlignI object
83 -method => String specifying specific distance method
84 (implementing class may assume a default)
85
86 =cut
87
88 sub distance{
89 my ($self,@args) = @_;
90 $self->throw_not_implemented();
91 }
92
93 =head2 available_distance_methods
94
95 Title : available_distance_methods
96 Usage : my @methods = $stats->available_distance_methods();
97 Function: Enumerates the possible distance methods
98 Returns : Array of strings
99 Args : none
100
101
102 =cut
103
104 sub available_distance_methods{
105 my ($self,@args) = @_;
106 $self->throw_not_implemented();
107 }
108
109 1;