-
Notifications
You must be signed in to change notification settings - Fork 0
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
[POST-berkeley
-MERGER] Update FunctionalAnnotationAggMember
class for compatibility with MetaP Aggregation tables
#242
Conversation
…AnnotationAggMember
|
FunctionalAnnotationAggMember
class for compatibility with MetaP Aggregation tables
FunctionalAnnotationAggMember
class for compatibility with MetaP Aggregation tablesberkeley
-MERGER] Update FunctionalAnnotationAggMember
class for compatibility with MetaP Aggregation tables
src/schema/nmdc.yaml
Outdated
structured_pattern: | ||
syntax: "{id_nmdc_prefix}:wfmgan-{id_shoulder}-{id_blade}{id_version}{id_locus}$" | ||
syntax: "{id_nmdc_prefix}:(wfmgan|wfmp)-{id_shoulder}-{id_blade}{id_version}$" |
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.
backmerge such that mfmtan is also a valid typecode.
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.
@aclum - you mean "wfmtan", correct? MetatranscriptomeAnnotation
class?
can someone remind me the decision on when we'd start using a deprecated.yaml file? @sierra-moxon this pr deprecates quite a bit so it would be nice use. |
@aclum we decided not to start forcing the use until after berkeley roll out, but there's no reason you can't still put the pieces in the deprecated.yaml. |
@@ -255,16 +255,23 @@ classes: | |||
|
|||
FunctionalAnnotationAggMember: | |||
class_uri: nmdc:FunctionalAnnotationAggMember | |||
unique_keys: |
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.
leaving a note here to make sure @turbomam or @sierra-moxon review this use of unique_keys (in response to microbiomedata#2155)
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.
Have we discussed this at all? @kheal do you still want to discuss the use of unique_keys
even though the PR is closed?
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.
I have moved this PR to the nmdc-schema repo: microbiomedata#2203. I'd appreciate input on the unique_keys
use there.
Description
This PR will
FunctionalAnnotationAggMember
class to be able to accomodate both annotations from metagenomics and metaproteomics analyses. This is accomplished by exchanging the slotmetagenome_anlaysis_id
with the existing slotwas_generated_by
.metagenome_anlaysis_id
slot as there are now no classes using this slot.count
slotFunctionalAnnotationAggMember
class that is a combination ofwas_generated_by
andgene_function_id
This PR will close 1253 and 2155 and partially address 2028
Reviewers
For review (when out of draft stage):
@mslarae13, @aclum, @SamuelPurvine, @eecavanna
To keep informed:
@naglepuff, @mbthornton-lbl, @corilo, @sujaypatil96, @brynnz22
PR Information
What type of PR is this? (check all applicable)
slot
Related Issues
Did you add/update any tests?
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?
We will need to update the aggregation scripts (issue filed here: Update generate_metap_agg.py script to source ids from new slot nmdc-aggregator#13) and the data portal to use the new slot