ga4gh / ga4gh-schemas

Models and APIs for Genomic data. RETIRED 2018-01-24
http://ga4gh.org
Apache License 2.0
214 stars 110 forks source link

Add source_uri to container messages #795

Open david4096 opened 7 years ago

david4096 commented 7 years ago

For messages that can be backed directly by a file (BAM for readgroupset, VCF for variants) we could provide a field named source_uri, as has been added to the Reference Set message here .

Adding a source_uri field evenly across the API would make it easy to use the access method that suits one's use case. In the end, a server would present the HTTP protocols for discovering data, and then one would download the file as needed. This could be an optional feature of the protocol, however, I expect that being able to serve files along with JSON will be highly desired https://github.com/ga4gh/server/issues/1542 .