Skip to content

misshie/virtuoso-go-hpo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile: virtuoso-go-hpo

A dockerfile to invoke virtuoso to import downloaded and converted Gene Ontology (GO), Human Phenotype Ontology (HPO), and HPO Annotation (HPA) data files

Build

At the directory containing the Dockerfile file:

$ sudo docker build -t virtuoso-go-hpo .

Run

$ sudo docker run -it -p 8890:8890 virtuoso-go-hpo

The SPARQL endpoint is available at http://localhost:8890/sparql .

$ curl \
     --form "query=SELECT COUNT(?s) FROM <http://purl.obolibrary.org/obo/go/go.owl> WHERE { ?s ?p ?o . }" \
     http://localhost:8890/sparql
$ curl \
     --form "query=SELECT COUNT(?s) FROM <http://purl.obolibrary.org/obo/hp.owl> WHERE { ?s ?p ?o . }" \
     http://localhost:8890/sparql
$ curl \
     --form "query=SELECT COUNT(?s) FROM <http://localhost/hpa.owl> WHERE { ?s ?p ?o . }" \
     http://localhost:8890/sparql

Author and License

Author:: MISHIMA, Hiroyuki / missy (at) be.to

License:: The MIT License

The Dockerfile is based on 1) inutano/virtuoso written by Tazro Inutano Ohta at https://registry.hub.docker.com/u/inutano/virtuoso , and 2) http://qiita.com/k-shogo/items/592e243f9763d0c3b10a .

About

A dockerfile to invoke the Virtuoso database preloaded GO, HPO and HPO annotations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published