A Python tool to convert HGNC dataset to OWL format.
$ git clone https://github.com/musen-lab/hgnc2owl.git
$ cd hgnc2owl
$ pip install .
$ hgnc2owl http://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/json/hgnc_complete_set.json \
http://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/json/withdrawn.json \
-o hgnc.owl
Alternatively, you can shorten the command using the Makefile
$ make EXTRAS=false hgnc
Enabling the EXTRAS
parameter will require the installation of the ROBOT tool. This option will add the extra synonyms from the PRO ontology.
$ make hgnc