NAME

OBO::APO::NCBIToRDF - A NCBI taxonomy dump to RDF converter.

DESCRIPTION

Converts NCBI taxonomy dump files (names and nodes) to a RDF graph.

NCBI taxonomy dump files files can be obtained from ftp://ftp.ncbi.nih.gov/pub/taxonomy/

The method 'work' gets the nodes file, the names file, and 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    - $NCBIToRDF->work($NCBINodesFilePath,$NCBINamesFilePath,$RDF_file_handler)
Returns  - RDF file handler
Args     - The paths to the NCBI nodes and names files and a file handler for the new RDF file
Function - Converts NCBI nodes and NCBI names 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