diff --git a/tanagra-indexing-1.html b/tanagra-indexing-1.html new file mode 100644 index 000000000..cb80bc124 --- /dev/null +++ b/tanagra-indexing-1.html @@ -0,0 +1,1282 @@ + + +
+Code Version
+Git Tag 0.0.660-1-ge5571c11
+Git Hash e5571c116803162599435ba066387879d8adf86d
+Build 0.0.660-SNAPSHOT
+Command: tanagra index underlay --indexer-config=emerge/emerge_20240603
+Job Runner: PARALLEL
+Working Directory: /Users/subracr1/Projects/Tanagra/tanagra
+Total # jobs failed: 1
+Total # jobs run: 148
+Elapsed Time (min.sec): 93.00
+Entity/Group | +# Jobs Failed | +# Jobs Run | +
---|---|---|
bmi | +0 | +5 | +
cpt4 | +0 | +9 | +
cpt4Occurrence | +0 | +5 | +
drug | +0 | +6 | +
drugOccurrence | +0 | +5 | +
height | +0 | +5 | +
icd10cm | +0 | +9 | +
icd10cmOccurrence | +0 | +5 | +
icd10pcs | +0 | +9 | +
icd10pcsOccurrence | +0 | +5 | +
icd9 | +0 | +9 | +
icd9Occurrence | +0 | +5 | +
lab | +0 | +6 | +
labOccurrence | +0 | +5 | +
person | +0 | +5 | +
phenotype | +0 | +9 | +
phenotypeOccurrence | +0 | +5 | +
phewas | +0 | +9 | +
weight | +0 | +5 | +
bmiPerson | +0 | +1 | +
cpt4Person | +0 | +3 | +
drugPerson | +0 | +2 | +
heightPerson | +0 | +1 | +
icd10cmPerson | +0 | +3 | +
icd10pcsPerson | +0 | +3 | +
icd9Person | +0 | +3 | +
labPerson | +1 | +3 | +
phenotypePerson | +0 | +3 | +
phewasPerson | +0 | +4 | +
weightPerson | +0 | +1 | +
Entity/Group | +Job Name | +Elapsed time (min.sec) | +Thread | +Status | +
---|---|---|---|---|
bmi | +CreateEntityMain-ENT_bmi | +0.01 | +pool-27-thread-1 | +SUCCEEDED | +
bmi | +ValidateDataTypes-ENT_bmi | +0.02 | +pool-3-thread-1 | +SUCCEEDED | +
bmi | +ValidateUniqueIds-ENT_bmi | +0.04 | +pool-68-thread-1 | +SUCCEEDED | +
bmi | +WriteEntityAttributes-ENT_bmi | +0.07 | +pool-42-thread-1 | +SUCCEEDED | +
bmi | +WriteEntityLevelDisplayHints-ELDH_bmi | +0.37 | +pool-68-thread-2 | +SUCCEEDED | +
cpt4 | +CreateEntityMain-ENT_cpt4 | +0.01 | +pool-38-thread-1 | +SUCCEEDED | +
cpt4 | +ValidateDataTypes-ENT_cpt4 | +0.02 | +pool-11-thread-1 | +SUCCEEDED | +
cpt4 | +ValidateUniqueIds-ENT_cpt4 | +0.01 | +pool-63-thread-1 | +SUCCEEDED | +
cpt4 | +WriteAncestorDescendant-HAD_cpt4_default | +5.42 | +pool-78-thread-3 | +SUCCEEDED | +
cpt4 | +WriteChildParent-HCP_cpt4_default | +0.08 | +pool-78-thread-2 | +SUCCEEDED | +
cpt4 | +WriteEntityAttributes-ENT_cpt4 | +0.04 | +pool-53-thread-1 | +SUCCEEDED | +
cpt4 | +WriteEntityLevelDisplayHints-ELDH_cpt4 | +0.35 | +pool-63-thread-2 | +SUCCEEDED | +
cpt4 | +WriteNumChildrenAndPaths-ENT_cpt4 | +3.49 | +pool-1226-thread-1 | +SUCCEEDED | +
cpt4 | +WriteTextSearchField-ENT_cpt4 | +0.07 | +pool-78-thread-1 | +SUCCEEDED | +
cpt4Occurrence | +CreateEntityMain-ENT_cpt4Occurrence | +0.01 | +pool-24-thread-1 | +SUCCEEDED | +
cpt4Occurrence | +ValidateDataTypes-ENT_cpt4Occurrence | +0.02 | +pool-15-thread-1 | +SUCCEEDED | +
cpt4Occurrence | +ValidateUniqueIds-ENT_cpt4Occurrence | +0.06 | +pool-77-thread-1 | +SUCCEEDED | +
cpt4Occurrence | +WriteEntityAttributes-ENT_cpt4Occurrence | +0.22 | +pool-51-thread-1 | +SUCCEEDED | +
cpt4Occurrence | +WriteEntityLevelDisplayHints-ELDH_cpt4Occurrence | +0.35 | +pool-77-thread-2 | +SUCCEEDED | +
drug | +CreateEntityMain-ENT_drug | +0.01 | +pool-26-thread-1 | +SUCCEEDED | +
drug | +ValidateDataTypes-ENT_drug | +0.02 | +pool-19-thread-1 | +SUCCEEDED | +
drug | +ValidateUniqueIds-ENT_drug | +0.01 | +pool-61-thread-1 | +SUCCEEDED | +
drug | +WriteEntityAttributes-ENT_drug | +0.04 | +pool-40-thread-1 | +SUCCEEDED | +
drug | +WriteEntityLevelDisplayHints-ELDH_drug | +0.36 | +pool-61-thread-2 | +SUCCEEDED | +
drug | +WriteTextSearchField-ENT_drug | +0.06 | +pool-80-thread-1 | +SUCCEEDED | +
drugOccurrence | +CreateEntityMain-ENT_drugOccurrence | +0.01 | +pool-25-thread-1 | +SUCCEEDED | +
drugOccurrence | +ValidateDataTypes-ENT_drugOccurrence | +0.02 | +pool-17-thread-1 | +SUCCEEDED | +
drugOccurrence | +ValidateUniqueIds-ENT_drugOccurrence | +0.03 | +pool-67-thread-1 | +SUCCEEDED | +
drugOccurrence | +WriteEntityAttributes-ENT_drugOccurrence | +0.06 | +pool-49-thread-1 | +SUCCEEDED | +
drugOccurrence | +WriteEntityLevelDisplayHints-ELDH_drugOccurrence | +0.35 | +pool-67-thread-2 | +SUCCEEDED | +
height | +CreateEntityMain-ENT_height | +0.01 | +pool-22-thread-1 | +SUCCEEDED | +
height | +ValidateDataTypes-ENT_height | +0.02 | +pool-7-thread-1 | +SUCCEEDED | +
height | +ValidateUniqueIds-ENT_height | +0.04 | +pool-71-thread-1 | +SUCCEEDED | +
height | +WriteEntityAttributes-ENT_height | +0.07 | +pool-50-thread-1 | +SUCCEEDED | +
height | +WriteEntityLevelDisplayHints-ELDH_height | +0.36 | +pool-71-thread-2 | +SUCCEEDED | +
icd10cm | +CreateEntityMain-ENT_icd10cm | +0.01 | +pool-39-thread-1 | +SUCCEEDED | +
icd10cm | +ValidateDataTypes-ENT_icd10cm | +0.02 | +pool-8-thread-1 | +SUCCEEDED | +
icd10cm | +ValidateUniqueIds-ENT_icd10cm | +0.01 | +pool-70-thread-1 | +SUCCEEDED | +
icd10cm | +WriteAncestorDescendant-HAD_icd10cm_default | +5.51 | +pool-96-thread-3 | +SUCCEEDED | +
icd10cm | +WriteChildParent-HCP_icd10cm_default | +0.07 | +pool-96-thread-2 | +SUCCEEDED | +
icd10cm | +WriteEntityAttributes-ENT_icd10cm | +0.07 | +pool-48-thread-1 | +SUCCEEDED | +
icd10cm | +WriteEntityLevelDisplayHints-ELDH_icd10cm | +0.36 | +pool-70-thread-2 | +SUCCEEDED | +
icd10cm | +WriteNumChildrenAndPaths-ENT_icd10cm | +4.05 | +pool-1245-thread-1 | +SUCCEEDED | +
icd10cm | +WriteTextSearchField-ENT_icd10cm | +0.08 | +pool-96-thread-1 | +SUCCEEDED | +
icd10cmOccurrence | +CreateEntityMain-ENT_icd10cmOccurrence | +0.01 | +pool-32-thread-1 | +SUCCEEDED | +
icd10cmOccurrence | +ValidateDataTypes-ENT_icd10cmOccurrence | +0.02 | +pool-2-thread-1 | +SUCCEEDED | +
icd10cmOccurrence | +ValidateUniqueIds-ENT_icd10cmOccurrence | +0.05 | +pool-74-thread-1 | +SUCCEEDED | +
icd10cmOccurrence | +WriteEntityAttributes-ENT_icd10cmOccurrence | +0.07 | +pool-52-thread-1 | +SUCCEEDED | +
icd10cmOccurrence | +WriteEntityLevelDisplayHints-ELDH_icd10cmOccurrence | +0.35 | +pool-74-thread-2 | +SUCCEEDED | +
icd10pcs | +CreateEntityMain-ENT_icd10pcs | +0.01 | +pool-31-thread-1 | +SUCCEEDED | +
icd10pcs | +ValidateDataTypes-ENT_icd10pcs | +0.02 | +pool-20-thread-1 | +SUCCEEDED | +
icd10pcs | +ValidateUniqueIds-ENT_icd10pcs | +0.01 | +pool-75-thread-1 | +SUCCEEDED | +
icd10pcs | +WriteAncestorDescendant-HAD_icd10pcs_default | +6.23 | +pool-97-thread-3 | +SUCCEEDED | +
icd10pcs | +WriteChildParent-HCP_icd10pcs_default | +0.10 | +pool-97-thread-2 | +SUCCEEDED | +
icd10pcs | +WriteEntityAttributes-ENT_icd10pcs | +0.08 | +pool-58-thread-1 | +SUCCEEDED | +
icd10pcs | +WriteEntityLevelDisplayHints-ELDH_icd10pcs | +0.35 | +pool-75-thread-2 | +SUCCEEDED | +
icd10pcs | +WriteNumChildrenAndPaths-ENT_icd10pcs | +4.25 | +pool-1288-thread-1 | +SUCCEEDED | +
icd10pcs | +WriteTextSearchField-ENT_icd10pcs | +0.09 | +pool-97-thread-1 | +SUCCEEDED | +
icd10pcsOccurrence | +CreateEntityMain-ENT_icd10pcsOccurrence | +0.01 | +pool-33-thread-1 | +SUCCEEDED | +
icd10pcsOccurrence | +ValidateDataTypes-ENT_icd10pcsOccurrence | +0.02 | +pool-12-thread-1 | +SUCCEEDED | +
icd10pcsOccurrence | +ValidateUniqueIds-ENT_icd10pcsOccurrence | +0.01 | +pool-66-thread-1 | +SUCCEEDED | +
icd10pcsOccurrence | +WriteEntityAttributes-ENT_icd10pcsOccurrence | +0.05 | +pool-56-thread-1 | +SUCCEEDED | +
icd10pcsOccurrence | +WriteEntityLevelDisplayHints-ELDH_icd10pcsOccurrence | +0.35 | +pool-66-thread-2 | +SUCCEEDED | +
icd9 | +CreateEntityMain-ENT_icd9 | +0.01 | +pool-21-thread-1 | +SUCCEEDED | +
icd9 | +ValidateDataTypes-ENT_icd9 | +0.02 | +pool-5-thread-1 | +SUCCEEDED | +
icd9 | +ValidateUniqueIds-ENT_icd9 | +0.01 | +pool-65-thread-1 | +SUCCEEDED | +
icd9 | +WriteAncestorDescendant-HAD_icd9_default | +5.51 | +pool-83-thread-3 | +SUCCEEDED | +
icd9 | +WriteChildParent-HCP_icd9_default | +0.04 | +pool-83-thread-2 | +SUCCEEDED | +
icd9 | +WriteEntityAttributes-ENT_icd9 | +0.05 | +pool-57-thread-1 | +SUCCEEDED | +
icd9 | +WriteEntityLevelDisplayHints-ELDH_icd9 | +0.35 | +pool-65-thread-2 | +SUCCEEDED | +
icd9 | +WriteNumChildrenAndPaths-ENT_icd9 | +4.17 | +pool-1234-thread-1 | +SUCCEEDED | +
icd9 | +WriteTextSearchField-ENT_icd9 | +0.07 | +pool-83-thread-1 | +SUCCEEDED | +
icd9Occurrence | +CreateEntityMain-ENT_icd9Occurrence | +0.01 | +pool-28-thread-1 | +SUCCEEDED | +
icd9Occurrence | +ValidateDataTypes-ENT_icd9Occurrence | +0.02 | +pool-4-thread-1 | +SUCCEEDED | +
icd9Occurrence | +ValidateUniqueIds-ENT_icd9Occurrence | +0.05 | +pool-76-thread-1 | +SUCCEEDED | +
icd9Occurrence | +WriteEntityAttributes-ENT_icd9Occurrence | +0.09 | +pool-54-thread-1 | +SUCCEEDED | +
icd9Occurrence | +WriteEntityLevelDisplayHints-ELDH_icd9Occurrence | +0.35 | +pool-76-thread-2 | +SUCCEEDED | +
lab | +CreateEntityMain-ENT_lab | +0.01 | +pool-29-thread-1 | +SUCCEEDED | +
lab | +ValidateDataTypes-ENT_lab | +0.02 | +pool-16-thread-1 | +SUCCEEDED | +
lab | +ValidateUniqueIds-ENT_lab | +0.01 | +pool-60-thread-1 | +SUCCEEDED | +
lab | +WriteEntityAttributes-ENT_lab | +0.04 | +pool-41-thread-1 | +SUCCEEDED | +
lab | +WriteEntityLevelDisplayHints-ELDH_lab | +0.36 | +pool-60-thread-2 | +SUCCEEDED | +
lab | +WriteTextSearchField-ENT_lab | +0.06 | +pool-79-thread-1 | +SUCCEEDED | +
labOccurrence | +CreateEntityMain-ENT_labOccurrence | +0.01 | +pool-35-thread-1 | +SUCCEEDED | +
labOccurrence | +ValidateDataTypes-ENT_labOccurrence | +0.02 | +pool-6-thread-1 | +SUCCEEDED | +
labOccurrence | +ValidateUniqueIds-ENT_labOccurrence | +0.06 | +pool-72-thread-1 | +SUCCEEDED | +
labOccurrence | +WriteEntityAttributes-ENT_labOccurrence | +0.07 | +pool-45-thread-1 | +SUCCEEDED | +
labOccurrence | +WriteEntityLevelDisplayHints-ELDH_labOccurrence | +0.35 | +pool-72-thread-2 | +SUCCEEDED | +
person | +CreateEntityMain-ENT_person | +0.01 | +pool-34-thread-1 | +SUCCEEDED | +
person | +ValidateDataTypes-ENT_person | +0.02 | +pool-18-thread-1 | +SUCCEEDED | +
person | +ValidateUniqueIds-ENT_person | +0.01 | +pool-64-thread-1 | +SUCCEEDED | +
person | +WriteEntityAttributes-ENT_person | +0.04 | +pool-44-thread-1 | +SUCCEEDED | +
person | +WriteEntityLevelDisplayHints-ELDH_person | +0.40 | +pool-64-thread-2 | +SUCCEEDED | +
phenotype | +CreateEntityMain-ENT_phenotype | +0.01 | +pool-37-thread-1 | +SUCCEEDED | +
phenotype | +ValidateDataTypes-ENT_phenotype | +0.02 | +pool-9-thread-1 | +SUCCEEDED | +
phenotype | +ValidateUniqueIds-ENT_phenotype | +0.01 | +pool-62-thread-1 | +SUCCEEDED | +
phenotype | +WriteAncestorDescendant-HAD_phenotype_default | +5.38 | +pool-82-thread-3 | +SUCCEEDED | +
phenotype | +WriteChildParent-HCP_phenotype_default | +0.04 | +pool-82-thread-2 | +SUCCEEDED | +
phenotype | +WriteEntityAttributes-ENT_phenotype | +0.04 | +pool-47-thread-1 | +SUCCEEDED | +
phenotype | +WriteEntityLevelDisplayHints-ELDH_phenotype | +0.36 | +pool-62-thread-2 | +SUCCEEDED | +
phenotype | +WriteNumChildrenAndPaths-ENT_phenotype | +3.56 | +pool-1222-thread-1 | +SUCCEEDED | +
phenotype | +WriteTextSearchField-ENT_phenotype | +0.06 | +pool-82-thread-1 | +SUCCEEDED | +
phenotypeOccurrence | +CreateEntityMain-ENT_phenotypeOccurrence | +0.01 | +pool-23-thread-1 | +SUCCEEDED | +
phenotypeOccurrence | +ValidateDataTypes-ENT_phenotypeOccurrence | +0.02 | +pool-14-thread-1 | +SUCCEEDED | +
phenotypeOccurrence | +ValidateUniqueIds-ENT_phenotypeOccurrence | +0.01 | +pool-73-thread-1 | +SUCCEEDED | +
phenotypeOccurrence | +WriteEntityAttributes-ENT_phenotypeOccurrence | +0.07 | +pool-55-thread-1 | +SUCCEEDED | +
phenotypeOccurrence | +WriteEntityLevelDisplayHints-ELDH_phenotypeOccurrence | +0.35 | +pool-73-thread-2 | +SUCCEEDED | +
phewas | +CreateEntityMain-ENT_phewas | +0.01 | +pool-30-thread-1 | +SUCCEEDED | +
phewas | +ValidateDataTypes-ENT_phewas | +0.02 | +pool-10-thread-1 | +SUCCEEDED | +
phewas | +ValidateUniqueIds-ENT_phewas | +0.01 | +pool-59-thread-1 | +SUCCEEDED | +
phewas | +WriteAncestorDescendant-HAD_phewas_default | +5.51 | +pool-81-thread-3 | +SUCCEEDED | +
phewas | +WriteChildParent-HCP_phewas_default | +0.03 | +pool-81-thread-2 | +SUCCEEDED | +
phewas | +WriteEntityAttributes-ENT_phewas | +0.04 | +pool-43-thread-1 | +SUCCEEDED | +
phewas | +WriteEntityLevelDisplayHints-ELDH_phewas | +0.36 | +pool-59-thread-2 | +SUCCEEDED | +
phewas | +WriteNumChildrenAndPaths-ENT_phewas | +4.03 | +pool-1236-thread-1 | +SUCCEEDED | +
phewas | +WriteTextSearchField-ENT_phewas | +0.06 | +pool-81-thread-1 | +SUCCEEDED | +
weight | +CreateEntityMain-ENT_weight | +0.01 | +pool-36-thread-1 | +SUCCEEDED | +
weight | +ValidateDataTypes-ENT_weight | +0.02 | +pool-13-thread-1 | +SUCCEEDED | +
weight | +ValidateUniqueIds-ENT_weight | +0.05 | +pool-69-thread-1 | +SUCCEEDED | +
weight | +WriteEntityAttributes-ENT_weight | +0.07 | +pool-46-thread-1 | +SUCCEEDED | +
weight | +WriteEntityLevelDisplayHints-ELDH_weight | +0.37 | +pool-69-thread-2 | +SUCCEEDED | +
bmiPerson | +WriteRollupCounts-bmiPerson-ENT_person-NOHIER | +7.08 | +pool-1305-thread-1 | +SUCCEEDED | +
cpt4Person | +WriteRelationshipIntermediateTable-RIDS_cpt4Person_person_cpt4 | +0.36 | +pool-1308-thread-1 | +SUCCEEDED | +
cpt4Person | +WriteRollupCounts-cpt4Person-ENT_cpt4-NOHIER | +6.30 | +pool-1439-thread-1 | +SUCCEEDED | +
cpt4Person | +WriteRollupCounts-cpt4Person-ENT_cpt4-default | +6.33 | +pool-1439-thread-2 | +SUCCEEDED | +
drugPerson | +WriteRelationshipIntermediateTable-RIDS_drugPerson_person_drug | +0.22 | +pool-1313-thread-1 | +SUCCEEDED | +
drugPerson | +WriteRollupCounts-drugPerson-ENT_drug-NOHIER | +6.55 | +pool-1361-thread-1 | +SUCCEEDED | +
heightPerson | +WriteRollupCounts-heightPerson-ENT_person-NOHIER | +7.11 | +pool-1303-thread-1 | +SUCCEEDED | +
icd10cmPerson | +WriteRelationshipIntermediateTable-RIDS_icd10cmPerson_person_icd10cm | +0.29 | +pool-1306-thread-1 | +SUCCEEDED | +
icd10cmPerson | +WriteRollupCounts-icd10cmPerson-ENT_icd10cm-NOHIER | +6.43 | +pool-1397-thread-1 | +SUCCEEDED | +
icd10cmPerson | +WriteRollupCounts-icd10cmPerson-ENT_icd10cm-default | +6.38 | +pool-1397-thread-2 | +SUCCEEDED | +
icd10pcsPerson | +WriteRelationshipIntermediateTable-RIDS_icd10pcsPerson_person_icd10pcs | +0.06 | +pool-1307-thread-1 | +SUCCEEDED | +
icd10pcsPerson | +WriteRollupCounts-icd10pcsPerson-ENT_icd10pcs-NOHIER | +7.03 | +pool-1323-thread-1 | +SUCCEEDED | +
icd10pcsPerson | +WriteRollupCounts-icd10pcsPerson-ENT_icd10pcs-default | +7.15 | +pool-1323-thread-2 | +SUCCEEDED | +
icd9Person | +WriteRelationshipIntermediateTable-RIDS_icd9Person_person_icd9 | +0.33 | +pool-1310-thread-1 | +SUCCEEDED | +
icd9Person | +WriteRollupCounts-icd9Person-ENT_icd9-NOHIER | +6.34 | +pool-1413-thread-1 | +SUCCEEDED | +
icd9Person | +WriteRollupCounts-icd9Person-ENT_icd9-default | +6.36 | +pool-1413-thread-2 | +SUCCEEDED | +
labPerson | +WriteInstanceLevelDisplayHints-ILDH_labOccurrence_lab | +6.00 | +pool-1378-thread-2 | +FAILED | +
labPerson | +WriteRelationshipIntermediateTable-RIDS_labPerson_person_lab | +0.26 | +pool-1311-thread-1 | +SUCCEEDED | +
labPerson | +WriteRollupCounts-labPerson-ENT_lab-NOHIER | +6.40 | +pool-1378-thread-1 | +SUCCEEDED | +
phenotypePerson | +WriteRelationshipIntermediateTable-RIDS_phenotypePerson_person_phenotype | +0.23 | +pool-1309-thread-1 | +SUCCEEDED | +
phenotypePerson | +WriteRollupCounts-phenotypePerson-ENT_phenotype-NOHIER | +6.43 | +pool-1362-thread-1 | +SUCCEEDED | +
phenotypePerson | +WriteRollupCounts-phenotypePerson-ENT_phenotype-default | +6.45 | +pool-1362-thread-2 | +SUCCEEDED | +
phewasPerson | +WriteRelationshipIntermediateTable-RIDS_phewasPerson_icd9Occurrence_phewas | +0.35 | +pool-1312-thread-1 | +SUCCEEDED | +
phewasPerson | +WriteRelationshipIntermediateTable-RIDS_phewasPerson_person_phewas | +0.26 | +pool-1312-thread-2 | +SUCCEEDED | +
phewasPerson | +WriteRollupCounts-phewasPerson-ENT_phewas-NOHIER | +6.33 | +pool-1435-thread-1 | +SUCCEEDED | +
phewasPerson | +WriteRollupCounts-phewasPerson-ENT_phewas-default | +6.31 | +pool-1435-thread-2 | +SUCCEEDED | +
weightPerson | +WriteRollupCounts-weightPerson-ENT_person-NOHIER | +7.24 | +pool-1304-thread-1 | +SUCCEEDED | +
java.lang.RuntimeException: java.net.UnknownHostException: dataflow.googleapis.com + at org.apache.beam.runners.dataflow.DataflowPipelineJob.waitUntilFinish(DataflowPipelineJob.java:220) + at org.apache.beam.runners.dataflow.DataflowPipelineJob.waitUntilFinish(DataflowPipelineJob.java:206) + at bio.terra.tanagra.indexing.job.dataflow.WriteInstanceLevelDisplayHints.run(WriteInstanceLevelDisplayHints.java:153) + at bio.terra.tanagra.indexing.jobexecutor.JobThread.execute(JobThread.java:59) + at bio.terra.tanagra.indexing.jobexecutor.JobThread.call(JobThread.java:35) + at bio.terra.tanagra.indexing.jobexecutor.JobThread.call(JobThread.java:9) + at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) + at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) + at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: java.net.UnknownHostException: dataflow.googleapis.com + at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572) + at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) + at java.base/java.net.Socket.connect(Socket.java:633) + at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) + at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178) + at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533) + at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638) + at java.base/sun.net.www.protocol.https.HttpsClient.+ + diff --git a/underlay/src/main/resources/config/criteria/sd/criteriaselector/agdGenotypeResult/agdGenotypeResult.json b/underlay/src/main/resources/config/criteria/sd/criteriaselector/agdGenotypeResult/agdGenotypeResult.json new file mode 100644 index 000000000..81f0e0426 --- /dev/null +++ b/underlay/src/main/resources/config/criteria/sd/criteriaselector/agdGenotypeResult/agdGenotypeResult.json @@ -0,0 +1,3 @@ +{ + "attribute": "has_agd_genotype_result" +} diff --git a/underlay/src/main/resources/config/criteria/sd/criteriaselector/agdGenotypeResult/selector.json b/underlay/src/main/resources/config/criteria/sd/criteriaselector/agdGenotypeResult/selector.json new file mode 100644 index 000000000..e59676b76 --- /dev/null +++ b/underlay/src/main/resources/config/criteria/sd/criteriaselector/agdGenotypeResult/selector.json @@ -0,0 +1,15 @@ +{ + "name": "agdGenotypeResult", + "displayName": "AGD Data Availability", + "isEnabledForCohorts": true, + "isEnabledForDataFeatureSets": false, + "display": { + "category": "BioVU", + "tags": null + }, + "filterBuilder": "core.PrimaryEntityFilterBuilder", + "plugin": "attribute", + "pluginConfig": null, + "pluginConfigFile": "agdGenotypeResult.json", + "modifiers": null +} diff --git a/underlay/src/main/resources/config/criteria/sd/criteriaselector/deceased/deceased.json b/underlay/src/main/resources/config/criteria/sd/criteriaselector/deceased/deceased.json new file mode 100644 index 000000000..754c5e68a --- /dev/null +++ b/underlay/src/main/resources/config/criteria/sd/criteriaselector/deceased/deceased.json @@ -0,0 +1,3 @@ +{ + "attribute": "is_deceased" +} diff --git a/underlay/src/main/resources/config/criteria/sd/criteriaselector/deceased/selector.json b/underlay/src/main/resources/config/criteria/sd/criteriaselector/deceased/selector.json new file mode 100644 index 000000000..f198b5260 --- /dev/null +++ b/underlay/src/main/resources/config/criteria/sd/criteriaselector/deceased/selector.json @@ -0,0 +1,15 @@ +{ + "name": "tanagra-deceased", + "displayName": "Deceased", + "isEnabledForCohorts": true, + "isEnabledForDataFeatureSets": false, + "display": { + "category": "Demographics", + "tags": null + }, + "filterBuilder": "core.PrimaryEntityFilterBuilder", + "plugin": "attribute", + "pluginConfig": null, + "pluginConfigFile": "deceased.json", + "modifiers": null +} diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/condition/all.sql b/underlay/src/main/resources/config/datamapping/sd/entity/condition/all.sql new file mode 100644 index 000000000..ffe331b95 --- /dev/null +++ b/underlay/src/main/resources/config/datamapping/sd/entity/condition/all.sql @@ -0,0 +1,10 @@ +SELECT + concept_id, + concept_name, + vocabulary_id, + concept_code, + (CASE WHEN standard_concept IS NULL THEN 'Source' WHEN standard_concept = 'S' THEN 'Standard' ELSE 'Unknown' END) AS standard_concept + +FROM `${omopDataset}.concept` + +WHERE domain_id = 'Condition' diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/condition/childParent.sql b/underlay/src/main/resources/config/datamapping/sd/entity/condition/childParent.sql new file mode 100644 index 000000000..3d23a32d5 --- /dev/null +++ b/underlay/src/main/resources/config/datamapping/sd/entity/condition/childParent.sql @@ -0,0 +1,12 @@ +SELECT + cr.concept_id_1 AS parent, + cr.concept_id_2 AS child, +FROM `${omopDataset}.concept_relationship` cr +JOIN `${omopDataset}.concept` c1 ON c1.concept_id = cr.concept_id_1 +JOIN `${omopDataset}.concept` c2 ON c2.concept_id = cr.concept_id_2 +WHERE + cr.relationship_id = 'Subsumes' + AND c1.domain_id = c2.domain_id + AND c2.domain_id = 'Condition' + AND c1.vocabulary_id = c2.vocabulary_id + AND c2.vocabulary_id = 'SNOMED' diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/condition/entity.json b/underlay/src/main/resources/config/datamapping/sd/entity/condition/entity.json new file mode 100644 index 000000000..214d60b94 --- /dev/null +++ b/underlay/src/main/resources/config/datamapping/sd/entity/condition/entity.json @@ -0,0 +1,25 @@ +{ + "name": "condition", + "allInstancesSqlFile": "all.sql", + "attributes": [ + { "name": "id", "dataType": "INT64", "valueFieldName": "concept_id" }, + { "name": "name", "dataType": "STRING", "valueFieldName": "concept_name" }, + { "name": "vocabulary", "dataType": "STRING", "valueFieldName": "vocabulary_id", "isComputeDisplayHint": true }, + { "name": "standard_concept", "dataType": "STRING", "isComputeDisplayHint": true }, + { "name": "concept_code", "dataType": "STRING" } + ], + "idAttribute": "id", + "textSearch": { + "attributes": [ "id", "name", "concept_code" ] + }, + "hierarchies": [ + { + "childParentIdPairsSqlFile": "childParent.sql", + "childIdFieldName": "child", + "parentIdFieldName": "parent", + "rootNodeIds": [ 441840 ], + "maxDepth": 20, + "keepOrphanNodes": false + } + ] +} diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/conditionOccurrence/all.sql b/underlay/src/main/resources/config/datamapping/sd/entity/conditionOccurrence/all.sql index 064e09e3b..2710ad386 100644 --- a/underlay/src/main/resources/config/datamapping/sd/entity/conditionOccurrence/all.sql +++ b/underlay/src/main/resources/config/datamapping/sd/entity/conditionOccurrence/all.sql @@ -1,4 +1,4 @@ -SELECT +SELECT DISTINCT co.condition_occurrence_id, co.person_id, p.person_source_value, diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/measurementOccurrence/all.sql b/underlay/src/main/resources/config/datamapping/sd/entity/measurementOccurrence/all.sql index af2ed5bf9..207f5f607 100644 --- a/underlay/src/main/resources/config/datamapping/sd/entity/measurementOccurrence/all.sql +++ b/underlay/src/main/resources/config/datamapping/sd/entity/measurementOccurrence/all.sql @@ -1,4 +1,4 @@ -SELECT +SELECT DISTINCT mo.measurement_id, mo.person_id, p.person_source_value, diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/observationOccurrence/all.sql b/underlay/src/main/resources/config/datamapping/sd/entity/observationOccurrence/all.sql index 168a1bdfc..cdcb8e962 100644 --- a/underlay/src/main/resources/config/datamapping/sd/entity/observationOccurrence/all.sql +++ b/underlay/src/main/resources/config/datamapping/sd/entity/observationOccurrence/all.sql @@ -1,4 +1,4 @@ -SELECT +SELECT DISTINCT o.observation_id, o.person_id, p.person_source_value, diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/person/all.sql b/underlay/src/main/resources/config/datamapping/sd/entity/person/all.sql index f86c5a7e9..995a5d585 100644 --- a/underlay/src/main/resources/config/datamapping/sd/entity/person/all.sql +++ b/underlay/src/main/resources/config/datamapping/sd/entity/person/all.sql @@ -15,7 +15,11 @@ SELECT CASE WHEN x.nonshippable_ind = '1' THEN true WHEN x.nonshippable_ind = '0' THEN false ELSE null END AS biovu_sample_is_nonshippable, CASE WHEN x.plasma_ind = '1' THEN true WHEN x.plasma_ind = '0' THEN false ELSE null END AS biovu_sample_has_plasma, EXISTS - (SELECT 1 FROM `${omopDataset}.x_agd_queue` aq WHERE p.person_id = aq.person_id) AS has_agd_queue + (SELECT 1 FROM `${omopDataset}.x_agd_queue` aq WHERE p.person_id = aq.person_id) AS has_agd_queue, + EXISTS + (SELECT 1 FROM `${omopDataset}.genotype_result` gr WHERE p.person_id = gr.person_id + AND gr.assay_name = 'agd whole genome sequencing' ) AS has_agd_genotype_result, + CASE WHEN d.death_date is null THEN true ELSE false END AS is_deceased FROM `${omopDataset}.person` p @@ -28,6 +32,10 @@ ON rc.concept_id = p.race_source_concept_id LEFT JOIN `${omopDataset}.concept` ec ON ec.concept_id = p.ethnicity_concept_id +LEFT JOIN (SELECT person_id, max(death_date) as death_date + FROM `${omopDataset}.death` GROUP BY person_id) d + ON (p.person_id = d.person_id) + LEFT OUTER JOIN ( /* Get rid of duplicate rows in x_biovu_sample_status. For example, person diff --git a/underlay/src/main/resources/config/datamapping/sd/entity/person/entity.json b/underlay/src/main/resources/config/datamapping/sd/entity/person/entity.json index f27e4a026..045f2eab4 100644 --- a/underlay/src/main/resources/config/datamapping/sd/entity/person/entity.json +++ b/underlay/src/main/resources/config/datamapping/sd/entity/person/entity.json @@ -17,7 +17,9 @@ { "name": "biovu_sample_is_compromised", "dataType": "BOOLEAN" }, { "name": "biovu_sample_is_nonshippable", "dataType": "BOOLEAN" }, { "name": "biovu_sample_has_plasma", "dataType": "BOOLEAN" }, - { "name": "has_agd_queue", "dataType": "BOOLEAN" } + { "name": "has_agd_queue", "dataType": "BOOLEAN" }, + { "name": "has_agd_genotype_result", "dataType": "BOOLEAN" }, + { "name": "is_deceased", "dataType": "BOOLEAN" } ], "idAttribute": "id", "optimizeGroupByAttributes": [ "gender", "race", "age" ] diff --git a/underlay/src/main/resources/config/indexer/emerge/emerge_20240603.json b/underlay/src/main/resources/config/indexer/emerge/emerge_20240603.json index cbeb498a6..5fa9c4c05 100644 --- a/underlay/src/main/resources/config/indexer/emerge/emerge_20240603.json +++ b/underlay/src/main/resources/config/indexer/emerge/emerge_20240603.json @@ -20,6 +20,7 @@ "serviceAccountEmail": "emerge-dev-dataflow-indexer@vumc-emerge-dev.iam.gserviceaccount.com", "gcsTempDirectory": "gs://dataflow-indexing-emerge-dev/temp/", "workerMachineType": "n1-standard-4", - "usePublicIps": false + "usePublicIps": false, + "vpcSubnetworkName": "default-dataflow" } } diff --git a/underlay/src/main/resources/config/indexer/sd/sd020240831.json b/underlay/src/main/resources/config/indexer/sd/sd020240831.json index 1332922fc..9ad8fcf47 100644 --- a/underlay/src/main/resources/config/indexer/sd/sd020240831.json +++ b/underlay/src/main/resources/config/indexer/sd/sd020240831.json @@ -11,7 +11,7 @@ }, "indexData": { "projectId": "vumc-sd-dev", - "datasetId": "indexed_sd_20240831_1" + "datasetId": "indexed_sd_20240831_2" }, "queryProjectId": "vumc-sd-dev", "dataLocation": "us-central1" @@ -20,6 +20,7 @@ "serviceAccountEmail": "sd-dev-dataflow-indexer@vumc-sd-dev.iam.gserviceaccount.com", "gcsTempDirectory": "gs://dataflow-indexing-sd-dev/temp/", "workerMachineType": "n1-standard-4", - "usePublicIps": false + "usePublicIps": false, + "vpcSubnetworkName": "us-central1" } } diff --git a/underlay/src/main/resources/config/service/sd/sd_local.json b/underlay/src/main/resources/config/service/sd/sd_local.json index 3759e5220..04b4d205b 100644 --- a/underlay/src/main/resources/config/service/sd/sd_local.json +++ b/underlay/src/main/resources/config/service/sd/sd_local.json @@ -2,16 +2,16 @@ "underlay": "sd", "bigQuery": { "sourceData": { - "projectId": "vumc-sd-test", - "datasetId": "sd_20230831", + "projectId": "vumc-sd-dev", + "datasetId": "sd_20240831", "sqlSubstitutions": { - "omopDataset": "vumc-sd-test.sd_20230831", - "staticTablesDataset": "vumc-sd-test.sd_20230831" + "omopDataset": "vumc-sd-test.sd_20240831", + "staticTablesDataset": "vumc-sd-test.sd_20240831" } }, "indexData": { - "projectId": "vumc-sd-test", - "datasetId": "indexed_sd_20230831" + "projectId": "vumc-sd-dev", + "datasetId": "indexed_sd_20240831_2" }, "queryProjectId": "vumc-sd-test", "dataLocation": "us-central1" diff --git a/underlay/src/main/resources/config/underlay/sd/underlay.json b/underlay/src/main/resources/config/underlay/sd/underlay.json index 099cb0b38..a76fd6b1b 100644 --- a/underlay/src/main/resources/config/underlay/sd/underlay.json +++ b/underlay/src/main/resources/config/underlay/sd/underlay.json @@ -4,7 +4,7 @@ "entities": [ "sd/person", - "omop/condition", + "sd/condition", "sd/conditionOccurrence", "omop/procedure", "sd/procedureOccurrence", @@ -87,9 +87,11 @@ "sd/gender", "sd/race", "sd/age", + "sd/deceased", "sd/bioVU", "sd/bioVUPlasma", "sd/agdSubjectQueue", + "sd/agdGenotypeResult", "sd/genotyping", "sd/measurement", "sd/documents",(HttpsClient.java:266) + at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) + at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) + at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1241) + at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1127) + at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) + at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142) + at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:151) + at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:84) + at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1012) + at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:565) + at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:506) + at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:616) + at org.apache.beam.runners.dataflow.DataflowClient.listJobMessages(DataflowClient.java:131) + at org.apache.beam.runners.dataflow.util.MonitoringUtil.getJobMessages(MonitoringUtil.java:137) + at org.apache.beam.runners.dataflow.DataflowPipelineJob.processJobMessages(DataflowPipelineJob.java:417) + at org.apache.beam.runners.dataflow.DataflowPipelineJob.waitUntilFinish(DataflowPipelineJob.java:334) + at org.apache.beam.runners.dataflow.DataflowPipelineJob.waitUntilFinish(DataflowPipelineJob.java:253) + at org.apache.beam.runners.dataflow.DataflowPipelineJob.waitUntilFinish(DataflowPipelineJob.java:212) + ... 9 more +