generated from linkml/linkml-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Refactor MetaproteomicsAnalysis
slots and implement migrator
#2204
Draft
kheal
wants to merge
23
commits into
main
Choose a base branch
from
2157_proteomics_refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+156
−30
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add valid and invalid examples for MetaP
eecavanna
approved these changes
Oct 9, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Migrator looks great! Thanks for including a variety of doctests.
|
kheal
changed the title
[POST-
Refactor Oct 16, 2024
berkeley
-MERGER] Refactor MetaproteomicsAnalysis
slots and implement migratorMetaproteomicsAnalysis
slots and implement migrator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will address #2157.
Full discussion is here for interested parties: #2152.
Overall, this PR will significantly minimize the proteomics data stored as metadata by refactoring the
MetaproteomicsAnalysis
class's contents.This PR
PeptideQuantification
,all_proteins
,best_protein
,min_q_value
,peptide_sequence
,peptide_sum_masic_abundance
,peptide_sequence_count
.ProteinQuantification
toProteinIdentification
to better capture content.MetaproteomicsAnalysis
class -has_protein_identifications
. This slot's range will beProteinIdentification
and that class will be populated from thebest_protein
andpeptide_sequence_count
slots from the now deprecatedPeptideQuantification
class.MetaproteomicsAnalysis
class (previously missing), based off of real data currently in Mongo.razor_protein
slot (to address Review id_locus pattern forbest_protein
andall_protein
slots #2028)This PR was moved from microbiomedata#236.
Reviewers
To review: mslarae13, eecavanna, SamuelPurvine
To keep informed: naglepuff, aclum, mbthornton-lbl, corilo, sujaypatil96, brynnz22
PR Information
What type of PR is this? (check all applicable)
class
andslots
slot
to aclass
Description
See above
Related Issues / Discussions
- Remove
PeptideQuantification
class, migrate information fromPeptideQuantification
best_protein
slot to newrazor_protein
slot onMetaproteomicsAnalysis
class #2157 (will be closed after this is merged in)- Review id_locus pattern for
best_protein
andall_protein
slots #2028 (will be closed after this is merged in)- Update generate_metap_agg.py script to source ids from new slot nmdc-aggregator#13 (will be unblocked after this is merged in)
- Proposed actions for de-bloat of metaproteomics data in mongo DB #2152 (discussion of plan for this PR)
Did you add/update any tests?
Added valid and invalid examples as well a doctest for migrator
Could this schema change make it so any valid data becomes invalid?
If you answered "Yes", does this PR branch include that migrator?
Does this PR have any downstream implications?
This work will need to be followed by an update to the aggregator script, an update to the structure of the aggregation tables in the schema and associated migrator, and an update to the DataPortal's handling of the KEGG terms from the aggregations.