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

Explore samples in Gemma via the REST API #1191

Open
arteymix opened this issue Jul 25, 2024 · 0 comments
Open

Explore samples in Gemma via the REST API #1191

arteymix opened this issue Jul 25, 2024 · 0 comments
Labels
enhancement Enhance the code or user experience low priority rest-api Issues or pull requests involving the RESTful API

Comments

@arteymix
Copy link
Member

arteymix commented Jul 25, 2024

During ISMB 2024, some participants who attended our poster expressed the interest of exploring Gemma's data from the perspective of samples.

Kind of use cases this would cover:

  • find all control samples to be used for a null hypothesis
  • retrieve expression vectors for a given set of samples that have a common characteristic

Having REST API endpoints for finding samples with certain characteristics or factors would be the bare minimum to allow these use cases.

On the backend, this means implementing the FilteringVoEnabledService interface in the BioMaterialService, adding full-text search capabilities for BioMaterials in the SearchService and exposing these functionalities in a BioMaterialWebService.

ACLs is tricky to implement because there's a one-to-many relation between a BioMaterial and a BioAssay. There might be cases of multiple BAs associated to one BM, but there shouldn't be more than one EE. For single-cell, this is likely to be more complicated because a given BM could be reused in multiple subsets.

The current workaround that we presently offer is to find datasets that have samples with specific characteristics and subsequently query the getDatasetSamples endpoint to retrieve individual samples and then retain relevant ones.

@arteymix arteymix added enhancement Enhance the code or user experience rest-api Issues or pull requests involving the RESTful API low priority labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance the code or user experience low priority rest-api Issues or pull requests involving the RESTful API
Projects
None yet
Development

No branches or pull requests

1 participant