NAME

OBO::APO::SwissProtToRDF - A SwissProt to RDF converter.

DESCRIPTION

Converts SwissProt files to a RDF graph.

NCBI taxonomy dump files files can be obtained from:

ftp://ftp.expasy.org/databases/uniprot/current_release/knowledgebase/taxonomic_divisions

e.g. uniprot_sprot_human.dat.gz

and/or

ftp://ftp.expasy.org/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.dat.gz

AUTHOR

Erick Antezana erant@psb.ugent.be

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Erick Antezana

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    - $SwissProtToRDF->work($uniprot_file)
Returns  - RDF file handler
Args     - The paths to the SwissProt file and a file handler for the new RDF file
Function - Converts SwissProt entries from a 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