5 Bio::Ontology::OBOterm - representation of OBO terms
9 $term = Bio::Ontology::OBOterm->new
10 ( -identifier => "GO:0005623",
12 -definition => "The basic structural and functional unit ...",
16 $term->add_reference( @refs );
17 $term->add_secondary_id( @ids );
18 $term->add_synonym( @synonym );
24 This is data holder class for OBO terms. It is currently a dummy class since we anticipate that the
25 OBO term will become more richer with more features being added to OBO flat-file format.
31 User feedback is an integral part of the evolution of this and other
32 Bioperl modules. Send your comments and suggestions preferably to one
33 of the Bioperl mailing lists. Your participation is much appreciated.
35 bioperl-l@bioperl.org - General discussion
36 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
40 Please direct usage questions or support issues to the mailing list:
42 I<bioperl-l@bioperl.org>
44 rather than to the module maintainer directly. Many experienced and
45 reponsive experts will be able look at the problem and quickly
46 address it. Please include a thorough description of the problem
47 with code and data examples if at all possible.
51 Report bugs to the Bioperl bug tracking system to help us keep track
52 the bugs and their resolution. Bug reports can be submitted via the web:
54 http://bugzilla.open-bio.org/
60 Email: s-merchant@northwestern.edu
64 Northwestern University
65 Center for Genetic Medicine (CGM), dictyBase
72 The rest of the documentation details each of the object
77 # Let the code begin...
79 package Bio
::Ontology
::OBOterm
;
82 use constant TRUE
=> 1;
83 use constant FALSE
=> 0;
85 use base
qw(Bio::Ontology::Term);
90 Usage : $term = Bio::Ontology::OBOterm->new
91 ( -identifier => "GO:0005623",
93 -definition => "The basic structural and functional unit ...",
97 Function: Creates a new Bio::Ontology::OBOterm.
98 Returns : A new Bio::Ontology::OBOterm object.
99 Args : -identifier => the id of this OBO term [GO:nnnnnnn]
100 integer of seven digits)
101 -name => the name of this OBO term [scalar]
102 -definition => the definition of this OBO term [scalar]
103 -ontology => the ontology for this term (a
104 Bio::Ontology::OntologyI compliant object)
105 -version => version information [scalar]
106 -is_obsolete => the obsoleteness of this OBO term [0 or 1]
107 -comment => a comment [scalar]
113 my ( $class, @args ) = @_;
114 my $self = $class->SUPER::new
(@args);