phc-ingestion 0.10.17__tar.gz → 0.10.18__tar.gz
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.
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/PKG-INFO +1 -1
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/util/ga4gh.py +25 -9
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/pyproject.toml +1 -1
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/PYPI.md +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/process.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/cnv.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/detect_genome_ref.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/hla.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/ihc.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/interpretation.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/json.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/metadata.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/specimen_details.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/structural.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/tests.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/tmb.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/tsv.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/caris/util/vcf.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/process.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/util/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/util/cnv.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/util/fnv.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/util/interpretation.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/foundation/util/vcf_etl.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/generic/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/generic/process.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/generic/utils.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nebula/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nebula/constants.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nebula/manifest_assembler.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nebula/process.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/process.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/alteration_table.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/interpretation.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/manifest_helpers.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/nextgen_specific_genes.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/pre_filter_somatic_vcf.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/process_cnv.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/process_manifest.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/process_structural.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/process_vcf.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/types.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/resources/GRCh37_map.csv.gz +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/resources/GRCh38_map.csv.gz +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/coords_to_genes.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/ga4gh.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/gene_to_coords.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/lambda_client.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/open_maybe_gzipped.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/tar.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/shared_util/types.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/Variant.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/standardize.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/__init__.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/af_helpers.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/dp_helpers.py +0 -0
- {phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/read_write.py +0 -0
|
@@ -111,17 +111,23 @@ def get_hrd_status(genes) -> Optional[str]:
|
|
|
111
111
|
hrd_dict = {
|
|
112
112
|
"HRD Positive": "positive",
|
|
113
113
|
"HRD Not Detected": "negative",
|
|
114
|
+
"HRDsig Positive": "positive",
|
|
115
|
+
"HRDsig Not Detected": "negative",
|
|
116
|
+
"HRDsig Negative": "negative",
|
|
114
117
|
}
|
|
115
|
-
hrd_entry =
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
hrd_entry = next(
|
|
119
|
+
(
|
|
120
|
+
entry
|
|
121
|
+
for entry in genes.get("Gene", {})
|
|
122
|
+
if entry.get("Name", "") == "Homologous Recombination status"
|
|
123
|
+
or entry.get("Name", "") == "HRD signature"
|
|
124
|
+
),
|
|
125
|
+
None,
|
|
126
|
+
)
|
|
127
|
+
if not hrd_entry:
|
|
124
128
|
return None
|
|
129
|
+
hrd_val = hrd_entry.get("Alterations", {}).get("Alteration", {}).get("Name", "")
|
|
130
|
+
return hrd_dict.get(hrd_val, None)
|
|
125
131
|
|
|
126
132
|
|
|
127
133
|
def get_test_yml(
|
|
@@ -155,6 +161,14 @@ def get_test_yml(
|
|
|
155
161
|
(prop for prop in properties if prop.get("@key") == "ComprehensiveTumorFractionScore"),
|
|
156
162
|
{},
|
|
157
163
|
).get("value")
|
|
164
|
+
hrd_score = next(
|
|
165
|
+
(
|
|
166
|
+
prop
|
|
167
|
+
for prop in properties
|
|
168
|
+
if prop.get("@key") == "HomologousRecombinationDeficiencyScore"
|
|
169
|
+
),
|
|
170
|
+
{},
|
|
171
|
+
).get("value")
|
|
158
172
|
plasma_tumor_fraction_score = None
|
|
159
173
|
if plasma_tumor_fraction_score_value:
|
|
160
174
|
plasma_tumor_fraction_score = get_plasma_tumor_fraction_score_from_value(
|
|
@@ -325,5 +339,7 @@ def get_test_yml(
|
|
|
325
339
|
# add homologous recombination deficiency
|
|
326
340
|
if hrd_status:
|
|
327
341
|
yaml_file["hrdStatus"] = hrd_status
|
|
342
|
+
if hrd_score != None and is_number(hrd_score):
|
|
343
|
+
yaml_file["hrdScore"] = float(hrd_score)
|
|
328
344
|
|
|
329
345
|
return yaml_file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/nextgen_specific_genes.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/pre_filter_somatic_vcf.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/nextgen/util/process_structural.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/standardize.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/__init__.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/af_helpers.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/dp_helpers.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.17 → phc-ingestion-0.10.18}/ingestion/vcf_standardization/util/read_write.py
RENAMED
|
File without changes
|