ga4gh-schemas icon indicating copy to clipboard operation
ga4gh-schemas copied to clipboard

Query on Metadata

Open jacmarjorie opened this issue 9 years ago • 1 comments

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

jacmarjorie avatar Mar 23 '15 18:03 jacmarjorie

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.

jacmarjorie avatar Mar 24 '15 15:03 jacmarjorie