OBO::Parser::OWLParser - An OWL parser (oboInOwl mapping).
use OBO::Parser::OWLParser;
use strict;
my $my_parser = OBO::Parser::OWLParser->new;
my $ontology = $my_parser->work("cco.owl");
An OWLParser object works on parsing an OWL file which is compliant with the OBO to OWL mapping described here:
http://www.bioontology.org/wiki/index.php/OboInOwl:Main_Page
Erick Antezana, <erick.antezana -@- gmail.com>
Copyright (C) 2006, 2007, 2008, 2009, 2010 by Erick Antezana
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
Usage - $OWLParser->work($owl_file_path) Returns - the parsed OWL ontology Args - the OWL file to be parsed Function - parses an OWL file (oboInOwl mapping)
Usage - $obj->owl_id2obo_id($term) Returns - the ID for OBO representation. Args - the OWL-type ID. Function - Transform an OWL-type ID into an OBO-type one. E.g. CCO_I1234567 -> CCO:I1234567
Usage - $obj->char_hex_http($seq) Returns - the sequence with the hexadecimal representation for the http special characters Args - the sequence of characters Function - Transforms a http character to its equivalent one in hexadecimal. E.g. : -> %3A
To install OBO::Util::Set, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OBO::Util::Set
CPAN shell
perl -MCPAN -e shell install OBO::Util::Set
For more information on module installation, please visit the detailed CPAN module installation guide.