Skip to content

Commit

Permalink
Merge pull request #3976 from broadinstitute/variant-metadata-pull-cl…
Browse files Browse the repository at this point in the history
…invar-sig

properly parse clinvar significance
  • Loading branch information
hanars authored Mar 18, 2024
2 parents 4cdaa05 + b83121a commit 517ff36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/pages/Report/components/VariantMetadata.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'

import LoadReportTable from 'shared/components/table/LoadReportTable'
import { VARIANT_METADATA_COLUMNS } from 'shared/utils/constants'
import { clinvarSignificance, VARIANT_METADATA_COLUMNS } from 'shared/utils/constants'

const VIEW_ALL_PAGES = [
{ name: 'GREGoR', downloadName: 'GREGoR', path: 'gregor' },
Expand All @@ -13,7 +13,7 @@ const COLUMNS = [
...VARIANT_METADATA_COLUMNS.slice(0, -1),
{ name: 'allele_balance_or_heteroplasmy_percentage' },
{ name: 'ClinGen allele ID', format: ({ clinvar }) => clinvar?.alleleId },
{ name: 'ClinVar Clinical Significance', format: ({ clinvar }) => clinvar?.clinicalSignificance },
{ name: 'ClinVar Clinical Significance', format: ({ clinvar }) => clinvarSignificance(clinvar).pathogenicity },
{ name: 'ClinVar gold star', format: ({ clinvar }) => clinvar?.goldStars },
{ name: 'known_condition_name' },
{ name: 'condition_id' },
Expand Down

0 comments on commit 517ff36

Please sign in to comment.