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