From 7d193e09347d96353492c0e642b5c8bfad22b095 Mon Sep 17 00:00:00 2001 From: Riley Grant Date: Thu, 7 Nov 2024 13:28:27 -0600 Subject: [PATCH] feat(graphql-api): modify ClinVar ES indices to allow rollbacks --- graphql-api/src/queries/clinvar-variant-queries.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/graphql-api/src/queries/clinvar-variant-queries.ts b/graphql-api/src/queries/clinvar-variant-queries.ts index bd1b69033..a8175d7da 100644 --- a/graphql-api/src/queries/clinvar-variant-queries.ts +++ b/graphql-api/src/queries/clinvar-variant-queries.ts @@ -9,8 +9,12 @@ import { getConsequenceForContext } from './variant-datasets/shared/transcriptCo import largeGenes from './helpers/large-genes' const CLINVAR_VARIANT_INDICES = { - GRCh37: 'clinvar_grch37_variants', - GRCh38: 'clinvar_grch38_variants', + // GRCh37: 'clinvar_grch37_variants', + // GRCh38: 'clinvar_grch38_variants', + // TODO: revert back to using alias'ed indexes once we are confident this is + // stable in production + GRCh37: 'clinvar_grch37_variants-2024-11-08--19-22', + GRCh38: 'clinvar_grch38_variants-2024-11-08--13-08', } // ================================================================================================