Download frontend/src/components/PageMeta.tsx from omaib/MuSProt: direct link, hf CLI and curl.
- Browser
- Download file 2.13 kB
-
https://huggingface.co/spaces/omaib/MuSProt/resolve/main/frontend/src/components/PageMeta.tsx
- Command line
-
hf download hf://spaces/omaib/MuSProt/frontend/src/components/PageMeta.tsx
-
curl -L -o PageMeta.tsx https://huggingface.co/spaces/omaib/MuSProt/resolve/main/frontend/src/components/PageMeta.tsx
2.13 kB
| import { Helmet } from 'react-helmet-async'; | |
| const BASE = 'https://omaib-musprot.hf.space'; | |
| export function PageMeta({ title, description, path }: { title: string; description?: string; path: string }) { | |
| const url = `${BASE}${path}`; | |
| return ( | |
| <Helmet> | |
| <title>{title}</title> | |
| {description && <meta name="description" content={description} />} | |
| <link rel="canonical" href={url} /> | |
| <meta property="og:type" content="website" /> | |
| <meta property="og:title" content={title} /> | |
| {description && <meta property="og:description" content={description} />} | |
| <meta property="og:url" content={url} /> | |
| <meta property="og:site_name" content="MuSProt" /> | |
| <meta name="twitter:card" content="summary" /> | |
| </Helmet> | |
| ); | |
| } | |
| const DATASET_LD = { | |
| '@context': 'https://schema.org', | |
| '@type': 'Dataset', | |
| name: 'MuSProt: Multistate Protein Database', | |
| description: | |
| 'A million-scale database of experimentally observed protein conformational states from the Protein Data Bank: 863,643 chain observations of 102,790 sequences, clustered into 162,601 conformational states, with 113.6 million pairwise transitions annotated with structural similarity (TM-score, RMSD, coverage), energy differences (Rosetta, FoldX, EvoEF2, RW, RW+), fidelity labels and ranked functional annotations.', | |
| url: `${BASE}/`, | |
| creator: { '@type': 'Organization', name: 'MuSProt', url: `${BASE}/` }, | |
| license: 'https://creativecommons.org/licenses/by/4.0/', | |
| keywords: [ | |
| 'protein structure', | |
| 'conformational states', | |
| 'multistate proteins', | |
| 'Protein Data Bank', | |
| 'structural biology', | |
| 'protein design', | |
| 'TM-score', | |
| 'energy scoring', | |
| ], | |
| distribution: [ | |
| { | |
| '@type': 'DataDownload', | |
| encodingFormat: 'application/x-sqlite3', | |
| contentUrl: `${BASE}/api/protein/download/db`, | |
| name: 'MuSProt.db (SQLite, ~37 GB)', | |
| }, | |
| ], | |
| measurementTechnique: 'X-ray crystallography, cryo-EM, NMR', | |
| }; | |
| export function DatasetJsonLd() { | |
| return ( | |
| <Helmet> | |
| <script type="application/ld+json">{JSON.stringify(DATASET_LD)}</script> | |
| </Helmet> | |
| ); | |
| } | |