ga4gh-schemas
ga4gh-schemas copied to clipboard
Query on Metadata
I am working with a group to develop a GA4GH compliant variant database. We currently see relevant queries to be inline with searchVariants, searchVariantSets, and searchCallSets.
searchVariants - search by variantSetId | variantName | callSetIds searchVariantSets - search by datasetIds searchCallSets - search by variantSetIds | name
Things get more complicated when you want to query variantsets / callsets by different clinical variables. For instance, querying by clinical variables: diagnosis, age of diagnosis, specimen type, treatment type, etc. In order to access this data, I have to query external database to get values for the supported "search bys" listed above, then use these to query with GA-Request/Responses. This is where a request/response for metadata would be useful.
This may cross paths with this issue https://github.com/ga4gh/schemas/issues/151
I see this is defined in metadatamethods, but is not described in the API docs. There is a lot of comments in the file regarding what parameters to add, so I will leave this thread open for discussion on that.