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

1000 model rna library preparation #2113

Merged
merged 10 commits into from
Jul 16, 2024
Merged

Conversation

aclum
Copy link
Contributor

@aclum aclum commented Jul 9, 2024

This PR is to model how to capture RNA-seq library preparation information which is needed input for the expression step of the Metatranscriptome analysis workflow.

This adds two slots which are applied to Class LibraryPreparation.
Changes are additive, no migrators needed.

aclum added 3 commits July 9, 2024 12:02
Option 1 for modeling, separating concepts of stranded vs non stranded and then stranded orientation.
Model rna types in a single enumeration.
Copy link

github-actions bot commented Jul 9, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://microbiomedata.github.io/nmdc-schema/pr-preview/pr-2113/
on branch gh-pages at 2024-07-16 18:40 UTC

@aclum aclum requested a review from kaijli July 9, 2024 21:43
@turbomam
Copy link
Member

Thanks @aclum! I prefer the explicitness and atomicity of the is_stranded and stranded_orientation style. That option only adds one slot beyond the other option, right?

aclum and others added 3 commits July 15, 2024 11:38
Deleting this modeling example in favor of modeling strandedness and strand orientation separately.
Addes slots for rna library preparation
@aclum aclum marked this pull request as ready for review July 15, 2024 21:58
Copy link
Collaborator

@eecavanna eecavanna left a comment

Choose a reason for hiding this comment

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

Changes are additive, no migrators needed.

I agree. This schema change adds a non-required slot named is_stranded to an existing class, adds a non-required slot named stranded_orientation (whose range is an enum) to that same class, and defines that enum. None of that has the potential to make currently-valid data become invalid, which is what I consider to be the condition for whether a migrator is necessary or not.

I'm requesting a couple changes related to the spelling of "orientation". I don't have any other concerns about the changes in this PR.

src/schema/nmdc.yaml Outdated Show resolved Hide resolved
src/schema/nmdc.yaml Outdated Show resolved Hide resolved
aclum and others added 2 commits July 15, 2024 16:41
Co-authored-by: eecavanna <134325062+eecavanna@users.noreply.github.com>
Co-authored-by: eecavanna <134325062+eecavanna@users.noreply.github.com>
@eecavanna eecavanna self-requested a review July 15, 2024 23:57
Copy link
Collaborator

@eecavanna eecavanna left a comment

Choose a reason for hiding this comment

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

All of my concerns have been resolved. I'm comfortable with this being merged in.

@aclum
Copy link
Contributor Author

aclum commented Jul 16, 2024

Discussed at the workflows meeting and there were no concerns.

Updates to metatranscriptome library prep enumerations.
@aclum aclum requested a review from turbomam July 16, 2024 18:48
Copy link
Member

@turbomam turbomam left a comment

Choose a reason for hiding this comment

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

nice

@aclum aclum merged commit c4df04d into main Jul 16, 2024
3 checks passed
@aclum aclum deleted the 1000-model_rna_library_preparation branch July 16, 2024 20:15
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.

Add RNA library permissible values to LibraryTypeEnum for LibraryPreparation's library_type slot
3 participants