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


ONTO-PERL documentation  | view source Contained in the ONTO-PERL distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

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

COPYRIGHT AND LICENSE

Top

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


ONTO-PERL documentation  | view source Contained in the ONTO-PERL distribution.