The annotation of a molecular sequence. It is recommended to annotate by using the optional 'ref' attribute (some examples of acceptable values for the ref attribute: 'GO:0008270', 'KEGG:Tetrachloroethene degradation',
'EC:1.1.1.1').
Array of Property objects. Allows for further, typed and referenced annotations from external resources
Converts elements to xml representation. Called by PhyloXML::Writer class.
# File lib/bio/db/phyloxml/phyloxml_elements.rb, line 721 def to_xml annot = LibXML::XML::Node.new('annotation') annot["ref"] = @ref if @ref != nil PhyloXML::Writer.generate_xml(annot, self, [[:simple, 'desc', @desc], [:complex, 'confidence', @confidence], [:objarr, 'property', 'properties'], [:complex, 'uri', @uri]]) return annot end
Generated with the Darkfish Rdoc Generator 2.