specification icon indicating copy to clipboard operation
specification copied to clipboard

Add DOS objects to Beacon response metadata

Open mfiume opened this issue 7 years ago • 5 comments

It would be useful to have a pointer to the URL of relevant whole datasets, if available. For example, pointers to reads, alignments, variants. Suggest using the Data Object Service Schema being developed by the Cloud Work Stream.

Propose adding:

files : [
   reads : <dos object>
   alignments : <dos object>
   variants : <dos object>
]

mfiume avatar Apr 14 '18 11:04 mfiume

@mfiume I am against files as part of the Beacon response, but in support of a generic mechanism, announcing / linking to a DOS response. It could be an object like:

handover: [
  {
    schema: "DOS",
    access_key: "30822e80-8ef8-4ac9-af5d-304aa7f8c1dd"
  }
],

... which would be a general wrapper for open supported schemas.

Beaconinfo then could announce the support of DOS responses for a given Beacon.

mbaudis avatar May 08 '18 16:05 mbaudis

... which would be based on the general concept to keep data delivery outside of the Beacon schema itself, but allow co-opting of other standards to fulfil the same purpose (here: using a delivery system through a "handover" mechanism, with authentication / security aspects of non-aggregated response not being part of beacon itself).

mbaudis avatar May 08 '18 16:05 mbaudis

Big +1

mfiume avatar May 08 '18 16:05 mfiume

In general, I'm cautious on using specifications (DOS) that are not standard yet. This doesn't mean that we should plan for them, but not adding them in our specs.

jrambla avatar Aug 05 '18 11:08 jrambla

We now provide an example of how this could look like on the backend in the GA4GH Schema Building Blocks, e.g. in callsets, biosamples ...

'data_use_conditions' : {
  'id' : 'DUO:0000004',
  'label' : 'no restriction'
}

But we'll need a proper object model for Beacon to make real use of those. This is an area where I really encourage some discussions & contributions!

mbaudis avatar Sep 25 '18 10:09 mbaudis