2 # BioPerl module for Bio::Cluster::FamilyI
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Shawn Hoon <shawnh@fugu-sg.org>
10 # You may distribute this module under the same terms as perl itself
12 # POD documentation - main docs before the code
16 Bio::Cluster::FamilyI - Family Interface
20 # see the implementations of this interface for details
22 my $cluster= $cluster->new(-description=>"POLYUBIQUITIN",
23 -members =>[$seq1,$seq2]);
24 my @members = $cluster->get_members();
25 my @sub_members = $cluster->get_members(-species=>"homo sapiens");
29 This interface if for a Family object representing a family of
30 biological objects. A generic implementation for this may be
31 found a L<Bio::Cluster::Family>.
38 User feedback is an integral part of the evolution of this and other
39 Bioperl modules. Send your comments and suggestions preferably to
40 the Bioperl mailing list. Your participation is much appreciated.
42 bioperl-l@bioperl.org - General discussion
43 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
47 Please direct usage questions or support issues to the mailing list:
49 I<bioperl-l@bioperl.org>
51 rather than to the module maintainer directly. Many experienced and
52 reponsive experts will be able look at the problem and quickly
53 address it. Please include a thorough description of the problem
54 with code and data examples if at all possible.
58 Report bugs to the Bioperl bug tracking system to help us keep track
59 of the bugs and their resolution. Bug reports can be submitted via the
62 https://github.com/bioperl/bioperl-live/issues
64 =head1 AUTHOR - Shawn Hoon
66 Email shawnh@fugu-sg.org
70 The rest of the documentation details each of the object methods.
71 Internal methods are usually preceded with a _
76 package Bio
::Cluster
::FamilyI
;
80 use base
qw(Bio::ClusterI);
84 We don't mandate but encourage implementors to support at least the
85 following named parameters upon object initialization.
89 -family_id the name of the family
90 -description the consensus description of the family
91 -annotation_score the confidence by which the consensus description is
92 representative of the family
93 -members the members belonging to the family
94 -alignment the multiple alignment of the members
102 Usage : Bio::Cluster::FamilyI->family_id("znfp");
103 Function: get/set for the family id
104 Returns : the family id
110 shift->throw_not_implemented();
116 Usage : Bio::Cluster::FamilyI->family_score(95);
117 Function: get/set for the score of algorithm used to generate
118 the family if present
125 shift->throw_not_implemented();
129 =head1 Methods inherited from L<Bio::ClusterI>
137 Function: Get the display name or identifier for the cluster
146 Usage : Bio::Cluster::FamilyI->get_members();
147 Function: get the members of the family
148 Returns : the array of members
149 Args : the array of members
156 Usage : Bio::Cluster::FamilyI->description("Zinc Finger Protein");
157 Function: get/set for the description of the family
158 Returns : the description
159 Args : the description
167 Usage : Bio::Cluster::FamilyI->size();
168 Function: get/set for the description of the family
176 Title : cluster_score
177 Usage : $cluster ->cluster_score(100);
178 Function: get/set for cluster_score which
179 represent the score in which the clustering
180 algorithm assigns to this cluster.