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

Fix/rki tsv csv #409

Merged
merged 9 commits into from
Jul 11, 2023
14 changes: 6 additions & 8 deletions bin/transform-rki
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ from lib.utils.transformpipeline.transforms import (AddHardcodedMetadataRki,
UserProvidedAnnotations)

COLUMN_MAP = {
"DATE_DRAW": "date",
"RECEIVE_DATE": "date_submitted",
"PROCESSING_DATE": "date_released",
"SENDING_LAB_PC": "originating_lab",
"SEQUENCING_LAB_PC": "submitting_lab",
"GISAID_ACCESSION": "strain_gisaid",
"lineage": "pango_lineage",
"SEQ_REASON": "sampling_strategy",
"SEQUENCE.DATE_OF_SAMPLING": "date",
"SEQUENCE.PUSHED_TO_DWH": "date_submitted",
"DL.ID": "originating_lab",
"SL.ID": "submitting_lab",
"PANGOLIN.LINEAGE_LATEST": "pango_lineage",
"SEQUENCE.SEQUENCING_REASON": "sampling_strategy",
Comment on lines +32 to +37
Copy link
Contributor

Choose a reason for hiding this comment

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

Full disclosure: I made these column changes using Google Translate to translate the RKI docs of the metadata fields.

Copy link
Member

Choose a reason for hiding this comment

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

They are correct :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for checking 🙏

}


Expand Down