module SimpleBioC

SimpleBioC main library

Constants

VERSION

Public Instance Methods

from_xml(file_path) click to toggle source

parse a BioC XML file in the given path and convert it into a collection instance

# File lib/simple_bioc.rb, line 10
def from_xml(file_path)
  BioCReader.read(file_path)
end
to_xml(collection) click to toggle source

convert a collection instance to a BioC XML text

# File lib/simple_bioc.rb, line 15
def to_xml(collection)
  BioCWriter.write(collection)
end