Skip to content

david4096/tool-registry-validator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GA4GH Tool Registry API schema validator

Installation:

$ python setup.py install

Validate tool registry response:

$ ga4gh-tool-registry-validate ../tool-registry-schemas/src/main/resources/swagger/ga4gh-tool-discovery.yaml annotations.yml https://www.dockstore.org:8443/api/v1/tools

Convert a tool registry response to RDF:

$ ga4gh-tool-registry-validate --print-rdf ../tool-registry-schemas/src/main/resources/swagger/ga4gh-tool-discovery.yaml annotations.yml https://www.dockstore.org:8443/api/v1/tools > tools.ttl

Index a tool registry for SPARQL query

Requires Apache Fuseki: https://jena.apache.org/documentation/fuseki2/#download-fuseki

$ ga4gh-tool-registry-validate --serve --fuseki-path=../apache-jena-fuseki-2.3.0 ../tool-registry-schemas/src/main/resources/swagger/ga4gh-tool-discovery.yaml annotations.yml https://www.dockstore.org:8443/api/v1/tools

Packages

No packages published

Languages

  • Python 100.0%