3 # BioPerl module for Bio::Cluster::UniGeneI.pm
5 # Please direct questions and support issues to <bioperl-l@bioperl.org>
7 # Cared for by Andrew Macgregor <andrew at cbbc.murdoch.edu.au>
9 # Copyright Andrew Macgregor, Jo-Ann Stanton, David Green
10 # Molecular Embryology Group, Anatomy & Structural Biology, University of Otago
11 # http://anatomy.otago.ac.nz/meg
13 # You may distribute this module under the same terms as perl itself
16 # April 31, 2002 - Initial implementation by Andrew Macgregor
17 # POD documentation - main docs before the code
21 Bio::Cluster::UniGeneI - abstract interface of UniGene object
29 This is the general interface for a UniGene cluster representation in
30 Bioperl. You cannot use this module directly, use an implementation
33 You can create UniGene cluster objects yourself by instantiating
34 L<Bio::Cluster::UniGene>. If you read UniGene clusters from a
35 ClusterIO parser, you will get objects implementing this interface,
36 most likely instances of said UniGene class.
38 L<Bio::Cluster::UniGeneI> inherits from L<Bio::ClusterI>, so you can
39 use it wherever a cluster object is expected.
47 User feedback is an integral part of the evolution of this and other
48 Bioperl modules. Send your comments and suggestions preferably to one
49 of the Bioperl mailing lists. Your participation is much appreciated.
51 bioperl-l@bioperl.org - General discussion
52 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
56 Please direct usage questions or support issues to the mailing list:
58 I<bioperl-l@bioperl.org>
60 rather than to the module maintainer directly. Many experienced and
61 reponsive experts will be able look at the problem and quickly
62 address it. Please include a thorough description of the problem
63 with code and data examples if at all possible.
67 Report bugs to the Bioperl bug tracking system to help us keep track
68 the bugs and their resolution. Bug reports can be submitted via the
71 http://bugzilla.open-bio.org/
73 =head1 AUTHOR - Andrew Macgregor
75 Email andrew at cbbc.murdoch.edu.au
81 The rest of the documentation details each of the object
82 methods. Internal methods are usually preceded with a "_".
86 # Let the code begin...
89 package Bio
::Cluster
::UniGeneI
;
93 use base
qw(Bio::ClusterI);
100 Function: Returns the unigene_id associated with the object.
101 Example : $id = $unigene->unigene_id or $unigene->unigene_id($id)
110 $self->throw_not_implemented;
119 Function: Returns the title associated with the object.
120 Example : $title = $unigene->title or $unigene->title($title)
122 Args : None or a title
129 $self->throw_not_implemented;
137 Function: Returns the gene associated with the object.
138 Example : $gene = $unigene->gene or $unigene->gene($gene)
140 Args : None or a gene
147 $self->throw_not_implemented;
155 Function: Returns the cytoband associated with the object.
156 Example : $cytoband = $unigene->cytoband or $unigene->cytoband($cytoband)
158 Args : None or a cytoband
165 $self->throw_not_implemented;
173 Function: Returns the mgi associated with the object.
174 Example : $mgi = $unigene->mgi or $unigene->mgi($mgi)
183 $self->throw_not_implemented;
191 Function: Returns or stores a reference to an array containing locuslink data.
192 This should really only be used by ClusterIO, not directly
193 Returns : An array reference
194 Args : None or an array reference
200 $self->throw_not_implemented;
208 Function: Returns the homol entry associated with the object.
209 Example : $homol = $unigene->homol or $unigene->homol($homol)
211 Args : None or a homol entry
217 $self->throw_not_implemented;
224 Usage : restr_expr();
225 Function: Returns the restr_expr entry associated with the object.
226 Example : $restr_expr = $unigene->restr_expr or $unigene->restr_expr($restr_expr)
228 Args : None or a restr_expr entry
234 $self->throw_not_implemented;
241 Usage : gnm_terminus();
242 Function: Returns the gnm_terminus associated with the object.
243 Example : $gnm_terminus = $unigene->gnm_terminus or $unigene->gnm_terminus($gnm_terminus)
245 Args : None or a gnm_terminus
251 $self->throw_not_implemented;
259 Function: Returns the scount associated with the object.
260 Example : $scount = $unigene->scount or $unigene->scount($scount)
262 Args : None or a scount
268 $self->throw_not_implemented;
277 Function: Returns or stores a reference to an array containing tissue expression data.
278 This should really only be used by ClusterIO, not directly
279 Returns : An array reference
280 Args : None or an array reference
286 $self->throw_not_implemented;
293 Usage : chromosome();
294 Function: Returns or stores a reference to an array containing chromosome lines
295 This should really only be used by ClusterIO, not directly
296 Returns : An array reference
297 Args : None or an array reference
303 $self->throw_not_implemented;
311 Function: Returns or stores a reference to an array containing sts lines
312 This should really only be used by ClusterIO, not directly
313 Returns : An array reference
314 Args : None or an array reference
320 $self->throw_not_implemented;
328 Function: Returns or stores a reference to an array containing txmap lines
329 Returns : An array reference
330 Args : None or an array reference
336 $self->throw_not_implemented;
344 Function: Returns or stores a reference to an array containing protsim lines
345 This should really only be used by ClusterIO, not directly
346 Returns : An array reference
347 Args : None or an array reference
353 $self->throw_not_implemented;
361 Function: Returns or stores a reference to an array containing sequence data
362 This should really only be used by ClusterIO, not directly
363 Returns : An array reference
364 Args : None or an array reference
370 $self->throw_not_implemented;
376 Usage : $obj->species($newval)
377 Function: Get the species object for this Unigene cluster.
379 Returns : value of species (a L<Bio::Species> object)
386 shift->throw_not_implemented();
389 =head1 Methods inherited from L<Bio::ClusterI>
397 Function: Get/set the display name or identifier for the cluster
399 Args : optional, on set the display ID ( a string)
406 Usage : Bio::ClusterI->description("POLYUBIQUITIN")
407 Function: get/set for the consensus description of the cluster
408 Returns : the description string
409 Args : Optional the description string
416 Usage : Bio::ClusterI->size();
417 Function: get/set for the size of the family,
418 calculated from the number of members
419 Returns : the size of the family
426 Title : cluster_score
427 Usage : $cluster ->cluster_score(100);
428 Function: get/set for cluster_score which
429 represent the score in which the clustering
430 algorithm assigns to this cluster.
438 Usage : Bio::ClusterI->get_members(($seq1, $seq2));
439 Function: retrieve the members of the family by some criteria, for
441 $cluster->get_members(-species => 'homo sapiens');
443 Will return all members if no criteria are provided.
445 Returns : the array of members