Mieaz commited on
Commit
109c1d5
Β·
verified Β·
1 Parent(s): 928c967

Upload index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +409 -18
index.html CHANGED
@@ -1,19 +1,410 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MVA Syndrome Multi-Dimensional Genomic Studio</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
11
+ </head>
12
+ <body>
13
+ <div class="app-container">
14
+ <!-- Top Header -->
15
+ <header class="studio-header">
16
+ <div class="header-left">
17
+ <div class="logo-badge">
18
+ <div class="pulse-dot"></div>
19
+ <span class="logo-title">MVA SYNDROME</span>
20
+ <span class="logo-sub">5D GENOMIC STUDIO</span>
21
+ </div>
22
+ <div class="patient-badge">
23
+ <span class="patient-label">PROBAND:</span>
24
+ <span class="patient-id font-mono">EX2312012 (HGWCNDSX7)</span>
25
+ </div>
26
+ </div>
27
+
28
+ <div class="header-stats">
29
+ <div class="stat-pill" title="Total Whole Genome Variants">
30
+ <span class="stat-label">TOTAL WGS VARIANTS</span>
31
+ <span class="stat-val">5,012,204</span>
32
+ </div>
33
+ <div class="stat-pill" title="Candidate Variants in MVA / Cancer Panels">
34
+ <span class="stat-label">CANDIDATE VARIANTS</span>
35
+ <span id="statCandidateCount" class="stat-val font-cyan">1,576</span>
36
+ </div>
37
+ <div class="stat-pill highlight-gold" title="Putative Mosaic Somatic Mutations (5%-38% VAF)">
38
+ <span class="stat-label">MOSAIC CANDIDATES</span>
39
+ <span id="statMosaicCount" class="stat-val">84</span>
40
+ </div>
41
+ <div class="stat-pill" title="Mean WGS Sequencing Coverage">
42
+ <span class="stat-label">MEAN COVERAGE</span>
43
+ <span class="stat-val">36.2Γ— (NovaSeq)</span>
44
+ </div>
45
+ </div>
46
+
47
+ <div class="header-right">
48
+ <div class="connection-badge" title="Hugging Face Dataset Connection Status">
49
+ <span class="badge-dot"></span>
50
+ <span class="badge-text">PRIVATE DATASET LINKED</span>
51
+ </div>
52
+ <button id="btnShortcuts" class="icon-btn">⌨ Shortcuts</button>
53
+ </div>
54
+ </header>
55
+
56
+ <!-- Navigation Tabs -->
57
+ <nav class="studio-nav">
58
+ <button class="nav-tab active" data-tab="tab-clinical">
59
+ <span class="tab-icon">πŸ₯</span> Clinical Phenotype & HPO
60
+ </button>
61
+ <button class="nav-tab" data-tab="tab-variants">
62
+ <span class="tab-icon">🧬</span> Chromosome & Variant Navigator
63
+ </button>
64
+ <button class="nav-tab" data-tab="tab-mosaic">
65
+ <span class="tab-icon">πŸ”¬</span> Mosaicism & VAF Spectrum
66
+ </button>
67
+ <button class="nav-tab" data-tab="tab-wgs">
68
+ <span class="tab-icon">πŸ“Š</span> WGS Sequencing & Flowcells
69
+ </button>
70
+ <button class="nav-tab" data-tab="tab-pathway">
71
+ <span class="tab-icon">βš™οΈ</span> Mitotic Checkpoint Pathway
72
+ </button>
73
+ </nav>
74
+
75
+ <!-- Tab 1: Clinical Phenotype & HPO Profile -->
76
+ <section id="tab-clinical" class="tab-content active">
77
+ <div class="clinical-grid">
78
+ <!-- Left Column: Patient Case Overview -->
79
+ <div class="card card-overview">
80
+ <div class="card-header">
81
+ <h3>πŸ“‹ Proband Case Summary & Diagnostic Context</h3>
82
+ <span class="badge-rare">Rare Disease: MVA Syndrome</span>
83
+ </div>
84
+ <div class="card-body">
85
+ <div class="alert-box">
86
+ <strong>Clinical Presentation:</strong> Pediatric patient presenting with a coherent phenotypic cluster of embryonal malignancy (rhabdomyosarcoma), congenital nephrocalcinosis, severe intrauterine growth restriction (IUGR), microcephaly/short stature, failure to thrive, and parental history of recurrent miscarriages.
87
+ </div>
88
+
89
+ <div class="clinical-meta-grid">
90
+ <div class="meta-item">
91
+ <span class="meta-label">Primary Oncological Event:</span>
92
+ <span class="meta-val font-red">Rhabdomyosarcoma (Soft Tissue Tumour)</span>
93
+ </div>
94
+ <div class="meta-item">
95
+ <span class="meta-label">Renal Anomalies:</span>
96
+ <span class="meta-val font-gold">Congenital Nephrocalcinosis (Since Birth)</span>
97
+ </div>
98
+ <div class="meta-item">
99
+ <span class="meta-label">Gestational Age at Birth:</span>
100
+ <span class="meta-val">32 Weeks (Premature)</span>
101
+ </div>
102
+ <div class="meta-item">
103
+ <span class="meta-label">Birth Weight:</span>
104
+ <span class="meta-val">~1.0 kg (Severe IUGR / Small for Gestational Age)</span>
105
+ </div>
106
+ <div class="meta-item">
107
+ <span class="meta-label">Family Reproductive History:</span>
108
+ <span class="meta-val font-cyan">Parental Recurrent Spontaneous Abortions</span>
109
+ </div>
110
+ <div class="meta-item">
111
+ <span class="meta-label">Diagnostic Trigger:</span>
112
+ <span class="meta-val">Urgent Whole Genome Sequencing (WGS)</span>
113
+ </div>
114
+ </div>
115
+
116
+ <div class="insight-box">
117
+ <h4>πŸ’‘ Syndromic Diagnostic Key:</h4>
118
+ <p>In chromosomal instability syndromes such as Mosaic Variegated Aneuploidy (MVA), no single finding is isolated. The hallmark is the triad of <strong>growth restriction + pediatric cancer predisposition + chromosome segregation/mitotic checkpoint defects</strong>. Parental recurrent pregnancy loss further points to segregation/aneuploidy vulnerability.</p>
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Right Column: HPO Term Breakdown -->
124
+ <div class="card card-hpo">
125
+ <div class="card-header">
126
+ <h3>🏷️ Human Phenotype Ontology (HPO) Profile</h3>
127
+ <span id="hpoCountBadge" class="badge-count">8 Phenotypes</span>
128
+ </div>
129
+ <div class="card-body">
130
+ <div id="hpoList" class="hpo-list">
131
+ <!-- Rendered via JS -->
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ </section>
137
+
138
+ <!-- Tab 2: Chromosome & Variant Navigator -->
139
+ <section id="tab-variants" class="tab-content">
140
+ <div class="variants-layout">
141
+ <!-- Top Toolbar: Gene Panels & Filters -->
142
+ <div class="variant-toolbar">
143
+ <div class="filter-group">
144
+ <label for="geneFilter" class="filter-label">GENE PANEL:</label>
145
+ <select id="geneFilter" class="styled-select">
146
+ <option value="ALL">All Candidate Genes (16 Panels)</option>
147
+ <option value="BUB1B">BUB1B β€” MVA Type 1 (chr15)</option>
148
+ <option value="CEP57">CEP57 β€” MVA Type 2 (chr11)</option>
149
+ <option value="TRIP13">TRIP13 β€” MVA Type 3 (chr5)</option>
150
+ <option value="CEP192">CEP192 β€” MVA Type 4 (chr18)</option>
151
+ <option value="MAD1L1">MAD1L1 β€” MVA Susceptibility (chr7)</option>
152
+ <option value="MAD2L1">MAD2L1 β€” Checkpoint Core (chr4)</option>
153
+ <option value="BUB1">BUB1 β€” Kinetochore Kinase (chr2)</option>
154
+ <option value="BUB3">BUB3 β€” SAC Scaffold (chr10)</option>
155
+ <option value="SMC5">SMC5 β€” Chromosome Repair (chr9)</option>
156
+ <option value="CENPE">CENPE β€” Kinetochore Motor (chr4)</option>
157
+ <option value="CENPF">CENPF β€” Centromere Protein F (chr1)</option>
158
+ <option value="PLK1">PLK1 β€” Polo Like Kinase (chr16)</option>
159
+ <option value="AURKA">AURKA β€” Aurora Kinase A (chr20)</option>
160
+ <option value="TP53">TP53 β€” Li-Fraumeni / Sarcoma (chr17)</option>
161
+ <option value="WT1">WT1 β€” Wilms / Nephrocalcinosis (chr11)</option>
162
+ <option value="DICER1">DICER1 β€” Rhabdomyosarcoma (chr14)</option>
163
+ </select>
164
+ </div>
165
+
166
+ <div class="filter-group">
167
+ <label for="typeFilter" class="filter-label">TYPE:</label>
168
+ <select id="typeFilter" class="styled-select-sm">
169
+ <option value="ALL">All Types</option>
170
+ <option value="SNV">SNV (Single Nucleotide)</option>
171
+ <option value="Insertion">Insertion</option>
172
+ <option value="Deletion">Deletion</option>
173
+ </select>
174
+ </div>
175
+
176
+ <div class="filter-group">
177
+ <label for="mosaicFilter" class="filter-label">ZYGOSITY / MOSAICISM:</label>
178
+ <select id="mosaicFilter" class="styled-select-sm">
179
+ <option value="ALL">All Classifications</option>
180
+ <option value="Mosaic Somatic Candidate">Mosaic Somatic Candidates (5%-38% VAF)</option>
181
+ <option value="Germline Heterozygous">Germline Heterozygous (40%-60% VAF)</option>
182
+ <option value="Germline Homozygous">Germline Homozygous (85%-100% VAF)</option>
183
+ </select>
184
+ </div>
185
+
186
+ <div class="filter-group search-group">
187
+ <input type="text" id="variantSearch" placeholder="Search by position, dbSNP rsID, or allele..." class="search-input">
188
+ </div>
189
+
190
+ <div class="filter-stats">
191
+ <span>Showing <strong id="filteredCount">0</strong> / <span id="totalCandidateCount">0</span> variants</span>
192
+ </div>
193
+ </div>
194
+
195
+ <!-- Chromosome Ideogram Selector -->
196
+ <div class="chromosome-bar-wrapper">
197
+ <div class="chr-bar-header">
198
+ <span>GENOME-WIDE CHROMOSOME DENSITY (Click chromosome to filter):</span>
199
+ <button id="btnResetChr" class="mini-btn">Reset All Chromosomes</button>
200
+ </div>
201
+ <div id="chromosomeKaryotype" class="chromosome-karyotype">
202
+ <!-- Rendered via JS -->
203
+ </div>
204
+ </div>
205
+
206
+ <!-- Variants Table -->
207
+ <div class="table-card">
208
+ <div class="table-scroll">
209
+ <table class="variant-table">
210
+ <thead>
211
+ <tr>
212
+ <th>Gene</th>
213
+ <th>Chromosome:Position</th>
214
+ <th>Ref β†’ Alt</th>
215
+ <th>Type</th>
216
+ <th>Genotype (GT)</th>
217
+ <th>Allelic Depth (AD)</th>
218
+ <th>Total DP</th>
219
+ <th>VAF (Allele Fraction)</th>
220
+ <th>Classification</th>
221
+ <th>Filter</th>
222
+ <th>Action</th>
223
+ </tr>
224
+ </thead>
225
+ <tbody id="variantTableBody">
226
+ <!-- Rendered via JS -->
227
+ </tbody>
228
+ </table>
229
+ </div>
230
+ </div>
231
+ </div>
232
+ </section>
233
+
234
+ <!-- Tab 3: Mosaicism & VAF Spectrum -->
235
+ <section id="tab-mosaic" class="tab-content">
236
+ <div class="mosaic-grid">
237
+ <div class="card">
238
+ <div class="card-header">
239
+ <h3>πŸ”¬ Variant Allele Frequency (VAF) Spectrum & Mosaicism Analysis</h3>
240
+ <span class="badge-cyan">Somatic vs Germline Resolution</span>
241
+ </div>
242
+ <div class="card-body">
243
+ <p class="section-desc">
244
+ In Mosaic Variegated Aneuploidy, post-zygotic somatic mutations and mitotic nondisjunction events exhibit non-Mendelian allele frequencies. Variants with <strong>$VAF \in [0.05, 0.38]$</strong> represent high-confidence mosaic somatic candidates.
245
+ </p>
246
+
247
+ <div class="vaf-distribution-chart">
248
+ <div class="vaf-bracket bracket-mosaic">
249
+ <div class="bracket-header">
250
+ <span>MOSAIC SOMATIC SPECTRUM</span>
251
+ <strong>5% – 38% VAF</strong>
252
+ </div>
253
+ <div class="bracket-body" id="mosaicListSummary">
254
+ <!-- JS generated -->
255
+ </div>
256
+ </div>
257
+
258
+ <div class="vaf-bracket bracket-het">
259
+ <div class="bracket-header">
260
+ <span>GERMLINE HETEROZYGOUS</span>
261
+ <strong>40% – 60% VAF</strong>
262
+ </div>
263
+ <div class="bracket-body" id="hetListSummary">
264
+ <!-- JS generated -->
265
+ </div>
266
+ </div>
267
+
268
+ <div class="vaf-bracket bracket-hom">
269
+ <div class="bracket-header">
270
+ <span>GERMLINE HOMOZYGOUS</span>
271
+ <strong>85% – 100% VAF</strong>
272
+ </div>
273
+ <div class="bracket-body" id="homListSummary">
274
+ <!-- JS generated -->
275
+ </div>
276
+ </div>
277
+ </div>
278
+ </div>
279
+ </div>
280
+
281
+ <div class="card">
282
+ <div class="card-header">
283
+ <h3>⭐ Top Mosaic Somatic Candidate Loci</h3>
284
+ <span class="badge-gold">Prioritized SAC & Centrosome Mutants</span>
285
+ </div>
286
+ <div class="card-body">
287
+ <div id="topMosaicTable" class="top-mosaic-container">
288
+ <!-- Rendered via JS -->
289
+ </div>
290
+ </div>
291
+ </div>
292
+ </div>
293
+ </section>
294
+
295
+ <!-- Tab 4: WGS Sequencing & Flowcells -->
296
+ <section id="tab-wgs" class="tab-content">
297
+ <div class="wgs-grid">
298
+ <div class="card">
299
+ <div class="card-header">
300
+ <h3>πŸ“Š Illumina NovaSeq 6000 Flowcell Metrics</h3>
301
+ <span class="badge-cyan">Flowcell ID: HGWCNDSX7</span>
302
+ </div>
303
+ <div class="card-body">
304
+ <div class="stats-overview-row">
305
+ <div class="overview-box">
306
+ <span class="box-label">Total Sequencing Data</span>
307
+ <span class="box-val font-cyan">78.86 GB</span>
308
+ </div>
309
+ <div class="overview-box">
310
+ <span class="box-label">Total Paired Reads</span>
311
+ <span class="box-val">805.8 Million</span>
312
+ </div>
313
+ <div class="overview-box">
314
+ <span class="box-label">Mean Genome Coverage</span>
315
+ <span class="box-val font-green">36.2Γ—</span>
316
+ </div>
317
+ <div class="overview-box">
318
+ <span class="box-label">Bases β‰₯ Q30</span>
319
+ <span class="box-val font-gold">93.45%</span>
320
+ </div>
321
+ <div class="overview-box">
322
+ <span class="box-label">Mean Insert Size</span>
323
+ <span class="box-val">380 bp</span>
324
+ </div>
325
+ <div class="overview-box">
326
+ <span class="box-label">Duplication Rate</span>
327
+ <span class="box-val">8.4%</span>
328
+ </div>
329
+ </div>
330
+
331
+ <h4 class="subhead">Lane-by-Lane Sequencing Breakdown (4 Flowcell Lanes)</h4>
332
+ <div class="lanes-table-wrapper">
333
+ <table class="lane-table">
334
+ <thead>
335
+ <tr>
336
+ <th>Lane</th>
337
+ <th>Read 1 (R1) FASTQ</th>
338
+ <th>R1 Size</th>
339
+ <th>Read 2 (R2) FASTQ</th>
340
+ <th>R2 Size</th>
341
+ <th>Total Reads</th>
342
+ <th>Q30 %</th>
343
+ <th>Est. Coverage</th>
344
+ </tr>
345
+ </thead>
346
+ <tbody id="laneTableBody">
347
+ <!-- Rendered via JS -->
348
+ </tbody>
349
+ </table>
350
+ </div>
351
+ </div>
352
+ </div>
353
+ </div>
354
+ </section>
355
+
356
+ <!-- Tab 5: Mitotic Checkpoint Pathway -->
357
+ <section id="tab-pathway" class="tab-content">
358
+ <div class="pathway-grid">
359
+ <div class="card">
360
+ <div class="card-header">
361
+ <h3>βš™οΈ Spindle Assembly Checkpoint (SAC) & Centrosomal Protein Network</h3>
362
+ <span class="badge-rare">Mitotic Machinery</span>
363
+ </div>
364
+ <div class="card-body">
365
+ <div class="pathway-diagram" id="pathwayComplexes">
366
+ <!-- Rendered via JS -->
367
+ </div>
368
+ </div>
369
+ </div>
370
+ </div>
371
+ </section>
372
+
373
+ <!-- Variant Detail Modal -->
374
+ <div id="modalVariant" class="modal-overlay hidden">
375
+ <div class="modal-card">
376
+ <div class="modal-header">
377
+ <h2 id="modalVarTitle">🧬 Variant Details</h2>
378
+ <button id="btnCloseVarModal" class="modal-close">βœ•</button>
379
+ </div>
380
+ <div class="modal-body" id="modalVarBody">
381
+ <!-- Rendered via JS -->
382
+ </div>
383
+ </div>
384
+ </div>
385
+
386
+ <!-- Shortcuts Modal -->
387
+ <div id="modalHelp" class="modal-overlay hidden">
388
+ <div class="modal-card">
389
+ <div class="modal-header">
390
+ <h2>⌨ 5D Studio Keyboard Shortcuts</h2>
391
+ <button id="btnCloseHelpModal" class="modal-close">βœ•</button>
392
+ </div>
393
+ <div class="modal-body">
394
+ <div class="shortcut-grid">
395
+ <div class="shortcut-item"><kbd>1</kbd><span>Switch to Clinical Phenotype tab</span></div>
396
+ <div class="shortcut-item"><kbd>2</kbd><span>Switch to Variant Navigator tab</span></div>
397
+ <div class="shortcut-item"><kbd>3</kbd><span>Switch to Mosaicism Spectrum tab</span></div>
398
+ <div class="shortcut-item"><kbd>4</kbd><span>Switch to WGS Sequencing tab</span></div>
399
+ <div class="shortcut-item"><kbd>5</kbd><span>Switch to Mitotic Pathway tab</span></div>
400
+ <div class="shortcut-item"><kbd>/</kbd><span>Focus Variant Search bar</span></div>
401
+ <div class="shortcut-item"><kbd>Esc</kbd><span>Close modals</span></div>
402
+ </div>
403
+ </div>
404
+ </div>
405
+ </div>
406
+ </div>
407
+
408
+ <script src="app.js"></script>
409
+ </body>
410
  </html>