API route: from dataobject
id, return associated biosample
ids
#668
Labels
enhancement
New feature or request
dataobject
id, return associated biosample
ids
#668
Is your feature request related to a problem? Please describe.
The notebook squad is developing a notebook to query all NMDC data objects associated with NOM analyses and do a meta-analysis on them. We start with data object ids and need to associate them with the biosamples from which they originate. Although it is possible with the current API calls, we have to make several calls and it still requires a fair amount of in depth knowledge of the schema.
Describe the solution you'd like
I would like an API call that where I can send a list of
dataobject
ids and it will return a list ofbiosample
ids.Example user story template:
AS A user, IF I START WITH A LIST OF dataobjects, I have to traverse the
analysis_activity_set
,omics_processing_set
, and maybe somematerial_processing_set
s (like current extraction_set or pooling_set) to finally find the biosample ids and relevant biosample information (like is this sample from water or soil). The user also needs to have very intimate knowledge of the schema to navigate this traversal.Acceptance Criteria
Additional context
This is essentially a mirror API route from the request I've made here: #667
This is related to milestone microbiomedata/issues#516 and microbiomedata/issues#496
The text was updated successfully, but these errors were encountered: