Skip to content

Commit 233ebdc

Browse files
Add data page links to public mito constraint files
1 parent 1447562 commit 233ebdc

File tree

2 files changed

+254
-0
lines changed

2 files changed

+254
-0
lines changed

browser/src/DataPage/GnomadV3Downloads.tsx

+43
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,49 @@ const GnomadV3Downloads = () => (
652652
</ListItem>
653653
</FileList>
654654
</DownloadsSection>
655+
656+
<DownloadsSection>
657+
<SectionTitle id="v3-mito-constraint">Mitochondrial constraint</SectionTitle>
658+
<p>
659+
For more information about mitochondrial constraint, see {/* @ts-expect-error */}
660+
<ExternalLink href="https://doi.org/10.1038/s41586-024-08048-x">
661+
<em>Quantifying constraint in the human mitochondrial genome.</em> Nature 635, 390–397
662+
(2024)
663+
</ExternalLink>
664+
.
665+
</p>
666+
<FileList>
667+
{/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
668+
<ListItem>
669+
<DownloadLinks
670+
label="Mitochondrial gene constraint README"
671+
path="/release/3.1/secondary_analyses/mito_constraint/mito_gene_constraint_README.txt"
672+
includeAzure={false}
673+
/>
674+
</ListItem>
675+
{/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
676+
<ListItem>
677+
<DownloadLinks
678+
label="Mitochondrial regional constraint README"
679+
path="/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint_README.txt"
680+
/>
681+
</ListItem>
682+
{/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
683+
<ListItem>
684+
<DownloadLinks
685+
label="Mitochondrial gene constraint TSV"
686+
path="/release/3.1/secondary_analyses/mito_constraint/mito_gene_constraint.tsv"
687+
/>
688+
</ListItem>
689+
{/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
690+
<ListItem>
691+
<DownloadLinks
692+
label="Mitochondrial regional constraint TSV"
693+
path="/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint.tsv"
694+
/>
695+
</ListItem>
696+
</FileList>
697+
</DownloadsSection>
655698
</>
656699
)
657700

browser/src/DataPage/__snapshots__/DataPage.spec.tsx.snap

+211
Original file line numberDiff line numberDiff line change
@@ -15932,6 +15932,217 @@ exports[`Data Page has no unexpected changes 1`] = `
1593215932
</li>
1593315933
</ul>
1593415934
</section>
15935+
<section
15936+
className="c15"
15937+
>
15938+
<span
15939+
className="c6"
15940+
>
15941+
<h2
15942+
className="c16"
15943+
>
15944+
<a
15945+
aria-hidden="true"
15946+
className="c8 c9"
15947+
href="#v3-mito-constraint"
15948+
id="v3-mito-constraint"
15949+
>
15950+
<img
15951+
alt=""
15952+
aria-hidden="true"
15953+
height={12}
15954+
src="test-file-stub"
15955+
width={12}
15956+
/>
15957+
</a>
15958+
Mitochondrial constraint
15959+
</h2>
15960+
</span>
15961+
<p>
15962+
For more information about mitochondrial constraint, see
15963+
<a
15964+
className="c11"
15965+
href="https://doi.org/10.1038/s41586-024-08048-x"
15966+
rel="noopener noreferrer"
15967+
target="_blank"
15968+
>
15969+
<em>
15970+
Quantifying constraint in the human mitochondrial genome.
15971+
</em>
15972+
Nature 635, 390–397 (2024)
15973+
</a>
15974+
.
15975+
</p>
15976+
<ul
15977+
className="c19"
15978+
>
15979+
<li
15980+
className="c20"
15981+
>
15982+
<span>
15983+
Mitochondrial gene constraint README
15984+
</span>
15985+
<br />
15986+
<span>
15987+
Download from
15988+
15989+
<a
15990+
aria-label="Download Mitochondrial gene constraint README from Google"
15991+
className="c11"
15992+
href="https://storage.googleapis.com/gcp-public-data--gnomad/release/3.1/secondary_analyses/mito_constraint/mito_gene_constraint_README.txt"
15993+
onClick={[Function]}
15994+
rel="noopener noreferrer"
15995+
target="_blank"
15996+
>
15997+
Google
15998+
</a>
15999+
/
16000+
<a
16001+
aria-label="Download Mitochondrial gene constraint README from Amazon"
16002+
className="c11"
16003+
href="https://gnomad-public-us-east-1.s3.amazonaws.com/release/3.1/secondary_analyses/mito_constraint/mito_gene_constraint_README.txt"
16004+
onClick={[Function]}
16005+
rel="noopener noreferrer"
16006+
target="_blank"
16007+
>
16008+
Amazon
16009+
</a>
16010+
</span>
16011+
</li>
16012+
<li
16013+
className="c20"
16014+
>
16015+
<span>
16016+
Mitochondrial regional constraint README
16017+
</span>
16018+
<br />
16019+
<span>
16020+
Download from
16021+
16022+
<a
16023+
aria-label="Download Mitochondrial regional constraint README from Google"
16024+
className="c11"
16025+
href="https://storage.googleapis.com/gcp-public-data--gnomad/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint_README.txt"
16026+
onClick={[Function]}
16027+
rel="noopener noreferrer"
16028+
target="_blank"
16029+
>
16030+
Google
16031+
</a>
16032+
/
16033+
<a
16034+
aria-label="Download Mitochondrial regional constraint README from Amazon"
16035+
className="c11"
16036+
href="https://gnomad-public-us-east-1.s3.amazonaws.com/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint_README.txt"
16037+
onClick={[Function]}
16038+
rel="noopener noreferrer"
16039+
target="_blank"
16040+
>
16041+
Amazon
16042+
</a>
16043+
/
16044+
<a
16045+
aria-label="Download Mitochondrial regional constraint README from Microsoft"
16046+
className="c11"
16047+
href="https://datasetgnomad.blob.core.windows.net/dataset/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint_README.txt"
16048+
onClick={[Function]}
16049+
rel="noopener noreferrer"
16050+
target="_blank"
16051+
>
16052+
Microsoft
16053+
</a>
16054+
</span>
16055+
</li>
16056+
<li
16057+
className="c20"
16058+
>
16059+
<span>
16060+
Mitochondrial gene constraint TSV
16061+
</span>
16062+
<br />
16063+
<span>
16064+
Download from
16065+
16066+
<a
16067+
aria-label="Download Mitochondrial gene constraint TSV from Google"
16068+
className="c11"
16069+
href="https://storage.googleapis.com/gcp-public-data--gnomad/release/3.1/secondary_analyses/mito_constraint/mito_gene_constraint.tsv"
16070+
onClick={[Function]}
16071+
rel="noopener noreferrer"
16072+
target="_blank"
16073+
>
16074+
Google
16075+
</a>
16076+
/
16077+
<a
16078+
aria-label="Download Mitochondrial gene constraint TSV from Amazon"
16079+
className="c11"
16080+
href="https://gnomad-public-us-east-1.s3.amazonaws.com/release/3.1/secondary_analyses/mito_constraint/mito_gene_constraint.tsv"
16081+
onClick={[Function]}
16082+
rel="noopener noreferrer"
16083+
target="_blank"
16084+
>
16085+
Amazon
16086+
</a>
16087+
/
16088+
<a
16089+
aria-label="Download Mitochondrial gene constraint TSV from Microsoft"
16090+
className="c11"
16091+
href="https://datasetgnomad.blob.core.windows.net/dataset/release/3.1/secondary_analyses/mito_constraint/mito_gene_constraint.tsv"
16092+
onClick={[Function]}
16093+
rel="noopener noreferrer"
16094+
target="_blank"
16095+
>
16096+
Microsoft
16097+
</a>
16098+
</span>
16099+
</li>
16100+
<li
16101+
className="c20"
16102+
>
16103+
<span>
16104+
Mitochondrial regional constraint TSV
16105+
</span>
16106+
<br />
16107+
<span>
16108+
Download from
16109+
16110+
<a
16111+
aria-label="Download Mitochondrial regional constraint TSV from Google"
16112+
className="c11"
16113+
href="https://storage.googleapis.com/gcp-public-data--gnomad/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint.tsv"
16114+
onClick={[Function]}
16115+
rel="noopener noreferrer"
16116+
target="_blank"
16117+
>
16118+
Google
16119+
</a>
16120+
/
16121+
<a
16122+
aria-label="Download Mitochondrial regional constraint TSV from Amazon"
16123+
className="c11"
16124+
href="https://gnomad-public-us-east-1.s3.amazonaws.com/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint.tsv"
16125+
onClick={[Function]}
16126+
rel="noopener noreferrer"
16127+
target="_blank"
16128+
>
16129+
Amazon
16130+
</a>
16131+
/
16132+
<a
16133+
aria-label="Download Mitochondrial regional constraint TSV from Microsoft"
16134+
className="c11"
16135+
href="https://datasetgnomad.blob.core.windows.net/dataset/release/3.1/secondary_analyses/mito_constraint/mito_regional_constraint.tsv"
16136+
onClick={[Function]}
16137+
rel="noopener noreferrer"
16138+
target="_blank"
16139+
>
16140+
Microsoft
16141+
</a>
16142+
</span>
16143+
</li>
16144+
</ul>
16145+
</section>
1593516146
<span
1593616147
className="c6"
1593716148
>

0 commit comments

Comments
 (0)