phc-ingestion 0.10.3__tar.gz → 0.10.5__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.3 → phc-ingestion-0.10.5}/PKG-INFO +1 -1
- phc-ingestion-0.10.5/ingestion/nebula/constants.py +7 -0
- phc-ingestion-0.10.5/ingestion/nebula/manifest_assembler.py +181 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nebula/process.py +6 -3
- phc-ingestion-0.10.5/ingestion/shared_util/lambda_client.py +81 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/pyproject.toml +4 -1
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/PYPI.md +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/process.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/cnv.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/detect_genome_ref.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/hla.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/ihc.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/interpretation.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/json.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/metadata.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/specimen_details.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/structural.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/tests.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/tmb.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/tsv.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/caris/util/vcf.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/process.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/util/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/util/cnv.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/util/fnv.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/util/ga4gh.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/util/interpretation.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/foundation/util/vcf_etl.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/generic/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/generic/process.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/generic/utils.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nebula/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/process.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/alteration_table.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/interpretation.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/manifest_helpers.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/nextgen_specific_genes.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/pre_filter_somatic_vcf.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/process_cnv.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/process_manifest.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/process_structural.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/process_vcf.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/types.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/resources/GRCh37_map.csv.gz +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/resources/GRCh38_map.csv.gz +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/shared_util/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/shared_util/coords_to_genes.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/shared_util/ga4gh.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/shared_util/gene_to_coords.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/shared_util/open_maybe_gzipped.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/shared_util/tar.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/shared_util/types.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/Variant.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/standardize.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/__init__.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/af_helpers.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/dp_helpers.py +0 -0
- {phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/read_write.py +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
NEBULA_TEST_TYPE = "WGS-30x"
|
|
2
|
+
DATASET_SYSTEM = "http://lifeomic.com/fhir/dataset"
|
|
3
|
+
NEBULA_KIT_ID_SYSTEM = "http://lifeomic.com/fhir/nebula-kit-id"
|
|
4
|
+
BODY_SITE_SYSTEM = "http://lifeomic.com/fhir/sequence-body-site"
|
|
5
|
+
NEBULA_BODY_SITE = "Buccal Swab"
|
|
6
|
+
INDICATION_SYSTEM = "http://lifeomic.com/fhir/sequence-indication"
|
|
7
|
+
NEBULA_INDICATION = "Genetic Health Screening"
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
from typing import Optional, TypedDict, Any
|
|
2
|
+
from datetime import datetime
|
|
3
|
+
from ingestion.shared_util.lambda_client import LambdaClient
|
|
4
|
+
from ingestion.nebula.constants import (
|
|
5
|
+
DATASET_SYSTEM,
|
|
6
|
+
NEBULA_KIT_ID_SYSTEM,
|
|
7
|
+
BODY_SITE_SYSTEM,
|
|
8
|
+
INDICATION_SYSTEM,
|
|
9
|
+
NEBULA_BODY_SITE,
|
|
10
|
+
NEBULA_INDICATION,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class HumanName(TypedDict):
|
|
15
|
+
use: str
|
|
16
|
+
given: list[str]
|
|
17
|
+
family: str
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class Identifier(TypedDict):
|
|
21
|
+
system: str
|
|
22
|
+
value: str
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class Reference(TypedDict):
|
|
26
|
+
reference: str | None
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class Resource(TypedDict):
|
|
30
|
+
id: str | None
|
|
31
|
+
identifier: list[Identifier] | None
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class Patient(Resource):
|
|
35
|
+
name: list[HumanName] | None
|
|
36
|
+
gender: str | None
|
|
37
|
+
birthDate: str | None
|
|
38
|
+
managingOrganization: Reference | None
|
|
39
|
+
generalPractitioner: Reference | None
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class Organization(Resource):
|
|
43
|
+
name: str | None
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class Practitioner(Resource):
|
|
47
|
+
name: list[HumanName] | None
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class ManifestAssembler:
|
|
51
|
+
def __init__(self, ingestion_id: str, account_id: str, project_id: str, kit_id: str):
|
|
52
|
+
self.ingestion_id = ingestion_id
|
|
53
|
+
self.account_id = account_id
|
|
54
|
+
self.project_id = project_id
|
|
55
|
+
self.kit_id = kit_id
|
|
56
|
+
self.client = LambdaClient(
|
|
57
|
+
"patient-service",
|
|
58
|
+
{
|
|
59
|
+
"Content-Type": "application/json",
|
|
60
|
+
"LifeOmic-Account": self.account_id,
|
|
61
|
+
"LifeOmic-Correlation-Id": self.ingestion_id,
|
|
62
|
+
},
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
def __fetch_patient_by_kit_id(self) -> Optional[Patient]:
|
|
66
|
+
path = f"/{self.account_id}/dstu3/Patient"
|
|
67
|
+
params = {
|
|
68
|
+
"_tag": f"{DATASET_SYSTEM}|{self.project_id}",
|
|
69
|
+
"identifier": f"{NEBULA_KIT_ID_SYSTEM}|{self.kit_id}",
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
response = self.client.invoke(path, "get", None, params)
|
|
73
|
+
entries = response.get("entry", [])
|
|
74
|
+
patient = entries[0]["resource"] if len(entries) > 0 else None
|
|
75
|
+
|
|
76
|
+
return patient
|
|
77
|
+
|
|
78
|
+
def __fetch_resource_by_type_and_reference(
|
|
79
|
+
self,
|
|
80
|
+
resource_type: str,
|
|
81
|
+
reference: Reference | None,
|
|
82
|
+
) -> Any:
|
|
83
|
+
if not reference:
|
|
84
|
+
return None
|
|
85
|
+
|
|
86
|
+
resource_id = self.__extract_id_from_reference(reference)
|
|
87
|
+
path = f"/{self.account_id}/dstu3/{resource_type}/{resource_id}"
|
|
88
|
+
|
|
89
|
+
try:
|
|
90
|
+
return self.client.invoke(path, "get")
|
|
91
|
+
except RuntimeError:
|
|
92
|
+
return None
|
|
93
|
+
|
|
94
|
+
def __extract_identifier_from_resource(self, resource: Resource | None) -> str:
|
|
95
|
+
if not resource:
|
|
96
|
+
return ""
|
|
97
|
+
|
|
98
|
+
identifiers = resource.get("identifier", [])
|
|
99
|
+
return identifiers[0].get("value", "") if identifiers else ""
|
|
100
|
+
|
|
101
|
+
def __extract_id_from_reference(self, reference: Reference) -> str:
|
|
102
|
+
if not reference or not reference.get("reference"):
|
|
103
|
+
return ""
|
|
104
|
+
|
|
105
|
+
ref_string = reference.get("reference")
|
|
106
|
+
if not ref_string:
|
|
107
|
+
return ""
|
|
108
|
+
|
|
109
|
+
parts = ref_string.split("/")
|
|
110
|
+
return parts[1] if len(parts) > 1 else parts[0]
|
|
111
|
+
|
|
112
|
+
def __parse_human_name(self, human_name: list[HumanName] | None):
|
|
113
|
+
if not human_name or len(human_name) == 0:
|
|
114
|
+
return None
|
|
115
|
+
|
|
116
|
+
last_name = human_name[0].get("family", "")
|
|
117
|
+
first_name = human_name[0].get("given", [])[0]
|
|
118
|
+
|
|
119
|
+
return {
|
|
120
|
+
"lastName": last_name,
|
|
121
|
+
"firstName": first_name,
|
|
122
|
+
"fullName": f"{first_name} {last_name}",
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
def create_manifest(self) -> dict[str, Any]:
|
|
126
|
+
patient = self.__fetch_patient_by_kit_id()
|
|
127
|
+
|
|
128
|
+
if not patient:
|
|
129
|
+
raise RuntimeError(f"Patient with kit id {self.kit_id} not found")
|
|
130
|
+
patient_birth_date = patient.get("birthDate")
|
|
131
|
+
if not patient_birth_date:
|
|
132
|
+
raise RuntimeError("Patient birth date is a required to create a manifest")
|
|
133
|
+
|
|
134
|
+
organization: Organization | None = self.__fetch_resource_by_type_and_reference(
|
|
135
|
+
"Organization", patient.get("managingOrganization")
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
general_practitioner: Practitioner | None = self.__fetch_resource_by_type_and_reference(
|
|
139
|
+
"Practitioner", patient.get("generalPractitioner")
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
patient_info = self.__parse_human_name(patient["name"])
|
|
143
|
+
practitioner_info = self.__parse_human_name(
|
|
144
|
+
general_practitioner.get("name") if general_practitioner else None
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
return {
|
|
148
|
+
"name": "Nebula",
|
|
149
|
+
"indexedDate": datetime.now().strftime("%Y-%m-%d"),
|
|
150
|
+
"reference": "GRCh38",
|
|
151
|
+
"patientId": patient.get("id"),
|
|
152
|
+
"mrn": patient.get("id"),
|
|
153
|
+
"bodySite": NEBULA_BODY_SITE,
|
|
154
|
+
"bodySiteDisplay": NEBULA_BODY_SITE,
|
|
155
|
+
"bodySiteSystem": BODY_SITE_SYSTEM,
|
|
156
|
+
"indicationSystem": INDICATION_SYSTEM,
|
|
157
|
+
"indication": NEBULA_INDICATION,
|
|
158
|
+
"indicationDisplay": NEBULA_INDICATION,
|
|
159
|
+
"patientInfo": {
|
|
160
|
+
"lastName": patient_info.get("lastName"),
|
|
161
|
+
"dob": datetime.fromisoformat(patient_birth_date).strftime("%Y-%m-%d"),
|
|
162
|
+
"firstName": patient_info.get("firstName"),
|
|
163
|
+
"gender": patient["gender"],
|
|
164
|
+
},
|
|
165
|
+
**(
|
|
166
|
+
{
|
|
167
|
+
"medFacilName": organization.get("name"),
|
|
168
|
+
"medFacilID": self.__extract_identifier_from_resource(organization),
|
|
169
|
+
}
|
|
170
|
+
if organization
|
|
171
|
+
else {}
|
|
172
|
+
),
|
|
173
|
+
**(
|
|
174
|
+
{
|
|
175
|
+
"orderingMDName": practitioner_info.get("fullName"),
|
|
176
|
+
"orderingMDNPI": self.__extract_identifier_from_resource(general_practitioner),
|
|
177
|
+
}
|
|
178
|
+
if general_practitioner
|
|
179
|
+
else {}
|
|
180
|
+
),
|
|
181
|
+
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import os
|
|
2
2
|
|
|
3
|
+
from ingestion.nebula.constants import NEBULA_TEST_TYPE
|
|
3
4
|
from ingestion.vcf_standardization.standardize import standardize_vcf
|
|
4
5
|
from lifeomic_logging import scoped_logger
|
|
6
|
+
from ingestion.nebula.manifest_assembler import ManifestAssembler
|
|
5
7
|
|
|
6
8
|
|
|
7
|
-
def process(vcf_file, out_path, file_name, source_file_id):
|
|
9
|
+
def process(vcf_file, out_path, file_name, source_file_id, ingestion_id, account_id, project_id):
|
|
8
10
|
|
|
9
11
|
with scoped_logger(__name__) as log:
|
|
10
12
|
log.info(
|
|
11
13
|
f"Beginning Nebula ingestion for vcf_file: {vcf_file}, file_name: {file_name}, out_path: {out_path}, source_file_id: {source_file_id}"
|
|
12
14
|
)
|
|
13
15
|
|
|
14
|
-
manifest = {}
|
|
15
16
|
case_id = file_name
|
|
17
|
+
manifest_assembler = ManifestAssembler(ingestion_id, account_id, project_id, case_id)
|
|
18
|
+
manifest = manifest_assembler.create_manifest()
|
|
16
19
|
base_vcf_file = os.path.basename(vcf_file)
|
|
17
20
|
vcf_out = base_vcf_file.replace(".vcf", ".modified.vcf")
|
|
18
21
|
vcf_final = base_vcf_file.replace(".vcf", ".modified.nrm.filtered.vcf")
|
|
@@ -28,7 +31,7 @@ def process(vcf_file, out_path, file_name, source_file_id):
|
|
|
28
31
|
)
|
|
29
32
|
|
|
30
33
|
# Add to manifest
|
|
31
|
-
manifest["testType"] =
|
|
34
|
+
manifest["testType"] = NEBULA_TEST_TYPE
|
|
32
35
|
manifest["reportID"] = case_id
|
|
33
36
|
manifest["sourceFileId"] = source_file_id
|
|
34
37
|
manifest["resources"] = [{"fileName": f".lifeomic/vcf-ingest/{case_id}/{base_vcf_file}"}]
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import boto3
|
|
2
|
+
from mypy_boto3_lambda.type_defs import InvocationResponseTypeDef
|
|
3
|
+
import json
|
|
4
|
+
from typing import Optional, Any, cast
|
|
5
|
+
from urllib3.util.url import parse_url
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class LambdaHandler:
|
|
9
|
+
ACCEPTABLE_STATUS_CODES = [200, 201, 204]
|
|
10
|
+
|
|
11
|
+
def __init__(self) -> None:
|
|
12
|
+
return
|
|
13
|
+
|
|
14
|
+
def invoke(
|
|
15
|
+
self,
|
|
16
|
+
url: str,
|
|
17
|
+
header: dict,
|
|
18
|
+
method: str,
|
|
19
|
+
body: Optional[dict] = None,
|
|
20
|
+
query_params: Optional[dict] = None,
|
|
21
|
+
) -> Any:
|
|
22
|
+
parsed_url = parse_url(url)
|
|
23
|
+
payload = {
|
|
24
|
+
"headers": header,
|
|
25
|
+
"path": parsed_url.path,
|
|
26
|
+
"httpMethod": method.upper(),
|
|
27
|
+
"body": body,
|
|
28
|
+
"queryStringParameters": query_params,
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
client = boto3.client("lambda")
|
|
32
|
+
try:
|
|
33
|
+
raw_response = client.invoke(
|
|
34
|
+
FunctionName=cast(str, parsed_url.netloc),
|
|
35
|
+
InvocationType="RequestResponse",
|
|
36
|
+
Payload=json.dumps(payload),
|
|
37
|
+
)
|
|
38
|
+
return self.parse_response(raw_response)
|
|
39
|
+
|
|
40
|
+
except RuntimeError as e:
|
|
41
|
+
raise RuntimeError(f"Error invoking lambda for payload {str(payload)}") from e
|
|
42
|
+
|
|
43
|
+
def parse_response(self, response: InvocationResponseTypeDef) -> Any:
|
|
44
|
+
raw_payload = response["Payload"].read() if "Payload" in response else None
|
|
45
|
+
invocation_status_code = response.get("StatusCode", None)
|
|
46
|
+
if invocation_status_code not in self.ACCEPTABLE_STATUS_CODES:
|
|
47
|
+
raise RuntimeError(
|
|
48
|
+
f"Error invoking lambda. Invocation status code: {invocation_status_code}. Response: {str(raw_payload)}"
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
payload = json.loads(raw_payload)
|
|
52
|
+
lambda_status_code = payload.get("statusCode", None)
|
|
53
|
+
if lambda_status_code not in self.ACCEPTABLE_STATUS_CODES:
|
|
54
|
+
raise RuntimeError(
|
|
55
|
+
f"Error invoking lambda. Lambda status code: {lambda_status_code}. Response: {str(payload)}"
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
return json.loads(payload.get("body", "{}"))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class LambdaClient:
|
|
62
|
+
def __init__(self, host: str, default_header: dict):
|
|
63
|
+
self.host = host
|
|
64
|
+
self.default_header = default_header
|
|
65
|
+
self.handler = LambdaHandler()
|
|
66
|
+
|
|
67
|
+
def invoke(
|
|
68
|
+
self,
|
|
69
|
+
path: str,
|
|
70
|
+
method: str,
|
|
71
|
+
body: Optional[dict] = None,
|
|
72
|
+
query_params: Optional[dict] = None,
|
|
73
|
+
):
|
|
74
|
+
if path.startswith("/"):
|
|
75
|
+
path = path[1:]
|
|
76
|
+
endpoint = f"{self.host}/{path}"
|
|
77
|
+
try:
|
|
78
|
+
return self.handler.invoke(endpoint, self.default_header, method, body, query_params)
|
|
79
|
+
|
|
80
|
+
except RuntimeError as e:
|
|
81
|
+
raise RuntimeError(f"Error invoking API. Request error: {str(e)}") from e
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "phc-ingestion"
|
|
3
|
-
version = "0.10.
|
|
3
|
+
version = "0.10.5"
|
|
4
4
|
description = "Functions for LifeOmic PHC genomic ingestions"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "LifeOmic Development", email = "development@lifeomic.com" },
|
|
@@ -15,6 +15,9 @@ dependencies = [
|
|
|
15
15
|
"schema>=0.7.5",
|
|
16
16
|
"packaging>=23.1",
|
|
17
17
|
"numpy>=2.1.2",
|
|
18
|
+
"boto3>=1.28.34",
|
|
19
|
+
"urllib3>=1.26.16",
|
|
20
|
+
"mypy-boto3-lambda>=1.28.19",
|
|
18
21
|
]
|
|
19
22
|
requires-python = ">=3.11"
|
|
20
23
|
readme = "PYPI.md"
|
|
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.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/nextgen_specific_genes.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/nextgen/util/pre_filter_somatic_vcf.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/__init__.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/af_helpers.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/dp_helpers.py
RENAMED
|
File without changes
|
{phc-ingestion-0.10.3 → phc-ingestion-0.10.5}/ingestion/vcf_standardization/util/read_write.py
RENAMED
|
File without changes
|