phc-ingestion 1.0.3__py3-none-any.whl → 1.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ingestion/broad/utils.py +1 -0
- ingestion/generic/utils.py +1 -0
- ingestion/nebula/manifest_assembler.py +1 -1
- ingestion/nextgen/util/manifest_helpers.py +3 -1
- ingestion/nextgen/util/process_manifest.py +1 -1
- {phc_ingestion-1.0.3.dist-info → phc_ingestion-1.0.5.dist-info}/METADATA +1 -1
- {phc_ingestion-1.0.3.dist-info → phc_ingestion-1.0.5.dist-info}/RECORD +8 -8
- {phc_ingestion-1.0.3.dist-info → phc_ingestion-1.0.5.dist-info}/WHEEL +0 -0
ingestion/broad/utils.py
CHANGED
|
@@ -64,6 +64,7 @@ def check_manifest(manifest_file_path: str, case_id, log: Logger):
|
|
|
64
64
|
raise e
|
|
65
65
|
|
|
66
66
|
# Add duplicate fields from supplied ones to fit formatting
|
|
67
|
+
manifest["mrn"] = manifest["mrn"].strip()
|
|
67
68
|
manifest["patientInfo"]["identifiers"] = [
|
|
68
69
|
{
|
|
69
70
|
"codingCode": "MR",
|
ingestion/generic/utils.py
CHANGED
|
@@ -64,6 +64,7 @@ def check_manifest(manifest_file_path: str, case_id, log: Logger):
|
|
|
64
64
|
raise e
|
|
65
65
|
|
|
66
66
|
# Add duplicate fields from supplied ones to fit formatting
|
|
67
|
+
manifest["mrn"] = manifest["mrn"].strip()
|
|
67
68
|
manifest["patientInfo"]["identifiers"] = [
|
|
68
69
|
{
|
|
69
70
|
"codingCode": "MR",
|
|
@@ -25,7 +25,9 @@ def parse_patient_name(line: str) -> str:
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
def parse_sample_number(line: str) -> str:
|
|
28
|
-
return parse_pattern(
|
|
28
|
+
return parse_pattern(
|
|
29
|
+
r"^.*Specimen #: (\d+(?:-[A-Za-z0-9]+)?(?:-?R)?) .*$", line, "sample number"
|
|
30
|
+
)
|
|
29
31
|
|
|
30
32
|
|
|
31
33
|
def parse_body_site(line: str) -> str:
|
|
@@ -87,7 +87,7 @@ def extract_patient_data(patient_info_lines: list[str]):
|
|
|
87
87
|
|
|
88
88
|
if "mrn" not in patient_data and "MRN #" in line:
|
|
89
89
|
mrnArray = line.split(" ")
|
|
90
|
-
mrn = search_and_grab(mrnArray, "MRN", 2)
|
|
90
|
+
mrn = search_and_grab(mrnArray, "MRN", 2).strip()
|
|
91
91
|
patient_data["mrn"] = mrn
|
|
92
92
|
patient_data["patientInfo"]["identifiers"] = [
|
|
93
93
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ingestion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
ingestion/broad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
ingestion/broad/process.py,sha256=IrtnANQlbPpI7aza-N_v8qMyxBOX17jq904wDNq7Nng,1803
|
|
4
|
-
ingestion/broad/utils.py,sha256=
|
|
4
|
+
ingestion/broad/utils.py,sha256=QghE7y5Tz4m-sB1trKmMOMEHdf53CK9zVIeAOAu9QUU,2899
|
|
5
5
|
ingestion/caris/__init__.py,sha256=sFHl6qZWaacTbCFyikkIkuC-z459m5XQ7kwwoCw7HK8,61
|
|
6
6
|
ingestion/caris/process.py,sha256=7GaSTg9LjqSn7iTNbY3FJIPFvVjkd6wgXiVC00pn-7A,1411
|
|
7
7
|
ingestion/caris/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -28,20 +28,20 @@ ingestion/foundation/util/interpretation.py,sha256=LVVUmMyD6Un1rIKXqiyQDUC6oIJUd
|
|
|
28
28
|
ingestion/foundation/util/vcf_etl.py,sha256=GXV5JXswwdyHEEdPsM3Qq8tDPFkvZajrZn5chWgF53k,2266
|
|
29
29
|
ingestion/generic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
ingestion/generic/process.py,sha256=ZaVnZ_gx9faDUsuresI1A0oCegTa-dPQT7DBFMeZGyY,1777
|
|
31
|
-
ingestion/generic/utils.py,sha256=
|
|
31
|
+
ingestion/generic/utils.py,sha256=QghE7y5Tz4m-sB1trKmMOMEHdf53CK9zVIeAOAu9QUU,2899
|
|
32
32
|
ingestion/nebula/__init__.py,sha256=VauK-rup_N8ZXVohx3HYqHX_PE_WoPyMUhdv2R7al4o,45
|
|
33
33
|
ingestion/nebula/constants.py,sha256=thKqSwemdaAwAmKvF4FEVI9l1Ph5ergsnMlx6nWte7E,357
|
|
34
|
-
ingestion/nebula/manifest_assembler.py,sha256=
|
|
34
|
+
ingestion/nebula/manifest_assembler.py,sha256=ZqppEe4n8tgh3118Jdq4rmaz5TCejNAbUATAZWx2QVM,8003
|
|
35
35
|
ingestion/nebula/process.py,sha256=N9OuipynGV_XgEL3nO5I_-di1tk9szOy8LqsyNTw0E0,2323
|
|
36
36
|
ingestion/nextgen/__init__.py,sha256=7LQ-h_Bvc5P1QcHMdzsqi1Qm4fTJn04-ozar2ty9wSc,59
|
|
37
37
|
ingestion/nextgen/process.py,sha256=5Z0RfclwTAYZruGDiLPutjPCYFh1DJpoWY9dnttghT4,3993
|
|
38
38
|
ingestion/nextgen/util/alteration_table.py,sha256=JTWBL1Fqj_pGsH5vwuVEnCUJle2wOBk6VYImHYCF9vg,6129
|
|
39
39
|
ingestion/nextgen/util/interpretation.py,sha256=a_B8jVjJXjkrN0hNzB260WNlZdY-BkL26LyLZcYP20A,950
|
|
40
|
-
ingestion/nextgen/util/manifest_helpers.py,sha256=
|
|
40
|
+
ingestion/nextgen/util/manifest_helpers.py,sha256=Eo89CBRDrMGLIq2OBkKS9lH5yL4pgMUOysle1TL9qr8,2765
|
|
41
41
|
ingestion/nextgen/util/nextgen_specific_genes.py,sha256=1jFcqvtYAlJ7eBwOBm1UC2TzAbjHjdlvPBUzxr1G8dY,1206
|
|
42
42
|
ingestion/nextgen/util/pre_filter_somatic_vcf.py,sha256=mIaUihmGLbS38D4Gy_Qtf1lFAfW0A-LgAgQmsrEiI-M,3529
|
|
43
43
|
ingestion/nextgen/util/process_cnv.py,sha256=MIirc8e0k6lsaTZkRM3U3L3IvbrcHmKQ4xlIu585514,2430
|
|
44
|
-
ingestion/nextgen/util/process_manifest.py,sha256=
|
|
44
|
+
ingestion/nextgen/util/process_manifest.py,sha256=feyJXt045e8NVwii0vHyZ7RdSfARs9Q205dgMz4d9DM,8436
|
|
45
45
|
ingestion/nextgen/util/process_structural.py,sha256=FKjkK7BkIlocnLs8rFCjrMC39FCQnD0nQCeWvi7cRoA,7539
|
|
46
46
|
ingestion/nextgen/util/process_vcf.py,sha256=ZZURSMnZhHDpFahzijZ4MvCfSWTPdIktzmnCKVVUbGs,7768
|
|
47
47
|
ingestion/nextgen/util/types.py,sha256=SSzt5gv-kss1PR45eQUelypWrGI-dAfQMO3GSD-T-Wg,22
|
|
@@ -63,6 +63,6 @@ ingestion/vcf_standardization/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
63
63
|
ingestion/vcf_standardization/util/af_helpers.py,sha256=dpTzoeIQVeBRt0ETF3a9rp5ojZqznHg4x_hCZ8OPcOg,1061
|
|
64
64
|
ingestion/vcf_standardization/util/dp_helpers.py,sha256=Nq8oLOLObu4_pv16qwwgpALRlUoJVCULrd9cFOD-eoI,823
|
|
65
65
|
ingestion/vcf_standardization/util/read_write.py,sha256=x3Pf6Dq8tmolblbCS5CrNmrcHS3FGfqBSFpFgvFGC4g,2526
|
|
66
|
-
phc_ingestion-1.0.
|
|
67
|
-
phc_ingestion-1.0.
|
|
68
|
-
phc_ingestion-1.0.
|
|
66
|
+
phc_ingestion-1.0.5.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
|
|
67
|
+
phc_ingestion-1.0.5.dist-info/METADATA,sha256=lnKLnHLkhAEChPtanrK1bkL4iRXOxGkvZdFvf0QgdUQ,676
|
|
68
|
+
phc_ingestion-1.0.5.dist-info/RECORD,,
|
|
File without changes
|