Closed mbaudis closed 3 years ago
I agree with dataset specific objects idea.
Not only does this idea help to resolve the above but it can also help with AAI and pagination. This is an area I had planned to discuss in the next meeting (please remind me!) so I'll save writing any lengthy comments here until after the meeting.
The whole concept of "datasets" as a special grouping item is tricky. We have now a large interest in e.g. cohorts, which may span datasets. The datasets concept itself derives a lot from the "single VCF/collection with pre-computed frequencies" etc. which is extremely limiting.
So:
datasetAlleleResponses
But this may just reflect some lack of understanding from my side how a /biosamples
response for 2 selected datasets would look.
This has been addressed in the Beacon v2 Model.
The
includeDatasetResponses
parameter - picked up from the v1 schema - allows o specify if dataset specific responses should be provided:However, only for variants dataset specific responses exists (
BeaconDatasetAlleleResponse
) but this isn't a consistent feature of the other endpoints (biosamples ...). Here, AFAIK it currently is not supported to deliver the results in per-dataset objects.Overall, the "datasetAlleleResponse" etc. is a bit confusing. The straightforward options would be:
OR
Maybe it is just me missing some simplicity here...