Skip to content

Added values from NF Portal Dataset schema to MC2 DataCatalog valid v… - #221

Merged
Bankso merged 50 commits into
mainfrom
data-catalog-model-nf-harmonization
Dec 10, 2025
Merged

Added values from NF Portal Dataset schema to MC2 DataCatalog valid v…#221
Bankso merged 50 commits into
mainfrom
data-catalog-model-nf-harmonization

Conversation

@aditya-nath-sage

Copy link
Copy Markdown
Contributor

Based on the NF Portal Dataset schema (https://github.com/nf-osi/nf-metadata-dictionary/blob/main/registered-json-schemas/PortalDataset.json), I updated annotationProperty.csv for the DataCatalog schema for MC2 with missing terms in the NF model. Terms I didn't dd that were in the NF schema:

  • dataType
  • diseaseFocus
  • includedInDataCatalog (think DataCatalog is analagous to this in MC2 model)
  • individualCount
  • manifestation
  • studyID

related to #136

update Parent, validation rules, add columnType for all attributes
Added CDE Public IDs for matches identified based on an old mapping to the CCDI model.
Removed some redundant attributes and corrected a few typos
Add "Pending Annotation" as a valid value
While Imaging Level 3 Image files are composed of Imaging Level 2 images, it is possible for these to be shared independently, so Imaging Level 3 Image files should have the same metadata fields available as Imaging Level 2
Temporarily removed string_list from columnType (replaced with string), since schematic is not yet able to handle this value
schematic v25.8.1
Generated by: pip freeze > requirements.txt
@aditya-nath-sage aditya-nath-sage added the minor PR label for a minor update label Sep 16, 2025
@Bankso
Bankso force-pushed the data-catalog-model-nf-harmonization branch from 4d01767 to 544f0e7 Compare September 16, 2025 19:30
@Bankso
Bankso requested a review from vpchung as a code owner September 16, 2025 19:30
@Bankso Bankso added major PR label for a major update and removed minor PR label for a minor update labels Sep 17, 2025

@aditigopalan aditigopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great work! I have some comments, mostly that a more comprehensive PR description would be helpful:

  1. Is this documented anywhere? For terms added; include a brief mapping note (source term, rationale) in modules/dataCatalog/annotationProperty.csv or a PR comment.
  2. For “not added” NF terms (dataType, diseaseFocus, includedInDataCatalog, individualCount, manifestation, studyID), document the rationale or open follow-ups.
  3. Is this a breaking change? How does this change any templates?
  4. Idk how documentation works here, but add/adjust docs: docs/model/dataset.md or a new docs/model/datacatalog.md

@aditigopalan aditigopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do docs exist already for using the QC model?

@vpchung vpchung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Found two instances where the columnType colname was not used, not sure if that would impact downstream processes, so just highlighted them for just in case!

Comment thread modules/education/annotationProperty.csv Outdated
Comment thread modules/sharingPlans/annotationProperty.csv Outdated
Bankso and others added 8 commits October 31, 2025 13:32
Co-authored-by: Verena Chung <9377970+vpchung@users.noreply.github.com>
Co-authored-by: Verena Chung <9377970+vpchung@users.noreply.github.com>
A temporary fix to remove string_list as columnType, since this is not yet supported.
@Bankso

Bankso commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

Do docs exist already for using the QC model?

@aditigopalan yep, QC model usage is described during step 2 here: https://sagebionetworks.jira.com/wiki/spaces/CCKPD/pages/4000776229/INTERNAL+Portal+Database+Syncing

@Bankso
Bankso merged commit 975cab3 into main Dec 10, 2025
1 check passed
@Bankso
Bankso deleted the data-catalog-model-nf-harmonization branch December 10, 2025 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major PR label for a major update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants