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. APO_I1234567 -> APO: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
OBO::Parser::OWLParser - An OWL parser (oboInOwl mapping).
my $my_parser = OBO::Parser::OWLParser->new;
my $ontology = $my_parser->work("apo.owl");
An OWLParser object works on parsing an OWL file which is compliant with the OBO to OWL mapping described here:
Erick Antezana, <erick.antezana -@- gmail.com>
Copyright (c) 2006-2015 by Erick Antezana. All rights reserved.
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.