NAME

OWL::Simple::OBOWriter - a simple OWL to OBO converter

SYNOPSIS

use OWL::Simple::Parser;
use OWL::Simple::OBOWriter;

# load Experimental Factor Ontology
my $parser = OWL::Simple::Parser->new( owlfile => 'efo.owl' );
my $writer = OWL::Simple::OBOWriter->new( owlparser => $parser );

# convert the ontology to OBO and save in current directory
$writer->write();

DESCRIPTION

A simple OWL to OBO converter.

In the constructor you only need to pass an OWL::Simple::Parser object. All other arguments are optional:

outputfile

Defaults to simple-owl-obowriter-output.obo.

version

Version of the ontology to record in the OBO file.

namespace

Specifies the default namespace

METHODS

write()

Converts and writes the file in current directory

AUTHOR

Tomasz Adamusiak 2010

COPYRIGHT AND LICENSE

Copyright (c) 2010 European Bioinformatics Institute. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under GPLv3.

This software is provided "as is" without warranty of any kind.