Skip to content

APIs for discovering genomics tools, their metadata and their containers

License

Notifications You must be signed in to change notification settings

PacificAnalytics/pa-tool-registry-service-schemas

 
 

Repository files navigation

ga4gh logo

DOI

Schemas for the GA4GH Tool Registry API

This repository is the home for the schema for the GA4GH Tool Registry API. The goal of the API is to provide a standardized way to describe the availability of tools and workflows. In this way, we can have multiple repositories that share Docker-based tools and WDL/CWL/Nextflow/Galaxy/Snakemake-based workflows and have a consistent way to interact, search, and retrieve information from these various registries. The end goal is to make it much easier to share scientific tools and workflows, enhancing our ability to make research reproducible, sharable, and transparent.

See the human-readable Reference Documentation. You can also explore the specification in the Swagger Editor. Manually load the JSON if working from a non-develop branch version. Preview documentation from the gh-openapi-docs for the development branch here

The Global Alliance for Genomics and Health (GA4GH) is an international coalition, formed to enable the sharing of genomic and clinical data.

The GA4GH Data Working Group concentrates on data representation, storage, and analysis, including working with platform development partners and industry leaders to develop standards that will facilitate interoperability.

Containers and Workflows Task Team

The Containers & Workflows working group is an informal, multi-vendor working group born out of the BOSC 2014 codefest, consisting of various organizations and individuals that have an interest in portability of data analysis workflows. Our goal is to create specifications that enable data scientists to describe analysis tools and workflows that are powerful, easy to use, portable, and support reproducibility for a variety of problem areas including data-intensive science like bioinformatics, physics, and astronomy; and business analytics such as log analysis, data mining, and ETL.

What is the Tool Registry API Schema?

This is the home of the schema for the GA4GH Tool Registry API. The GA4GH Tool Registry API is a standard for listing and describing available tools (both stand-alone, Docker-based tools as well as workflows in CWL, WDL, Nextflow, Galaxy or Snakemake) in a given registry. This defines a minimal, common API describing tools that we propose for support by multiple tool/workflow registries like Dockstore, BioContainers, and Agora for the purposes of exchange, indexing, and searching.

This repo uses the HubFlow scheme which is closely based on GitFlow. In practice, this means that the master branch contains the last production release of the schema whereas the develop branch contains the latest development changes which will end up in the next production release. As of July 2019, this means that the 1.0.0 version is described on master whereas the develop branch contains the 2.0.0-beta.3 version which will evolve into the 2.0.0 production release.

Our current proposal is to start with a read-only API due to potentially different views and approaches to registration/security.

Key features of the current API proposal:

  • read-only API
  • May serve up CWL, WDL, Nextflow, Galaxy or Snakemake to describe a tool or represent a workflow depending on the tool/workflow submitter
  • ID: globally unique across systems and also identifies the system that it came from (ex: [email protected] )

Outstanding questions:

  • How do we track authorship? Should we track authorship of the tool metadata, the Docker image, or the underlying algorithm, or all of above?
  • How to describe indexing and external services like an external sparql service.
  • Terminology discussion (do we describe triples separately from tools? should we describe them as aggregations of tools for just the case that documents have more than one tool? etc.)

How to view

See the swagger editor to view our schema in progress.

How to contribute changes

Take cues for now from the CONTRIBUTING.md document.

At the very least, create an issue in our Github tracker.

Even better, fork the codebase, fix the issue, and create a pull request back to the project along with your ticket.

Adding registries

To add a registry that supports the GA4GH Registry API:

  1. fork the repo
  2. modify registry.json
  3. submit a pull request back to the project
  4. we will confirm the site is valid then accept your pull request

Cross indexing Tool Registry sites

See our registry.json for a list of known registries that conform to the Tool Registry API standard.

License

See the LICENSE

For more information

About

APIs for discovering genomics tools, their metadata and their containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 70.3%
  • JavaScript 29.7%