diff --git a/src/genegraph/gene_validity.clj b/src/genegraph/gene_validity.clj index 178b454..44e9ed8 100644 --- a/src/genegraph/gene_validity.clj +++ b/src/genegraph/gene_validity.clj @@ -41,7 +41,7 @@ (def admin-env (if (or (System/getenv "DX_JAAS_CONFIG_DEV") (System/getenv "DX_JAAS_CONFIG")) ; prevent this in cloud deployments - {:platform "stage" + {:platform "prod" :dataexchange-genegraph (System/getenv "DX_JAAS_CONFIG") :local-data-path "data/"} {})) @@ -54,7 +54,7 @@ (gql-schema/merged-schema {:executor direct-executor}))} "dev" (assoc (env/build-environment "522856288592" ["dataexchange-genegraph"]) - :version 5 + :version 6 :name "dev" :function (System/getenv "GENEGRAPH_FUNCTION") :kafka-user "User:2189780" @@ -64,7 +64,7 @@ :graphql-schema (gql-schema/merged-schema {:executor direct-executor})) "stage" (assoc (env/build-environment "583560269534" ["dataexchange-genegraph"]) - :version 5 + :version 6 :name "stage" :function (System/getenv "GENEGRAPH_FUNCTION") :kafka-user "User:2592237" @@ -75,7 +75,7 @@ {:executor direct-executor})) "prod" (assoc (env/build-environment "974091131481" ["dataexchange-genegraph"]) :function (System/getenv "GENEGRAPH_FUNCTION") - :version 3 + :version 4 :name "prod" :kafka-user "User:2592237" :fs-handle {:type :gcs @@ -370,7 +370,7 @@ (def gv-tdb {:type :rdf :name :gv-tdb - :snapshot-handle (assoc (:fs-handle env) :path "gv-tdb-v8.nq.gz") + :snapshot-handle (assoc (:fs-handle env) :path "gv-tdb-v9.nq.gz") :path (str (:local-data-path env) "/gv-tdb")}) (def response-cache-db diff --git a/src/genegraph/gene_validity/sepio_model/construct_variant_score.sparql b/src/genegraph/gene_validity/sepio_model/construct_variant_score.sparql index 3665bdc..516a03f 100644 --- a/src/genegraph/gene_validity/sepio_model/construct_variant_score.sparql +++ b/src/genegraph/gene_validity/sepio_model/construct_variant_score.sparql @@ -185,7 +185,7 @@ where { BIND(IF( ?zygosity = :geno/Homozygous , ?baseScore * 2 , ?baseScore) AS ?score) . BIND(IF( ?zygosity = :geno/Homozygous , ?calculatedScore * 2 , ?calculatedScore) AS ?resultCalculatedScore) . - ?annotation + ?annotation a gci:annotation ; (gci:families|gci:groups)? / gci:familyIncluded? / gci:individuals|gci:individualIncluded