OWL::Simple::OBOWriter - a simple OWL to OBO converter
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();
A simple OWL to OBO converter.
In the constructor you only need to pass an OWL::Simple::Parser object. All other arguments are optional:
Defaults to simple-owl-obowriter-output.obo.
Version of the ontology to record in the OBO file.
Specifies the default namespace
Converts and writes the file in current directory
Tomasz Adamusiak <tomasz@cpan.org>
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.
To install OWL::Simple::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OWL::Simple::Class
CPAN shell
perl -MCPAN -e shell install OWL::Simple::Class
For more information on module installation, please visit the detailed CPAN module installation guide.