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

Update schema for donor metadata #655

Merged
merged 5 commits into from
Jul 1, 2024
Merged

Update schema for donor metadata #655

merged 5 commits into from
Jul 1, 2024

Conversation

labkey-klum
Copy link
Contributor

spec

Rationale

Previously, the donor information referenced by the mAb metadata table was 1:1. In the new schema, donors are no longer mAb-specific. They will now be tracking donors that do not necessarily have mAb values and will also have lineage sequences that do not relate to mAbs but do in fact relate to donors.

Changes

  • New tables : cds.donor_metadata and cds.donor_mab_sequence
  • Dropped : cds.antibody_sequence
  • Update cds.mabMetadata to replace donor information with the FK donor_metadata.donor_id field
  • Update dependent queries
  • New sample test data
  • Update import ETL
  • CDSImportCopyConfig now has more explicit control over whether the import_ intermediate tables are used during the import ETL process. Longer term it may make sense to stop using these intermediate tables to cut down on the number of hard tables as well as steps required when loading data. In many cases there is no transformation of the data from the intermediate to final destination tables and we may be able to just import directly into the destination tables.

@labkey-klum labkey-klum linked an issue Jun 20, 2024 that may be closed by this pull request
22 tasks
@labkey-klum labkey-klum merged commit 973358d into develop Jul 1, 2024
1 check failed
@labkey-klum labkey-klum deleted the fb_donor_metadata branch July 1, 2024 01:11
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.

Dataspace - Update mAb metadata schema
2 participants