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

Created Class ChemicalConversionProcess #5

Merged
merged 17 commits into from
Dec 14, 2023
Merged

Conversation

JamesTessmer
Copy link
Collaborator

@JamesTessmer JamesTessmer commented Dec 12, 2023

This PR only created a new class and slots and shouldn't require a data migration.

@@ -256,6 +256,28 @@ classes:
- has_solution_components
- volume

ChemicalReagent:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have modeling for this. I'll post it in a minute

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolution: make ChemicalReagent specific to the fact that it is used in a laboratory. like "LaboratoryChemicalReagent" or "LaboratoryReagent"

@@ -1650,6 +1672,26 @@ classes:
syntax: "{id_nmdc_prefix}:cspro-{id_shoulder}-{id_blade}{id_version}{id_locus}"
interpolated: true

ReactionProcess:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please give this a name that explicitly differentiates it from the exiting ReactionClass (which is about biological pathways)

I suggest LaboratoryReactionPathway

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://microbiomedata.github.io/nmdc-schema/Reaction/

I think ReactionProcess is as far as we can get this right now. I could see arguments for changing Reaction too.
Let's not dwell on this term and track the issue as a todo

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is class ReactionProcess not differentiated enough from class Reaction?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolution: come up with a name descriptive to the fact that the process takes place in an experimental setting rather than being functional annotation

@anastasiyaprymolenna
Copy link
Collaborator

@turbomam We cannot combine the LaboratoryReagent class to be an input because we need to let inlined_as_list: true to list the details, but that is not the case for the has_input slot that takes in just the ids of Biosample and ProcessedSample. LinkML won't let us do both. So I kept the has_reagents slot

@anastasiyaprymolenna anastasiyaprymolenna changed the title Make reaction process Make Class:ChemicalConversionProcess Dec 14, 2023
description: The reagents used in a chemical reaction.
multivalued: true
inlined_as_list: true
sample_state_information:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add Domain

@turbomam turbomam merged commit d89927e into main Dec 14, 2023
2 checks passed
@turbomam turbomam deleted the make-ReactionProcess branch December 14, 2023 19:37
@mslarae13
Copy link
Collaborator

@JamesTessmer @anastasiyaprymolenna can you add what migration is needed here... add this to the 1st comment, and update it accordingly ( I think it's limited to no migration, but not 100% sure)

Collections requiring migration:

  • study_set
  • biosample_set

@JamesTessmer
Copy link
Collaborator Author

Will do, we were talking about that earlier today. I’m planning to update the metabolink/material procssing PRs we worked on with the needed info.

@JamesTessmer JamesTessmer changed the title Make Class:ChemicalConversionProcess Created Class ChemicalConversionProcess Dec 20, 2023
@brynnz22 brynnz22 changed the title Created Class ChemicalConversionProcess Created Class ChemicalConversionProcess Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants