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

cellxgene-schema CLI must update validation for obs['assay_ontology_term_id'] #1189

Closed
brianraymor opened this issue Jan 23, 2025 · 2 comments
Assignees
Labels
5.3 Next minor CELLxGENE schema version after 5.2 curation software

Comments

@brianraymor
Copy link
Contributor

Context

See Visium Spatial Gene Expression must be prohibited in assay_ontology_term_id.

Design

This MUST be an EFO term and either:

  • the most accurate descendant of "EFO:0002772" for assay by molecule excluding "EFO:0010961" for Visium Spatial Gene Expression while allowing its descendants

  • the most accurate descendant of "EFO:0010183" for single cell library construction excluding "EFO:0010961" for Visium Spatial Gene Expression while allowing its descendants

@brianraymor brianraymor added 5.3 Next minor CELLxGENE schema version after 5.2 curation software labels Jan 23, 2025
@ejmolinelli ejmolinelli self-assigned this Jan 27, 2025
@ejmolinelli
Copy link
Contributor

would you like us to update the error messages to reflect this language? That is, instead of:

ERROR: A dict in uns['spatial'] is required when obs['assay_ontology_term_id'] is either a descendant of 'EFO:0010961' (Visium Spatial Gene Expression) or 'EFO:0030062' (Slide-seqV2)."

We would use

ERROR: A dict in uns['spatial'] is required when obs['assay_ontology_term_id'] is either a descendant of 'EFO:0010961' (Visium Spatial Gene Expression) excluding 'EFO:0010961' or 'EFO:0030062' (Slide-seqV2)."

@ejmolinelli
Copy link
Contributor

In regards to previous comment

the response from the Lattice Team is:

I'd say the original comment can remain. It took me a few rereads of the updated message to parse out that the parent visium term is forbidden but the slide-seq term is allowed. I think there are other error messages/places in the schema that specify using descendant terms, so we are familiar with that kind of requirement. Thanks for checking

@joyceyan joyceyan closed this as completed Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.3 Next minor CELLxGENE schema version after 5.2 curation software
Projects
None yet
Development

No branches or pull requests

3 participants