Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API route: from dataobject id, return associated biosample ids #668

Closed
kheal opened this issue Sep 3, 2024 · 1 comment · May be fixed by #744
Closed

API route: from dataobject id, return associated biosample ids #668

kheal opened this issue Sep 3, 2024 · 1 comment · May be fixed by #744
Assignees
Labels
enhancement New feature or request

Comments

@kheal
Copy link

kheal commented Sep 3, 2024

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 of biosample 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 some material_processing_sets (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

  • This should work with NEON data
  • Can be given a list of 1000 data objects and return the biosample ids associated with them (pagination is fine).

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

@PeopleMakeCulture
Copy link
Collaborator

Closing this ticket, post-decision to focus on broader associations endpoint (#717)

@github-project-automation github-project-automation bot moved this from On base to Scored in Polyneme mixset Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants