2 # BioPerl module for Bio::Cluster::UniGeneI.pm
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Andrew Macgregor <andrew at cbbc.murdoch.edu.au>
8 # Copyright Andrew Macgregor, Jo-Ann Stanton, David Green
9 # Molecular Embryology Group, Anatomy & Structural Biology, University of Otago
10 # http://anatomy.otago.ac.nz/meg
12 # You may distribute this module under the same terms as perl itself
15 # April 31, 2002 - Initial implementation by Andrew Macgregor
16 # POD documentation - main docs before the code
20 Bio::Cluster::UniGeneI - abstract interface of UniGene object
28 This is the general interface for a UniGene cluster representation in
29 Bioperl. You cannot use this module directly, use an implementation
32 You can create UniGene cluster objects yourself by instantiating
33 L<Bio::Cluster::UniGene>. If you read UniGene clusters from a
34 ClusterIO parser, you will get objects implementing this interface,
35 most likely instances of said UniGene class.
37 L<Bio::Cluster::UniGeneI> inherits from L<Bio::ClusterI>, so you can
38 use it wherever a cluster object is expected.
46 User feedback is an integral part of the evolution of this and other
47 Bioperl modules. Send your comments and suggestions preferably to one
48 of the Bioperl mailing lists. Your participation is much appreciated.
50 bioperl-l@bioperl.org - General discussion
51 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
55 Please direct usage questions or support issues to the mailing list:
57 I<bioperl-l@bioperl.org>
59 rather than to the module maintainer directly. Many experienced and
60 reponsive experts will be able look at the problem and quickly
61 address it. Please include a thorough description of the problem
62 with code and data examples if at all possible.
66 Report bugs to the Bioperl bug tracking system to help us keep track
67 the bugs and their resolution. Bug reports can be submitted via the
70 https://github.com/bioperl/bioperl-live/issues
72 =head1 AUTHOR - Andrew Macgregor
74 Email andrew at cbbc.murdoch.edu.au
80 The rest of the documentation details each of the object
81 methods. Internal methods are usually preceded with a "_".
85 # Let the code begin...
88 package Bio
::Cluster
::UniGeneI
;
92 use base
qw(Bio::ClusterI);
99 Function: Returns the unigene_id associated with the object.
100 Example : $id = $unigene->unigene_id or $unigene->unigene_id($id)
109 $self->throw_not_implemented;
118 Function: Returns the title associated with the object.
119 Example : $title = $unigene->title or $unigene->title($title)
121 Args : None or a title
128 $self->throw_not_implemented;
136 Function: Returns the gene associated with the object.
137 Example : $gene = $unigene->gene or $unigene->gene($gene)
139 Args : None or a gene
146 $self->throw_not_implemented;
154 Function: Returns the cytoband associated with the object.
155 Example : $cytoband = $unigene->cytoband or $unigene->cytoband($cytoband)
157 Args : None or a cytoband
164 $self->throw_not_implemented;
172 Function: Returns the mgi associated with the object.
173 Example : $mgi = $unigene->mgi or $unigene->mgi($mgi)
182 $self->throw_not_implemented;
190 Function: Returns or stores a reference to an array containing locuslink data.
191 This should really only be used by ClusterIO, not directly
192 Returns : An array reference
193 Args : None or an array reference
199 $self->throw_not_implemented;
207 Function: Returns the homol entry associated with the object.
208 Example : $homol = $unigene->homol or $unigene->homol($homol)
210 Args : None or a homol entry
216 $self->throw_not_implemented;
223 Usage : restr_expr();
224 Function: Returns the restr_expr entry associated with the object.
225 Example : $restr_expr = $unigene->restr_expr or $unigene->restr_expr($restr_expr)
227 Args : None or a restr_expr entry
233 $self->throw_not_implemented;
240 Usage : gnm_terminus();
241 Function: Returns the gnm_terminus associated with the object.
242 Example : $gnm_terminus = $unigene->gnm_terminus or $unigene->gnm_terminus($gnm_terminus)
244 Args : None or a gnm_terminus
250 $self->throw_not_implemented;
258 Function: Returns the scount associated with the object.
259 Example : $scount = $unigene->scount or $unigene->scount($scount)
261 Args : None or a scount
267 $self->throw_not_implemented;
276 Function: Returns or stores a reference to an array containing tissue expression data.
277 This should really only be used by ClusterIO, not directly
278 Returns : An array reference
279 Args : None or an array reference
285 $self->throw_not_implemented;
292 Usage : chromosome();
293 Function: Returns or stores a reference to an array containing chromosome lines
294 This should really only be used by ClusterIO, not directly
295 Returns : An array reference
296 Args : None or an array reference
302 $self->throw_not_implemented;
310 Function: Returns or stores a reference to an array containing sts lines
311 This should really only be used by ClusterIO, not directly
312 Returns : An array reference
313 Args : None or an array reference
319 $self->throw_not_implemented;
327 Function: Returns or stores a reference to an array containing txmap lines
328 Returns : An array reference
329 Args : None or an array reference
335 $self->throw_not_implemented;
343 Function: Returns or stores a reference to an array containing protsim lines
344 This should really only be used by ClusterIO, not directly
345 Returns : An array reference
346 Args : None or an array reference
352 $self->throw_not_implemented;
360 Function: Returns or stores a reference to an array containing sequence data
361 This should really only be used by ClusterIO, not directly
362 Returns : An array reference
363 Args : None or an array reference
369 $self->throw_not_implemented;
375 Usage : $obj->species($newval)
376 Function: Get the species object for this Unigene cluster.
378 Returns : value of species (a L<Bio::Species> object)
385 shift->throw_not_implemented();
388 =head1 Methods inherited from L<Bio::ClusterI>
396 Function: Get/set the display name or identifier for the cluster
398 Args : optional, on set the display ID ( a string)
405 Usage : Bio::ClusterI->description("POLYUBIQUITIN")
406 Function: get/set for the consensus description of the cluster
407 Returns : the description string
408 Args : Optional the description string
415 Usage : Bio::ClusterI->size();
416 Function: get/set for the size of the family,
417 calculated from the number of members
418 Returns : the size of the family
425 Title : cluster_score
426 Usage : $cluster ->cluster_score(100);
427 Function: get/set for cluster_score which
428 represent the score in which the clustering
429 algorithm assigns to this cluster.
437 Usage : Bio::ClusterI->get_members(($seq1, $seq2));
438 Function: retrieve the members of the family by some criteria, for
440 $cluster->get_members(-species => 'homo sapiens');
442 Will return all members if no criteria are provided.
444 Returns : the array of members