HUB
Sign inSign up

kaustborg/opa2vec

By kaustborg

•Updated about 8 years ago

OPA2Vec is a method to generate vector representations of biological entities based on ontologies

Image
0

410

kaustborg/opa2vec repository overview

To run OPA2Vec on a docker container, follow the instructions below:

  • Create a folder /$PATH/data (where /$PATH/data is the absolute path to the data/ folder on your host machine ) and store in it your ontology file and association file.
  • Pull opa2vec image using : docker pull kaustborg/opa2vec
  • Run image using the following command: docker run -v /$path/data:/opt/data kaustborg/opa2vec /opt/data/ontologyfile /opt/data/associationfile -annotations "URI1,URI2" -pretrained "filename" -embedsize N -windsize N -mincount N -model sg/cbow -entities "filename" -reasoner "elk/hermit" -debug "yes/no"

where ontologyfile is the name of your ontology file and associationfile is the name of your association file. The rest of the parameters are optional and you can find their detailed description at: https://github.com/bio-ontology-research-group/opa2vec⁠

-Once the container finishes running, the vectors will be saved in the data/ folder on your host machine.

For full details on how to use OPA2Vec directly on your machine, please refer to https://github.com/bio-ontology-research-group/opa2vec⁠

Tag summary

Content type

Image

Digest

Size

769.6 MB

Last updated

about 8 years ago

docker pull kaustborg/opa2vec