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 for version 4.12.0 #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

# The path to the freezeman sample submission template used by the convertor.
FMS_SUBMISSION_TEMPLATE_PATH = "config/fms_sample_submission_template_4.9.xlsx"
FMS_SUBMISSION_TEMPLATE_PATH = "config/fms_sample_submission_template_4.12.xlsx"
Binary file added config/fms_sample_submission_template_4.12.xlsx
Binary file not shown.
5 changes: 1 addition & 4 deletions convertor/freezeman/freezeman_config_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"PROJECT": "Project",
"COHORT": "Cohort",
"EXPERIMENTAL_GROUP": "Experimental Group",
"TAXON": "NCBI Taxon ID #",
"TAXON": "Taxon",
"SAMPLE_COORD": "Sample Coord",
"CONTAINER_KIND": "Container Kind",
"CONTAINER_NAME": "Container Name",
Expand All @@ -17,9 +17,6 @@
"INDIVIDUAL_NAME": "Individual Name",
"INDIVIDUAL_ALIAS": "Individual Alias",
"SEX": "Sex",
"PEDIGREE": "Pedigree",
"MOTHER_NAME": "Mother Name",
"FATHER_NAME": "Father Name",
"VOLUME": "Volume (uL)",
"CONCENTRATION": "Conc. (ng/uL)",
"COLLECTION_SITE": "Collection Site",
Expand Down
3 changes: 0 additions & 3 deletions convertor/freezeman/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ def __init__(self):
self.containerCoord = ""
self.individualName = ""
self.sex = ""
self.pedigree = ""
self.motherName = ""
self.fatherName = ""
self.volume = ""
self.concentration = ""
self.collectionSite = ""
Expand Down
6 changes: 0 additions & 6 deletions convertor/freezeman/sample_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ class SampleHeaders:
CONTAINER_COORD = "Container Coord"
INDIVIDUAL_NAME = "Individual Name"
SEX = "Sex"
PEDIGREE = "Pedigree"
MOTHER_NAME = "Mother Name"
FATHER_NAME = "Father Name"
VOLUME = "Volume (uL)"
CONCENTRATION = "Conc. (ng/uL)"
COLLECTION_SITE = "Collection Site"
Expand All @@ -39,9 +36,6 @@ class SampleHeaders:
CONTAINER_COORD,
INDIVIDUAL_NAME,
SEX,
PEDIGREE,
MOTHER_NAME,
FATHER_NAME,
VOLUME,
CONCENTRATION,
COLLECTION_SITE,
Expand Down
6 changes: 3 additions & 3 deletions convertor/moh/moh_config_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
"TUBE": "Tube"
},
"taxonTypeMap": {
"Eukaryota:Homo sapiens (Taxon ID:9606)": 9606,
"Eukaryota:Mus musculus (Taxon ID:10090)": 10090,
"Viruses:Severe acute respiratory syndrome coronavirus 2 (Taxon ID:2697049)": 2697049,
"Eukaryota:Homo sapiens (Taxon ID:9606)": "Homo sapiens",
"Eukaryota:Mus musculus (Taxon ID:10090)": "Mus musculus",
"Viruses:Severe acute respiratory syndrome coronavirus 2 (Taxon ID:2697049)": "Sars-Cov-2",
"NOT_IN_MOH": "Ixodes Scapularis"
},
"concentration_units": {
Expand Down
5 changes: 3 additions & 2 deletions version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CONVERTOR_VERSION = '4.9'
CONVERTOR_VERSION = '4.12'

# 3.12.1: Updated streamlit and Pillow because of security warnings
# 3.13.0: Updated for freezeman 3.13.0 submission template
Expand All @@ -11,4 +11,5 @@
# 4.4: Updated version number only - no template changes
# 4.5: Updated version number - Template replaced individuals ID by Name
# 4.6: Updated version number - no template changes
# 4.9: Updated version number - no template changes
# 4.9: Updated version number - no template changes
# 4.12: Updated version number - Template removed header fields and changed Taxon ID to Taxon name