NAME
OBO::CCO::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->work($RDF_file_handler,$path_to_assoc_file)
Returns - RDF file handler
Args - a file handler for the new RDF file and the path to the assoc. file.
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