Skip to content

Commit 3f3506a

Browse files
committed
feat(frontend): add ClinVar hail tables to Data page
1 parent b7ab9c0 commit 3f3506a

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

browser/src/DataPage/GnomadV2Downloads.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,26 @@ const GnomadV2Downloads = () => {
458458
</FileList>
459459
</DownloadsSection>
460460

461+
<DownloadsSection>
462+
<SectionTitle id="v2-clinvar-grch37">ClinVar</SectionTitle>
463+
<p>
464+
For more information about these files, see the{' '}
465+
<Link to="/help/clinvar-hts">help text</Link>.
466+
</p>
467+
468+
<FileList>
469+
{/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
470+
<ListItem>
471+
<GetUrlButtons
472+
gcsBucket="gnomad-clinvar"
473+
label="ClinVar GRCh37 Browser Hail Table"
474+
path="/gnomad_clinvar_grch37.ht"
475+
includeAWS={false}
476+
/>
477+
</ListItem>
478+
</FileList>
479+
</DownloadsSection>
480+
461481
<DownloadsSection>
462482
<SectionTitle id="v2-resources">Resources</SectionTitle>
463483
<FileList>

browser/src/DataPage/GnomadV4Downloads.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,26 @@ const GnomadV4Downloads = () => {
553553
</FileList>
554554
</DownloadsSection>
555555

556+
<DownloadsSection>
557+
<SectionTitle id="v4-clinvar-grch38">ClinVar</SectionTitle>
558+
<p>
559+
For more information about these files, see the{' '}
560+
<Link to="/help/clinvar-hts">help text</Link>.
561+
</p>
562+
563+
<FileList>
564+
{/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
565+
<ListItem>
566+
<GetUrlButtons
567+
gcsBucket="gnomad-clinvar"
568+
label="ClinVar GRCh38 Browser Hail Table"
569+
path="/gnomad_clinvar_grch38.ht"
570+
includeAWS={false}
571+
/>
572+
</ListItem>
573+
</FileList>
574+
</DownloadsSection>
575+
556576
<DownloadsSection>
557577
<SectionTitle id="v4-resources">Resources</SectionTitle>
558578
<FileList>

0 commit comments

Comments
 (0)