Skip to content

Commit c284339

Browse files
committed
feat(api): update v4 rmc types, es indices
1 parent b9a3d5d commit c284339

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

graphql-api/src/graphql/types/gene.graphql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ type Gene {
6464
pext: Pext
6565

6666
gnomad_constraint: GnomadConstraint
67-
# gnomad_v2_regional_missense_constraint: GnomadV2RegionalMissenseConstraint
67+
# TODO: we've renamed this to not include the 'v2'
68+
# but for this demo, we display them both side by side
69+
gnomad_v2_regional_missense_constraint: GnomadV2RegionalMissenseConstraint
6870
gnomad_regional_missense_constraint: GnomadV2RegionalMissenseConstraint
6971

7072
exac_constraint: ExacConstraint

graphql-api/src/queries/gene-queries.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ import { fetchAllSearchResults } from './helpers/elasticsearch-helpers'
55
const GENE_INDICES = {
66
// GRCh37: 'genes_grch37',
77
// GRCh38: 'genes_grch38',
8+
// TODO: Winter 2024 v4 RMC indices 1
89
// GRCh37: 'genes_grch37-2024-11-15--15-23',
910
// GRCh38: 'genes_grch38-2024-11-20--16-28',
10-
GRCh37: 'genes_grch37-2024-11-25--15-55',
11-
GRCh38: 'genes_grch38-2024-11-25--19-00',
11+
// TODO: Winter 2024 v4 RMC indices 2
12+
// GRCh37: 'genes_grch37-2024-11-25--15-55',
13+
// GRCh38: 'genes_grch38-2024-11-25--19-00',
14+
// TODO: June 2025 v4 RMC indices
15+
GRCh37: 'genes_grch37-2025-06-30--21-15',
16+
GRCh38: 'genes_grch38-2025-06-30--21-13',
1217
}
1318

1419
const _fetchGeneById = async (esClient: any, geneId: any, referenceGenome: any) => {

0 commit comments

Comments
 (0)