Tomasz Adamusiak > OWL-Simple-0.51 > OWL::Simple::OBOWriter

Download:
OWL-Simple-0.51.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

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 <tomasz@cpan.org>

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.

syntax highlighting: