Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: broadinstitute/gnomad-browser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0936938f5a01033a88f19f6a41b3d374344c8c87
Choose a base ref
..
head repository: broadinstitute/gnomad-browser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 846558c1b8a84a7b13d7d8f9ce8495e54d5b8827
Choose a head ref
2 changes: 1 addition & 1 deletion browser/src/GenePage/GeneInfo.tsx
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ const GeneInfo = ({ gene }: GeneInfoProps) => {
: null

const ucscReferenceGenomeId = gene.reference_genome === 'GRCh37' ? 'hg19' : 'hg38'
const gencodeVersion = gene.reference_genome === 'GRCh37' ? '19' : '35'
const gencodeVersion = gene.reference_genome === 'GRCh37' ? '19' : '39'

const otherTranscripts = gene.transcripts.filter(
(transcript) =>
3 changes: 2 additions & 1 deletion data-pipeline/src/data_pipeline/datasets/clinvar.py
Original file line number Diff line number Diff line change
@@ -127,7 +127,8 @@ def _parse_submission(submission_element, trait_mapping_list_element):
condition_medgen_mapping = _associate_condition_with_medgen_id(
submission_element, trait_mapping_list_element, trait_element
)
submission["conditions"].append(condition_medgen_mapping)
if condition_medgen_mapping is not None:
submission["conditions"].append(condition_medgen_mapping)

return submission

8 changes: 2 additions & 6 deletions graphql-api/src/queries/clinvar-variant-queries.ts
Original file line number Diff line number Diff line change
@@ -9,12 +9,8 @@ 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',
// 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',
GRCh37: 'clinvar_grch37_variants',
GRCh38: 'clinvar_grch38_variants',
}

// ================================================================================================
6 changes: 2 additions & 4 deletions graphql-api/src/queries/gene-queries.ts
Original file line number Diff line number Diff line change
@@ -3,10 +3,8 @@ import { withCache } from '../cache'
import { fetchAllSearchResults } from './helpers/elasticsearch-helpers'

const GENE_INDICES = {
// GRCh37: 'genes_grch37',
// GRCh38: 'genes_grch38',
GRCh37: 'genes_grch37-2024-11-15--15-23',
GRCh38: 'genes_grch38-2024-11-20--16-28',
GRCh37: 'genes_grch37',
GRCh38: 'genes_grch38',
}

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