-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
7571 lines (7480 loc) · 274 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<title>eFP-Seq Browser</title>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta name="title" content="eFP-Seq Browser" />
<link rel="icon" href="https://bar.utoronto.ca/icon/favicon.ico" />
<link rel="shortcut icon" href="https://bar.utoronto.ca/icon/favicon.ico" type="image/x-icon" />
<link rel="canonical" href="https://bar.utoronto.ca/eFP-Seq_Browser/" />
<meta http-equiv="Cache-Control" content="max-age=604800" />
<!-- Metadata -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#cddaa7" />
<meta
name="author"
content="BAR Lab @ University of Toronto: Alexander Sullivan, Priyank K. Purohit, Nowlan H. Freese, Asher Pasha, Eddi Esteban, Jamie Waese, Alison Wu, Michelle Chen, Chih Y. Chin, Richard Song, Sneha R. Watharkar, Agnes P. Chan, Vivek Krishnakumar, Matthew W. Vaughn, Chris Town, Ann E. Loraine, Nicholas J. Provart"
/>
<meta
name="description"
content="Search among 113 RNA-seq data sets used by Araport 11 to reannotate the Arabidopsis genome, retrieving the number of reads mapped and display above the desired gene model"
/>
<meta
name="keywords"
content="bioinformatic, computational, bioinformatics, rna, rna-seq, efp-seq browser, efp, browser, data, data visualization, visualization, plant, biology, arabidopsis, arabidopsis thaliana, a thaliana, provart, rna-seq mapping, mapping, webapp, web, application, bam, alternative, splicing, database"
/>
<meta name="robots" content="index, follow" />
<meta name="language" content="English" />
<link rel="manifest" href="https://bar.utoronto.ca/icon/manifest.json" />
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="https://bar.utoronto.ca/icon/apple-touch-icon.png" />
<link
rel="apple-touch-icon-precomposed"
sizes="180x180"
href="https://bar.utoronto.ca/icon/apple-touch-icon-precomposed.png"
/>
<link rel="icon" type="image/png" sizes="16x16" href="https://bar.utoronto.ca/icon/favicon-16x16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="https://bar.utoronto.ca/icon/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="192x192"
href="https://bar.utoronto.ca/icon/android-chrome-192x192.png"
/>
<link rel="icon" type="image/png" sizes="16x16" href="https://bar.utoronto.ca/icon/favicon-16x16.png" />
<link rel="mask-icon" href="https://bar.utoronto.ca/icon/safari-pinned-tab.svg" color="#cddaa7" />
<meta name="apple-mobile-web-app-title" content="eFP-Seq Browser" />
<meta name="apple-touch-startup-image" content="https://bar.utoronto.ca/icon/apple-touch-icon.png" />
<meta name="application-name" content="eFP-Seq Browser" />
<meta name="msapplication-config" content="https://bar.utoronto.ca/icon/browserconfig.xml" />
<meta name="msapplication-TileColor" content="#cddaa7" />
<meta name="msapplication-TileImage" content="https://bar.utoronto.ca/icon/mstile-144x144.png" />
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://bar.utoronto.ca/eFP-Seq_Browser/" />
<meta property="og:title" content="eFP-Seq Browser" />
<meta
property="og:description"
content="An RNA-Seq data exploration tool that shows read map coverage of a gene along with a coloured eFP image."
/>
<meta property="og:image" content="https://bar.utoronto.ca/eFP-Seq_Browser/cgi-bin/icon/resoc.png" />
<meta property="og:image:url" content="https://bar.utoronto.ca/eFP-Seq_Browser/cgi-bin/icon/resoc.png" />
<meta property="og:image:secure_url" content="https://bar.utoronto.ca/eFP-Seq_Browser/cgi-bin/icon/resoc.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:alt" content="eFP-Seq Browser" />
<meta property="og:site_name" content="https://bar.utoronto.ca/eFP-Seq_Browser/" />
<meta property="article:modified_time" name="article-modified_time" content="2022-05-02T12:00:00+00:00" />
<meta itemprop="name" content="eFP-Seq Browser" />
<meta itemprop="url" content="https://bar.utoronto.ca/eFP-Seq_Browser/" />
<meta itemprop="description" content="eFP-Seq Browser" />
<meta itemprop="thumbnailUrl" content="https://bar.utoronto.ca/eFP-Seq_Browser/cgi-bin/icon/resoc.png" />
<link rel="image_src" href="https://bar.utoronto.ca/eFP-Seq_Browser/cgi-bin/icon/resoc.png" />
<meta itemprop="image" content="https://bar.utoronto.ca/eFP-Seq_Browser/cgi-bin/icon/resoc.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://bar.utoronto.ca/eFP-Seq_Browser/" />
<meta property="twitter:title" content="eFP-Seq Browser" />
<meta
property="twitter:description"
content="An RNA-Seq data exploration tool that shows read map coverage of a gene along with a coloured eFP image."
/>
<meta property="twitter:image" content="https://bar.utoronto.ca/eFP-Seq_Browser/icon/resoc.png" />
<meta name="twitter:site" content="@BAR_PlantBio" />
<meta name="twitter:title" content="eFP-Seq Browser" />
<meta name="twitter:image" content="https://bar.utoronto.ca/eFP-Seq_Browser/icon/resoc.png" />
<meta name="twitter:url" content="https://twitter.com/BAR_PlantBio" />
<meta name="twitter:creator" content="@BAR_PlantBio" />
<meta name="twitter:domain" content="bar.utoronto.ca" />
<meta
name="twitter:description"
content="An RNA-Seq data exploration tool that shows read map coverage of a gene along with a coloured eFP image."
/>
<!-- Schema/Structured Data -->
<script type="application/ld+json">
{
"url": "https://bar.utoronto.ca/eFP-Seq_Browser/",
"name": "eFP-Seq Browser",
"description": "An RNA-Seq data exploration tool that shows read map coverage of a gene along with a coloured eFP image",
"image": "https://bar.utoronto.ca/eFP-Seq_Browser/cgi-bin/icon/resoc.png",
"@context": "http://schema.org",
"@type": "WebSite"
}
</script>
<!-- END META DATA -->
<!-- LIBRARIES AND PACKAGES -->
<!-- jQuery -->
<script rel="preload" as="script" src="cgi-bin/core/packages/jQuery/jquery.min.js"></script>
<!-- END jQuery -->
<!-- Google APIs-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons&display=swap" rel="stylesheet" />
<link
rel="stylesheet preload"
href="cgi-bin/core/packages/GoogleMaterial/material.green-pink.min.css"
as="style"
/>
<script async rel="preload" as="script" src="cgi-bin/core/packages/GoogleMaterial/material.min.js"></script>
<!-- END Google APIs-->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async rel="preconnect" src="https://www.googletagmanager.com/gtag/js?id=G-RB9VJGE97E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-RB9VJGE97E");
</script>
<!-- End Global site tag (gtag.js) - Google Analytics -->
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
let f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != "dataLayer" ? "&l=" + l : "";
j.async = true;
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", "GTM-PDZGM64");
</script>
<!-- End Google Tag Manager -->
<!-- Google Identity login -->
<script src="https://accounts.google.com/gsi/client" async defer></script>
<!-- End Google Identity login -->
<!-- jQuery UI -->
<link rel="stylesheet preload" href="cgi-bin/core/packages/jQuery-ui/jquery-ui.min.css" as="style" />
<script async rel="preload" as="script" src="cgi-bin/core/packages/jQuery-ui/jquery-ui.min.js"></script>
<!-- END jQuery UI -->
<!-- Bootstrap -->
<link rel="stylesheet preload" href="cgi-bin/core/packages/boostrap/css/bootstrap.min.css" as="style" />
<script async rel="preload" as="script" src="cgi-bin/core/packages/boostrap/js/bootstrap.min.js"></script>
<!-- END Bootstrap -->
<!-- Main stylesheet -->
<link rel="stylesheet preload" href="cgi-bin/core/style.min.css" as="style" />
<!-- END Main stylesheet -->
<!-- END LIBRARIES AND PACKAGES -->
</head>
<body id="bodyContainer" style="overflow: hidden !important; position: relative; max-height: 100vh">
<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-PDZGM64"
height="0"
width="0"
style="display: none; visibility: hidden"
title="Google Tag Manager's iFrame"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="testing_count" hidden="hidden">count</div>
<!-- Pre-body requirements -->
<div id="loading_requirement">
<div class="done_loading" id="loading_screen"></div>
</div>
<!-- Progress bar -->
<div
class="progress"
style="width: 100%; height: 5px; position: fixed; margin-top: 0px; top: 0px; z-index: 100"
id="progress_requirement"
hidden
>
<div
id="progress"
class="progress-bar progress-bar-success"
role="progressbar"
aria-valuenow="1"
aria-valuemin="0"
aria-valuemax="113"
style="width: 1%"
></div>
</div>
<div id="progress_tooltip" class="mdl-tooltip" for="title_bar">Typical load time less than 10 mins.</div>
<!-- Failure warning regarding retrieving gene information -->
<div id="failure" class="alert alert-danger alert-dismissible" role="alert" style="display: none">
<button type="button" class="close" style="margin-top: -5px" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<strong>Data Request Failure!</strong> At least one data request failed, trying again typically fixes these
issues. Contact us with specific details if the problem persists.
</div>
<!-- Primary displayed content -->
<div id="mainContainer" class="container-fluid" role="main">
<div class="row" id="mainRow">
<!-- Navigation menu-->
<div class="col-3 navbar_menu" id="navbar_menu">
<!-- Title -->
<div id="nm_title" style="margin-bottom: 5%; margin-top: 2.5%">
<div class="row">
<!-- Toggle menu button -->
<div class="col-1" id="nm_menu_icon">
<em
class="material-icons"
style="color: white; cursor: pointer"
onclick="displayNavBAR();"
>menu</em
>
</div>
<!-- Back to BAR homepage -->
<div class="col-2" id="nm_title_img">
<a href="https://bar.utoronto.ca/">
<img loading="lazy" src="cgi-bin/img/BAR-logo.svg" style="height: 5em" alt="BAR" />
</a>
</div>
<!-- Title text -->
<div
class="col-8"
id="nm_title_words"
style="margin: auto; display: inline-block; vertical-align: middle"
>
<a id="hrefTitle" href="./" style="text-decoration: none"
><p class="navbar_menu_title">eFP-Seq Browser</p></a
>
</div>
</div>
</div>
<!-- Required 4 inputs for visualizing information -->
<div id="nm_selection">
<!-- Locus input -->
<div id="locusBrowser" class="form-group navbar_menu_form_group">
<p class="navbar_menu_general_font">1) Enter a gene name or AGI ID</p>
<input
type="text"
class="form-control navbar_menu_clickable navbar_menu_input disableOnLoading"
name="Locus"
id="locus"
value="AT2G24270"
onkeypress="IfPressEnter(event, 'locus_button')"
aria-label="Gene/Locus search"
autofocus
/>
</div>
<div class="mdl-tooltip" for="locusBrowser">Locus example: AT2G24270</div>
<!-- Dataset selection -->
<div id="publicDatabase" class="form-group navbar_menu_form_group">
<p class="navbar_menu_general_font">2) Select a dataset</p>
<select
class="xmlDatabase form-control navbar_menu_clickable navbar_menu_input disableOnLoading"
id="xmlDatabase"
name="xmlDatabase"
style="height: 34px"
type="text"
data-help-text="xmlDatabase"
onclick="check_if_Google_login()"
onchange="changePublicData()"
aria-label="Dataset selection"
title="Dataset selection"
>
<option value="-- eFP-Seq Browser public database options --" disabled>
-- eFP-Seq Browser Public Database Options --
</option>
<option value="Araport 11 RNA-seq data" tag="preload">Araport 11 RNA-seq data</option>
<option value="Developmental transcriptome - Klepikova et al" tag="preload">
Developmental transcriptome - Klepikova et al
</option>
<option value="Guard Cell Drought" tag="preload">Guard Cell Drought</option>
<option
value="-- Uploaded dataset --"
id="uploaded_dataset_header"
disabled
style="display: none"
>
-- Uploaded dataset --
</option>
<option
value="Uploaded dataset"
id="uploaded_dataset"
style="display: none"
tag="private"
>
Uploaded dataset
</option>
<option
value="-- Private database options --"
id="private_dataset_header"
disabled
style="display: none"
>
-- Private database options --
</option>
<option
value="-- Community submitted dataset --"
id="community_dataset_header"
disabled
style="display: none"
>
-- Community submitted dataset --
</option>
</select>
<div id="hold-xml"></div>
</div>
<div class="mdl-tooltip" for="publicDatabase">
Load publicly available datasets/XMLs that can be visualized by the eFP-Seq Browser. Login
with Google to access your previously submitted databases.
</div>
<!-- Abs/Rel radio and scale/max -->
<div id="options_portion" class="navbar_menu_form_group">
<p class="navbar_menu_general_font">3) Select options</p>
<!-- Abs/Rel Radio -->
<div
id="default_radio"
class="btn-group select-radio d-flex"
data-toggle="buttons"
style="padding-bottom: 5%"
>
<label
id="abs_radio"
class="btn navbar_menu_buttons navbar_radio_buttons btn-secondary active disableOnLoading"
style="font-size: 1.5em"
data-value="abs"
onClick="switchRPKMMode(this.id)"
>
Absolute
</label>
<label
id="rel_radio"
class="btn navbar_menu_buttons navbar_radio_buttons btn-secondary disableOnLoading"
style="font-size: 1.5em"
data-value="rel"
onClick="switchRPKMMode(this.id)"
>
Relative
</label>
</div>
<div class="mdl-tooltip" for="default_radio">
This controls the SVG colouring mode. Absolute is based on the RPKM values while
relative is based on the Log2 of the RPKM to average of the RPKM of the corresponding
controls.
</div>
<!-- Scale and value -->
<div id="scale_and_value" style="margin-bottom: 2%">
<div class="row">
<div class="col-5 navbar_menu_center" id="tt4">
<p
class="navbar_menu_general_font"
style="text-align: center; font-size: 1.25em"
>
Y-axis Scale
</p>
<input
type="text"
class="form-control navbar_menu_clickable navbar_menu_input disableOnLoading"
name="yscale_inp"
id="yscale_input"
onkeypress="IfPressEnter(event, 'locus_button')"
value="Auto"
aria-label="RNA-Seq Y-axis Scale. 'Auto' or >= 1"
/>
</div>
<div class="mdl-tooltip" for="tt4">RNA-Seq Y-axis Scale. 'Auto' or >= 1</div>
<div class="col-5 navbar_menu_center" id="absolutedefault">
<p
class="navbar_menu_general_font"
style="text-align: center; font-size: 1.25em"
>
Absolute Max
</p>
<input
type="text"
class="form-control navbar_menu_clickable navbar_menu_input disableOnLoading"
onkeyup="colour_svgs_now();"
name="rpkm_inp"
id="rpkm_scale_input"
value="1000"
aria-label="Absolute Max"
/>
</div>
<div class="mdl-tooltip" for="absolutedefault">
Automatically set to the highest value
</div>
</div>
</div>
</div>
<!-- Load data button -->
<div id="locusButton" class="navbar_menu_form_group">
<p class="navbar_menu_general_font">4) Load your dataset</p>
<button
id="locus_button"
onclick="change_dataset(); determineResponsiveTable()"
class="btn navbar_menu_loadData btn-block navbar_menu_clickable disableOnLoading"
>
LOAD DATA
</button>
</div>
</div>
<div class="mdl-tooltip" for="locusButton">Load new settings.</div>
<!-- Addition features -->
<div id="nm_Additional">
<p class="navbar_menu_general_font" style="padding-top: 3%">Additional Features</p>
<!-- eFP Overview -->
<div id="eFP_button">
<button
id="eFPOverview_open"
type="button"
class="btn navbar_menu_buttons btn-block navbar_menu_clickable disableOnLoading"
data-toggle="modal"
data-target="#eFPModal"
onclick="populate_efp_modal(1); $('#eFPModal').modal('toggle');"
disabled
>
eFP Overview
</button>
</div>
<div class="mdl-tooltip" for="eFPOverview_open">See all the eFP tissue levels in one table</div>
<!-- Download the table as a CSV/Excel -->
<div id="download_button">
<button
id="download_icon"
type="button"
class="btn navbar_menu_buttons btn-block navbar_menu_clickable disableOnLoading"
onclick="download_mainTableCSV();"
disabled
>
Download table as CSV
</button>
</div>
<div class="mdl-tooltip" for="download_icon">
Download the currently displayed dataset as a CSV (Excel) file
</div>
<!-- Download the table as an image -->
<div id="download_tableAsImage">
<button
id="download_tableDiv"
type="button"
class="btn navbar_menu_buttons btn-block navbar_menu_clickable disableOnLoading"
onclick="downloadDiv('theTable')"
disabled
>
Download table as image
</button>
</div>
<div class="mdl-tooltip" for="download_icon">
Download the currently displayed dataset as an image
</div>
<!-- Compare gene variants of the table -->
<div id="compareGeneVariantsContainer">
<button
id="compareGeneVariants"
type="button"
class="btn navbar_menu_buttons btn-block navbar_menu_clickable"
data-toggle="modal"
data-target="#CompareGeneVariants"
onClick="$('#CompareGeneVariants').modal('toggle');"
disabled
>
Compare gene variants
</button>
</div>
<div class="mdl-tooltip" for="download_icon">
Compare selected samples against all of it's gene variants
</div>
<!-- Generate a share link -->
<div id="share_button">
<button
id="generateShareLink"
type="button"
class="btn navbar_menu_buttons btn-block navbar_menu_clickable disableOnLoading"
onclick="generateShareLink(); $('#ShareLinkModal').modal('toggle');"
data-toggle="modal"
data-target="#ShareLinkModal"
disabled
>
Generate Share Link
</button>
</div>
<div class="mdl-tooltip" for="generateShareLink">Generate a link to share loaded data</div>
<!-- Generate own data/submission page -->
<div id="generate_button">
<button
id="generateData"
type="button"
class="btn navbar_menu_buttons btn-block navbar_menu_clickable disableOnLoading"
onclick="get_user_XML_display(); $('#SubmissionModal').modal('toggle');"
data-toggle="modal"
data-target="#SubmissionModal"
>
Generate Data
</button>
</div>
<div class="mdl-tooltip" for="generateData">
Generate an XML config file to view your own BAM files
</div>
<!-- Upload XML/data -->
<div id="uploadData_button">
<button
id="upload_button"
type="button"
class="btn navbar_menu_buttons btn-block spacerBottom navbar_menu_clickable disableOnLoading"
onclick="which_upload_option(); uploadingData = true; $('#uploadModal').modal('toggle');"
>
Upload Data
</button>
<!-- Hidden buttons to open either upload to private database if logged in (upload_modal) or if not logged in, just upload directly (upload_logX) -->
<button id="upload_modal" data-toggle="modal" data-target="#uploadModal" hidden></button>
<button
id="upload_logX"
onclick="document.getElementById('fileID').click(); emptyLanding();"
hidden
></button>
<input
type="file"
id="fileID"
hidden
accept="text/xml"
aria-label="Ignore - Meant to XML processing"
/>
</div>
<div class="mdl-tooltip" for="upload_button">
Upload your generated data (as XML format) to be visualized in the eFP-Seq Browser
</div>
<!-- Manage account -->
<div id="manageAccount_button" style="display: none">
<button
id="manageXMLs"
type="button"
class="btn navbar_menu_buttons btn-block navbar_menu_clickable disableOnLoading"
onclick="$('#logoutModal').modal('toggle'); delete_fill(); fill_tableCSV(); hideWarning_index();"
data-toggle="modal"
data-target="#logoutModal"
>
Manage Account
</button>
</div>
<div class="mdl-tooltip" for="manageXMLs">
Manage files and data associated with your account
</div>
</div>
<!-- Footer of navbar -->
<div id="nm_footer" class="navbar_menu_footer_overflow_sticky row">
<!-- Help button -->
<div class="col-6" id="help">
<p class="navbar_menu_footer_help" style="text-align: center; margin: auto !important">
<a
data-toggle="modal"
data-target="#myModal"
onClick="$('#myModal').modal('toggle');"
id="help_button"
style="cursor: help"
>Help</a
>
</p>
</div>
<!-- Sign in/out using Google -->
<div class="col-6">
<div class="container-fluid" style="padding-left: 0px; margin-left: -5px; margin-top: -5px">
<div
data-auto_select="false"
data-callback="onSignIn"
data-client_id="505765553389-ckpd42b8ub1u66gd1fegt585ta48tkkh.apps.googleusercontent.com"
data-context="signin"
data-itp_support="true"
data-text="signin"
data-use_fedcm_for_prompt="true"
data-ux_mode="popup"
id="g_id_onload"
></div>
<div
class="g_id_signin"
data-auto_select="false"
data-logo_alignment="left"
data-shape="rectangular"
data-size="large"
data-text="signin"
data-theme="outline"
data-type="standard"
id="g_id_signin"
></div>
<div id="custom_g_signed_in" class="custom_g_signed_in" hidden>
<button
class="btn btn-block custom_g_signed_in_button"
id="signOut"
onclick="signOut();"
>
<img
alt=""
class="custom_g_signed_in_profile_pic"
id="signed_in_profile_pic"
src=""
style="width: 30px; height: 30px; border-radius: 50%; margin-right: 5px"
/>
<span id="signOut_text" class="custom_g_signed_in_text">Sign Out</span>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Displayed information -->
<div class="col-9" style="overflow-y: auto; height: 100vh; padding: 1px !important" id="main_content">
<div id="displayError"></div>
<!-- Landing page -->
<div id="landing" style="background-color: white">
<div id="landing_body" style="padding: 3%">
<h1 style="text-align: center; padding-top: 3%">
Welcome to the <em>Arabidopsis thaliana</em> eFP-Seq Browser
</h1>
<p style="text-align: justify; font-family: Arial">
The eFP-Seq Browser allows you to explore RNA-seq-based gene expression levels for your
gene of interest in different expression datasets. Simply enter your gene identifier in
the first box on the left, select a dataset, adjust the options if desired, and click
Load Data. The output is a table depicting your gene's expression details (readmap
coverage, RPKM expression levels) across all the samples in the database. Try it with
the default settings!
</p>
<img
fetchpriority="high"
loading="auto"
id="landingPage_image"
src="cgi-bin/img/landingPage.webp"
alt="Welcome to the eFP-Seq Browser!"
style="max-width: 90%; height: auto; display: block; margin: auto; width: 90%"
/>
<br />
<p style="text-align: justify; font-family: Arial">
Developed by Alexander Sullivan, Priyank K. Purohit, Nowlan H. Freese, Asher Pasha, Eddi
Esteban, Jamie Waese, Alison Wu, Michelle Chen, Chih Y. Chin, Richard Song, Sneha R.
Watharkar, Agnes P. Chan, Vivek Krishnakumar, Matthew W. Vaughn, Chris Town, Ann E.
Loraine, Nicholas J. Provart at the University of Toronto.
</p>
</div>
</div>
<!-- RNA-Seq table -->
<div class="col-12 table-responsive body_of_loading_done" id="body_of" hidden></div>
<!-- Back to top -->
<a
class="backToTop"
onclick="returnBackToTop()"
id="backToTop"
title="Return To Top"
style="display: none"
>
<em
class="material-icons"
style="-webkit-transform: scaleY(-1); transform: scaleY(-1); color: black"
>arrow_drop_down_circle</em
>
</a>
<div class="dropdown"></div>
<!-- Toggle table columns -->
<div class="btn-group dropup">
<a
class="tableToggle"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
id="tableToggle"
title="Toggle on/off columns in RNA-table"
style="display: none"
onClick="setTimeout(function() {adjustTableOptionsDropdownSize()}, 50); toggleOptionsTable()"
>
<em
class="material-icons"
style="-webkit-transform: scaleY(-1); transform: scaleY(-1); color: black"
>settings</em
>
</a>
<ul id="filterDropdown" class="dropdown-menu" style="font-size: 12px; min-width: 280px">
<div class="card text-center">
<div class="card-header">
<ul class="nav nav-tabs card-header-tabs">
<li class="nav-item">
<a
class="nav-link active"
id="tableFilter-tab"
data-toggle="tab"
href="#tableFilter"
role="tab"
aria-controls="tableFilter"
aria-selected="true"
onclick="toggleTableOptionsView();"
>Filter Table</a
>
</li>
<li class="nav-item">
<a
class="nav-link"
id="eFPFilter-tab"
data-toggle="tab"
href="#eFPFilter"
role="tab"
aria-controls="eFPFilter"
aria-selected="false"
onclick="toggleTableOptionsView();"
>Filter eFP Images</a
>
</li>
</ul>
</div>
<div class="tab-content" id="tableFilterTabContent">
<!-- Filter table content -->
<div
class="tab-pane fade show active PnCPolicy"
id="tableFilter"
role="tabpanel"
aria-labelledby="tableFilter-tab"
>
<li class="form-check">
<input
class="form-check-input"
type="checkbox"
id="toggleTitle"
onclick="toggleTableCol('colTitle', document.getElementById('toggleTitle').checked); RememberToggleOptions(document.getElementById('toggleTitle').checked, ToggledTable[1], ToggledTable[2], ToggledTable[3], ToggledTable[4], ToggledTable[5], ToggledTable[6]); usedToggle = true;"
style="margin: 6px 5px 0"
value="toggleTitle"
aria-label="Toggle title for filtering"
checked
/>
<p
class="form-check-label"
for="toggleTitle"
style="padding-left: 20px; font-weight: 10"
>
Toggle Title
</p>
</li>
<li class="form-check">
<input
class="form-check-input"
type="checkbox"
id="toggleRNA"
onclick="toggleTableCol('colRNA', document.getElementById('toggleRNA').checked); RememberToggleOptions(ToggledTable[0], document.getElementById('toggleRNA').checked, ToggledTable[2], ToggledTable[3], ToggledTable[4], ToggledTable[5], ToggledTable[6]); usedToggle = true;"
style="margin: 6px 5px 0"
value="toggleRNA"
aria-label="Toggle RNA-Seq coverage map for filtering"
checked
/>
<p
class="form-check-label"
for="toggleRNA"
style="padding-left: 20px; font-weight: 10"
>
Toggle RNA-Seq Coverage
</p>
</li>
<li class="form-check">
<input
class="form-check-input"
type="checkbox"
id="togglerpb"
onclick="toggleTableCol('colrpb', document.getElementById('togglerpb').checked); RememberToggleOptions(ToggledTable[0], ToggledTable[1], document.getElementById('togglerpb').checked, ToggledTable[3], ToggledTable[4], ToggledTable[5], ToggledTable[6]); usedToggle = true;"
style="margin: 6px 5px 0"
value="togglerpb"
aria-label="Toggle r statistically value for filtering"
checked
/>
<p
class="form-check-label"
for="togglerpb"
style="padding-left: 20px; font-weight: 10"
>
Toggle r<sub>pb</sub>
</p>
</li>
<li class="form-check">
<input
class="form-check-input"
type="checkbox"
id="toggleeFP"
onclick="toggleTableCol('coleFP', document.getElementById('toggleeFP').checked); RememberToggleOptions(ToggledTable[0], ToggledTable[1], ToggledTable[2],document.getElementById('toggleeFP').checked, ToggledTable[4], ToggledTable[5], ToggledTable[6]); usedToggle = true;"
style="margin: 6px 5px 0"
value="toggleeFP"
aria-label="Toggle eFP images for filtering"
checked
/>
<p
class="form-check-label"
for="toggleeFP"
style="padding-left: 20px; font-weight: 10"
>
Toggle eFP
</p>
</li>
<li class="form-check">
<input
class="form-check-input"
type="checkbox"
id="toggleRPKM"
onclick="toggleTableCol('colRPKM', document.getElementById('toggleRPKM').checked); RememberToggleOptions(ToggledTable[0], ToggledTable[1], ToggledTable[2], ToggledTable[3], document.getElementById('toggleRPKM').checked, ToggledTable[5], ToggledTable[6]); usedToggle = true;"
style="margin: 6px 5px 0"
value="toggleRPKM"
aria-label="Toggle RPKM for filtering"
checked
/>
<p
class="form-check-label"
for="toggleRPKM"
style="padding-left: 20px; font-weight: 10"
>
Toggle RPKM
</p>
</li>
<li class="form-check">
<input
class="form-check-input"
type="checkbox"
id="toggleDetails"
onclick="toggleTableCol('colDetails', document.getElementById('toggleDetails').checked); RememberToggleOptions(ToggledTable[0], ToggledTable[1], ToggledTable[2], ToggledTable[3], ToggledTable[4], document.getElementById('toggleDetails').checked, ToggledTable[6]); usedToggle = true;"
style="margin: 6px 5px 0"
value="toggleDetails"
aria-label="Toggle details for filtering"
checked
/>
<p
class="form-check-label"
for="toggleDetails"
style="padding-left: 20px; font-weight: 10"
>
Toggle Details
</p>
</li>
<li class="form-check">
<input
class="form-check-input"
type="checkbox"
id="toggleCompare"
onclick="toggleTableCol('colCompare', document.getElementById('toggleCompare').checked); RememberToggleOptions(ToggledTable[0], ToggledTable[1], ToggledTable[2], ToggledTable[3], ToggledTable[4], ToggledTable[5], document.getElementById('toggleCompare').checked); usedToggle = true;"
style="margin: 6px 5px 0"
value="toggleCompare"
aria-label="Toggle compare gene variants for filtering"
/>
<p
class="form-check-label"
for="toggleCompare"
style="padding-left: 20px; font-weight: 10"
>
Toggle Compare Gene Variants
</p>
</li>
</div>
<!-- Filter eFP content -->
<div
class="tab-pane fade PnCPolicy"
id="eFPFilter"
role="tabpanel"
aria-labelledby="eFPFilter-tab"
>
<nav class="navScroll" id="filtereFPList"></nav>
</div>
</div>
</div>
</ul>
</div>
</div>
<script>
let filter1 = "flt2_theTable";
let filter2 = "flt4_theTable";
/**
* Checks if input argument is a number or not
* @param {String | Number} n Input being checked
* @return {Boolean} True if number, false elsewords
*/
function checkNum(n) {
let test = parseFloat(document.getElementById(n).value);
if (isNaN(test)) {
return false;
} else {
return true;
}
}
function filter_num(filter_id1, filter_id2) {
if (
document.getElementById(filter_id1).value.includes("<=") == false &&
document.getElementById(filter_id1).value.includes(">") == false &&
document.getElementById(filter_id1).value.includes("<") == false &&
document.getElementById(filter_id1).value.includes(">=") == false &&
(document.getElementById(filter_id1).value == "") == false &&
checkNum(filter_id1) == true
) {
document.getElementById(filter_id1).value =
">=" + document.getElementById(filter_id1).value;
}
if (
document.getElementById(filter_id2).value.includes("<=") == false &&
document.getElementById(filter_id2).value.includes(">") == false &&
document.getElementById(filter_id2).value.includes("<") == false &&
document.getElementById(filter_id2).value.includes(">=") == false &&
(document.getElementById(filter_id2).value == "") == false &&
checkNum(filter_id2) == true
) {
document.getElementById(filter_id2).value =
">=" + document.getElementById(filter_id2).value;
}
}
</script>
</div>
</div>
<!-- Privacy and Cookies -->
<div id="PrivacyAndCookies" class="PnC" hidden>
<div class="container-fluid">
<div class="row">
<div id="PnCText" class="col-10 PnCText">
The eFP-Seq Browser uses cookies to improve your experience with our tool.
<a
data-toggle="modal"
data-target="#PnCModal"
id="openPnCLearnMore"
style="cursor: help; color: #0673e8"
onclick="DetectBrowser(); $('#PnCModal').modal('toggle');"
>Click here to learn more</a
>
</div>
<div id="PnCClose" class="col-2 PnCClose">
<button class="btn btn-success" style="font-size: 1em" onclick="PnCDisappear()">Close</button>
</div>
</div>
</div>
</div>
<!-- Modals -->
<!-- Help modal -->
<div
id="myModal"
class="modal fade"
tabindex="-1"
role="dialog"
aria-labelledby="myLargeModalLabel"
style="z-index: 5000"
>
<div
class="modal-dialog modal-lg"
style="width: 940px; max-width: 90%; margin-left: auto; margin-right: auto"
>
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<!-- Intro -->
<div id="accordion" class="accordion" style="font-size: 1.2em">
Welcome to the eFP-Seq Browser! Click on any of the following collapsing cards to learn more
about how the eFP-Seq Browser works and how you can use it.
<!-- About card -->
<div class="card accordion-item about">
<div class="accordion-header" id="about">
<p class="mb-0">
<button
id="aboutCardTitle"
class="accordion-button collapsed cardTitle"
type="button"
data-bs-toggle="collapse"
data-bs-target="#aboutCard"
aria-expanded="true"
aria-controls="aboutCard"
>
About the eFP-Seq Browser
</button>
</p>
</div>
<div
id="aboutCard"
class="accordion-collapse collapse"
aria-labelledby="about"
data-bs-parent="#accordion"