Erick Antezana > ONTO-PERL > OBO::APO::GoaToRDF

Download:
ONTO-PERL/ONTO-PERL-1.44.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

OBO::APO::GoaToRDF - A GOA associations to RDF converter.

DESCRIPTION ^

Converts a GOA association file to a RDF graph. The RDF graph is very simple, containing a node for each line from the association file (called GOA_ASSOC_n), and several triples for the fields (e.g. obj_symb).

GOA associations files can be obtained from http://www.ebi.ac.uk/GOA/proteomes.html

The method 'work' gets an assoc file path and a file handler for the RDF graph.

AUTHOR ^

Mikel Egana Aranguren mikel.egana.aranguren@gmail.com

COPYRIGHT AND LICENSE ^

Copyright (C) 2008 by Mikel Egana Aranguren

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.

work

  Usage    - $GoaToRDF->workwork($input_file, $file_handle, $base, $ns);
  Returns  - RDF file handler
  Args     - 1. Full path to the GOA file
                         2. File handle for writing RDF
                         3. base URI (e.g. 'http://www.semantic-systems-biology.org/')
                         4. name space (e.g. 'SSB')
  Function - converts an assoc. file to an RDF graph

char_hex_http

  Usage    - $ontology->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
syntax highlighting: