General Request
Add back/improve the endpoint studies/{studyId}/analysis/search/id IdSearch
Background
Previously the endpoint (before donor, sample and specimen Id removal in base song) the endpoint functioned as such:
https://song.rdpc-qa.cumulus.genomeinformatics.org/studies/DATA-CA/analysis/search/id?donorId=DO264796
Returning all analyses related to DO264796
But following the removal of donorId there is now the question of which field to query by.
Possible implementation
Bioinfo has two asks
- Add back previous functionally by querying against
submitter_analysis_id. For the PCGL data, this field has been found to be consistent and can be reliably queried against.
- Make the request dynamic. For the PCGL data model, analysis schemas could reference different submitterIDs and possibly have different fields e.g.
|
submitter_participant_id |
submitter_sample_id |
submitter_specimen_id |
submitter_experiment_id |
submitter_analysis_id |
| analysisTypeA |
True |
False |
False |
False |
True |
| analysisTypeB |
False |
True |
False |
False |
True |
| analysisTypeC |
False |
False |
True |
False |
True |
In the above table submitter_experiment_id is consistent but submitter_sample_id is not.
If an implementation similar to :
https://submission.pcgl-dev.cumulus.genomeinformatics.org/data/category/1/organization/EXAMPLE-CA9/query
With a suppliable SQON like:
{
"op": "and",
"content": [
{
"op": "in",
"content": {
"fieldName": "submitter_participant_name",
"value": [
"Bob"
]
}
}
]
}
Allowing users to dynamically query for analyses
General Request
Add back/improve the endpoint
studies/{studyId}/analysis/search/id IdSearchBackground
Previously the endpoint (before donor, sample and specimen Id removal in base song) the endpoint functioned as such:
Returning all analyses related to
DO264796But following the removal of
donorIdthere is now the question of which field to query by.Possible implementation
Bioinfo has two asks
submitter_analysis_id. For the PCGL data, this field has been found to be consistent and can be reliably queried against.In the above table
submitter_experiment_idis consistent butsubmitter_sample_idis not.If an implementation similar to :
With a suppliable SQON like:
Allowing users to dynamically query for analyses