ga4gh / tool-registry-service-schemas

APIs for discovering genomics tools, their metadata and their containers
Apache License 2.0
30 stars 18 forks source link

Tool Classes #61

Closed ypriverol closed 5 years ago

ypriverol commented 5 years ago

Dear All:

As you may know, BioContainers is implementing the Ga4Gh API. We have well organized tools and their corresponding containers. We would like to extend some of the definitions of the current API. For example, would be great to have to extend the definition of tool classes. It would be great if we have an example of Tool Classes in the documentation. For example, we see three main classes in BioContainers:

In our implementation we will provide the following classes:

[
  {
    "description": "CommandLineTool",
    "id": "0",
    "name": "CommandLineTool"
  },
  {
    "description": "Workflow",
    "id": "1",
    "name": "Workflow"
  },
{
    "description": "Tool",
    "id": "2",
    "name": "Tool"
  }, 
{
    "description": "Multi-Tool",
    "id": "3",
    "name": "Multi-Tool"
  },
{
    "description": "Service",
    "id": "4",
    "name": "Service"
  }
]

Is this possible @denis-yuen @bwalsh

┆Issue is synchronized with this Jira Story ┆containerName: GA4GH tool-registry-service ┆Issue Number: TRS-2

denis-yuen commented 5 years ago

Yes, So the Dockstore implementation of TRS splits things up similarly and we may go down the services route too (let's compare notes!).

But for now, we have

[
  {
    "description": "CommandLineTool",
    "id": "0",
    "name": "CommandLineTool"
  },
  {
    "description": "Workflow",
    "id": "1",
    "name": "Workflow"
  }
]

I think putting our examples in the documentation would be a fine idea and perhaps lay the foundation for future standardization.

ypriverol commented 5 years ago

Well by definition we can use other classifications?

denis-yuen commented 5 years ago

I'm not sure I understand the question, could you rephrase?

ypriverol commented 5 years ago

What I mean is , Can we extend the current classifications?

denis-yuen commented 5 years ago

Oh yes, there are no current restrictions on tool classes, new ones can be added. I just meant it would be nice to document them here (in this repo) so different teams have the option of using the same classes to mean the same thing.

denis-yuen commented 5 years ago

(question seems answered)