Swamy71 commited on
Commit
3c31eef
·
verified ·
1 Parent(s): 7f8a212

Add raw_counts_data

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ raw_counts_data/counts.h5ad filter=lfs diff=lfs merge=lfs -text
raw_counts_data/MasterFile.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01460957be1fd1119e1afc36a1848c77bb78812eebb87c0665a50fb269ec1166
3
+ size 501509914
raw_counts_data/counts.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3daed5b798baaacf027b9c3bd4bb248d10e5acf186885eb2dbb076029a7d6094
3
+ size 3537733834
raw_counts_data/data_shape_summary.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Z-Screen Dataset: Global Data Map & Architecture Summary
2
+
3
+ This report maps the structural dimensions, screening configurations, cell lines, libraries, and device associations for the current dataset.
4
+
5
+ > [!NOTE]
6
+ > This dataset contains transcriptomic counts representing **768,162 nanowells** profiled across **49 devices** (0–48), testing **14 libraries** against **6 cell lines / clone variants**.
7
+ >
8
+ > **Nanowell Architecture:** Each row/observation in the data represents a single **nanowell** rather than an individual cell. Each physical nanowell is **90 microns in diameter by 120 microns tall** and holds approximately **2–10 cells**.
9
+
10
+ ---
11
+
12
+ ## 📊 High-Level Metrics
13
+
14
+ | Metric | Count | Details |
15
+ | :--- | :--- | :--- |
16
+ | **Total Wells (Observations)** | **768,162** | Mapped 1-to-1 across `MasterFile`, `chemistry`, and `counts.h5ad` |
17
+ | **Total Features (Genes)** | **46,944** | Gene expression profiles stored in `counts.h5ad` |
18
+ | **Screening Devices** | **49** | Numbered 0 to 48 |
19
+ | **Unique Cell Lines** | **6** | HEK293, HEK293-clone, A549, H1650, THP1, AEC7 |
20
+ | **Screened Libraries** | **14** | 9 Named control compounds/control libraries, 3 OBOC libraries, 2 Control bead libraries |
21
+ | **Unique Compounds / Precursors** | **142,227** | 78 named controls, 142,149 OBOC building blocks, and controls |
22
+
23
+ ---
24
+
25
+ ## 🧪 Libraries & Nomenclature Breakdown
26
+
27
+ The screening libraries and control sets are classified using the following nomenclature:
28
+ * **`ZEL` Prefix**: Represents **One-Bead One-Compound (OBOC) combinatorial libraries** (testing building block precursor fragments, e.g., `ZEL024`, `ZEL028-2`, `ZEL031`).
29
+ * **`ZIC` Prefix**: Represents **named control compounds** (testing targeted, fully synthesized compounds, e.g., target inhibition screen `ZIC008`).
30
+ * **No-Compound Controls**:
31
+ * **`ZEL026-2`** represents a **set of no-compound control beads** (not a combinatorial library).
32
+ * **`ZIC005`** & **`ZIC005-2`** represent **no-compound controls** (with `ZIC005` profiling water/vehicle controls).
33
+
34
+ | Library | Nomenclature Category | Unique Compound IDs | Unique SMILES | Unique Names | Nanowell Count |
35
+ | :--- | :--- | :---: | :---: | :---: | :---: |
36
+ | **ZIC008** | Named Control Compounds | 35 | 35 | 35 | 256,052 |
37
+ | **ZEL024** | OBOC Combinatorial Library | 13,934 | 13,934 | 1 | 175,285 |
38
+ | **ZEL028-2** | OBOC Combinatorial Library | 117,950 | 117,950 | 1 | 134,821 |
39
+ | **ZEL026-2** | No-Compound Control Beads | 0 | 0 | 1 | 95,583 |
40
+ | **ZEL031** | OBOC Combinatorial Library | 10,265 | 10,265 | 1 | 43,241 |
41
+ | **ZIC009** | Named Control Compounds | 31 | 31 | 31 | 31,107 |
42
+ | **ZIC002** | Named Control Compounds | 7 | 0 | 7 | 10,999 |
43
+ | **ZIC005-2** | No-Compound Control | 0 | 0 | 1 | 7,891 |
44
+ | **ZIC001** | Named Control Compounds | 2 | 2 | 2 | 6,569 |
45
+ | **ZIC006** | Named Control Compounds | 1 | 1 | 1 | 2,099 |
46
+ | **ZIC004** | Named Control Compounds | 1 | 1 | 1 | 1,913 |
47
+ | **ZIC003** | Named Control Compounds | 2 | 0 | 2 | 1,880 |
48
+ | **ZIC007** | Named Control Compounds | 4 | 4 | 4 | 565 |
49
+ | **ZIC005** | No-Compound Control (Water) | 1 | 1 | 1 | 157 |
50
+ | **Total** | | **142,227** | **142,218** | **79** | **768,162** |
51
+
52
+ ---
53
+
54
+ ## 🧫 Cell Line Screen Matrix
55
+
56
+ The table below shows the nanowell count distribution for each library screened across each cell line:
57
+
58
+ | Library | A549 | AEC7 | H1650 | HEK293 | HEK293-clone | THP1 | Total Wells |
59
+ | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
60
+ | **ZEL024** | 0 | 0 | 21,545 | 153,740 | 0 | 0 | 175,285 |
61
+ | **ZEL026-2** | 26,718 | 36,827 | 17,086 | 0 | 14,952 | 0 | 95,583 |
62
+ | **ZEL028-2** | 42,435 | 0 | 26,694 | 65,692 | 0 | 0 | 134,821 |
63
+ | **ZEL031** | 20,868 | 0 | 431 | 0 | 0 | 21,942 | 43,241 |
64
+ | **ZIC001** | 0 | 0 | 1,229 | 3,858 | 0 | 1,482 | 6,569 |
65
+ | **ZIC002** | 0 | 0 | 806 | 9,558 | 0 | 635 | 10,999 |
66
+ | **ZIC003** | 0 | 0 | 378 | 919 | 0 | 583 | 1,880 |
67
+ | **ZIC004** | 122 | 0 | 411 | 0 | 0 | 1,380 | 1,913 |
68
+ | **ZIC005** | 0 | 0 | 109 | 0 | 0 | 48 | 157 |
69
+ | **ZIC005-2** | 0 | 7,891 | 0 | 0 | 0 | 0 | 7,891 |
70
+ | **ZIC006** | 207 | 0 | 631 | 0 | 0 | 1,261 | 2,099 |
71
+ | **ZIC007** | 0 | 0 | 452 | 0 | 0 | 113 | 565 |
72
+ | **ZIC008** | 84,952 | 91,448 | 26,382 | 19,010 | 34,260 | 0 | 256,052 |
73
+ | **ZIC009** | 0 | 31,107 | 0 | 0 | 0 | 0 | 31,107 |
74
+
75
+ ---
76
+
77
+ ## 📱 Devices Analysis & Metadata Mapping
78
+
79
+ ### 1. Is each device an individual cell line?
80
+ **Yes.** Every physical screening device (0–48) runs exactly **one cell line** (no cell line mixing on-chip).
81
+
82
+ ### 2. Is each device a unique library?
83
+ **No.** Every device contains **multiple libraries** (ranging from **2 to 8** libraries pooled per device).
84
+
85
+ ### 3. How many devices contain no-compound controls?
86
+ * **No-Compound Controls**: Present in **24 devices** (Devices 8, 9, 17, 18, 21, 22, 29, 30, and 33 through 48, representing `capture_only` roles and water vehicle control sets).
87
+ * **OBOC Combinatorial Libraries**: Present in **24 devices** (Devices 0–7, 10, 12–16, 19, 20, 23–28, 31, 32).
88
+ * **Only 1 Device (Device 11)** contains named control compounds exclusively with no-compound or combinatorial controls.
89
+
90
+ ---
91
+
92
+ ## 🗺️ Detailed Device Map
93
+
94
+ The device-by-device configuration shows cell line mapping and library counts:
95
+
96
+ | Device ID | Cell Line | Libraries Mapped | Wells Count | Control Roles |
97
+ | :---: | :--- | :--- | :---: | :--- |
98
+ | **Device 0** | HEK293 | `ZEL024, ZIC002, ZIC001` | 27,361 | OBOC Library (25,310), Named Controls (2,051) |
99
+ | **Device 1** | HEK293 | `ZEL024, ZIC002, ZIC001` | 22,011 | OBOC Library (20,398), Named Controls (1,613) |
100
+ | **Device 2** | HEK293 | `ZEL024, ZIC002, ZIC001` | 32,906 | OBOC Library (30,307), Named Controls (2,599) |
101
+ | **Device 3** | HEK293 | `ZEL024, ZIC002, ZIC001` | 30,518 | OBOC Library (28,064), Named Controls (2,454) |
102
+ | **Device 4** | HEK293 | `ZEL024, ZIC003, ZIC002, ZIC001` | 30,013 | OBOC Library (26,973), Named Controls (3,040) |
103
+ | **Device 5** | HEK293 | `ZEL024, ZIC003, ZIC002, ZIC001` | 25,266 | OBOC Library (22,688), Named Controls (2,578) |
104
+ | **Device 6** | H1650 | `ZEL024, ZIC002, ZIC005, ZIC001, ZIC003` | 20,099 | OBOC Library (19,253), Named Controls (846 - including ZIC005 Water Control) |
105
+ | **Device 7** | H1650 | `ZEL024, ZIC003, ZIC005, ZIC002, ZIC001` | 2,555 | OBOC Library (2,292), Named Controls (263 - including ZIC005 Water Control) |
106
+ | **Device 8** | H1650 | `ZEL026-2, ZIC007, ZIC004, ZIC006, ZIC003, ZIC002, ZIC001` | 12,422 | No-Compound Control Beads (10,369), Named Controls (2,053) |
107
+ | **Device 9** | H1650 | `ZEL026-2, ZIC006, ZIC003, ZIC004, ZIC002, ZIC001, ZIC007` | 7,571 | No-Compound Control Beads (6,717), Named Controls (854) |
108
+ | **Device 10** | THP1 | `ZIC006, ZEL031, ZIC007, ZIC004, ZIC005, ZIC002, ZIC003, ZIC001` | 3,748 | OBOC Library (2,837), Named Controls (911 - including ZIC005 Water Control) |
109
+ | **Device 11** | A549 | `ZIC006, ZIC004` | 257 | Named Controls (257) |
110
+ | **Device 12** | THP1 | `ZEL031, ZIC004, ZIC006, ZIC003, ZIC002, ZIC001` | 23,696 | OBOC Library (19,105), Named Controls (4,591) |
111
+ | **Device 13** | A549 | `ZIC008, ZEL031` | 13,602 | Named Controls (7,771), OBOC Library (5,831) |
112
+ | **Device 14** | A549 | `ZIC008, ZEL031` | 9,878 | Named Controls (5,583), OBOC Library (4,295) |
113
+ | **Device 15** | A549 | `ZIC008, ZEL031` | 16,898 | Named Controls (11,376), OBOC Library (5,522) |
114
+ | **Device 16** | A549 | `ZIC008, ZEL031` | 12,261 | Named Controls (7,041), OBOC Library (5,220) |
115
+ | **Device 17** | A549 | `ZIC008, ZEL026-2, ZIC004` | 13,675 | Named Controls (9,757), No-Compound Control Beads (3,918) |
116
+ | **Device 18** | A549 | `ZIC008, ZEL026-2, ZIC004` | 11,332 | Named Controls (8,428), No-Compound Control Beads (2,904) |
117
+ | **Device 19** | H1650 | `ZIC008, ZEL031` | 6,390 | Named Controls (6,283), OBOC Library (107) |
118
+ | **Device 20** | H1650 | `ZIC008, ZEL031` | 14,227 | Named Controls (13,903), OBOC Library (324) |
119
+ | **Device 21** | A549 | `ZEL026-2, ZIC008` | 27,839 | Named Controls (15,125), No-Compound Control Beads (12,714) |
120
+ | **Device 22** | A549 | `ZIC008, ZEL026-2` | 18,240 | Named Controls (11,058), No-Compound Control Beads (7,182) |
121
+ | **Device 23** | A549 | `ZIC008, ZEL028-2` | 23,608 | OBOC Library (20,152), Named Controls (3,456) |
122
+ | **Device 24** | H1650 | `ZIC008, ZEL028-2` | 14,178 | OBOC Library (12,056), Named Controls (2,122) |
123
+ | **Device 25** | A549 | `ZIC008, ZEL028-2` | 27,712 | OBOC Library (22,283), Named Controls (5,429) |
124
+ | **Device 26** | H1650 | `ZIC008, ZEL028-2` | 18,712 | OBOC Library (14,638), Named Controls (4,074) |
125
+ | **Device 27** | HEK293 | `ZIC008, ZEL028-2` | 17,999 | OBOC Library (14,494), Named Controls (3,505) |
126
+ | **Device 28** | HEK293 | `ZIC008, ZEL028-2` | 15,808 | OBOC Library (12,865), Named Controls (2,943) |
127
+ | **Device 29** | HEK293-clone | `ZIC008, ZEL026-2` | 27,829 | Named Controls (19,951), No-Compound Control Beads (7,878) |
128
+ | **Device 30** | HEK293-clone | `ZIC008, ZEL026-2` | 21,383 | Named Controls (14,309), No-Compound Control Beads (7,074) |
129
+ | **Device 31** | HEK293 | `ZIC008, ZEL028-2` | 27,521 | OBOC Library (20,770), Named Controls (6,751) |
130
+ | **Device 32** | HEK293 | `ZIC008, ZEL028-2` | 23,374 | OBOC Library (17,563), Named Controls (5,811) |
131
+ | **Device 33** | AEC7 | `ZIC008, ZEL026-2, ZIC009` | 11,498 | Named Controls (7,910), No-Compound Control Beads (3,588) |
132
+ | **Device 34** | AEC7 | `ZEL026-2, ZIC008, ZIC009` | 11,250 | Named Controls (7,340), No-Compound Control Beads (3,910) |
133
+ | **Device 35** | AEC7 | `ZIC008, ZEL026-2, ZIC009` | 9,165 | Named Controls (6,075), No-Compound Control Beads (3,090) |
134
+ | **Device 36** | AEC7 | `ZIC008, ZEL026-2, ZIC009` | 12,111 | Named Controls (8,004), No-Compound Control Beads (4,107) |
135
+ | **Device 37** | AEC7 | `ZIC008, ZEL026-2, ZIC009` | 13,390 | Named Controls (9,358), No-Compound Control Beads (4,032) |
136
+ | **Device 38** | AEC7 | `ZEL026-2, ZIC008, ZIC009` | 17,504 | Named Controls (12,360), No-Compound Control Beads (5,144) |
137
+ | **Device 39** | AEC7 | `ZIC008, ZEL026-2, ZIC009` | 21,192 | Named Controls (13,801), No-Compound Control Beads (7,391) |
138
+ | **Device 40** | AEC7 | `ZIC008, ZEL026-2, ZIC009` | 16,318 | Named Controls (10,753), No-Compound Control Beads (5,565) |
139
+ | **Device 41** | AEC7 | `ZIC008, ZIC005-2, ZIC009` | 2,929 | Named Controls (2,587), No-Compound Control (342) |
140
+ | **Device 42** | AEC7 | `ZIC008, ZIC009, ZIC005-2` | 4,660 | Named Controls (3,990), No-Compound Control (670) |
141
+ | **Device 43** | AEC7 | `ZIC008, ZIC005-2, ZIC009` | 11,537 | Named Controls (9,698), No-Compound Control (1,839) |
142
+ | **Device 44** | AEC7 | `ZIC008, ZIC005-2, ZIC009` | 10,472 | Named Controls (8,618), No-Compound Control (1,854) |
143
+ | **Device 45** | AEC7 | `ZIC008, ZIC005-2, ZIC009` | 7,223 | Named Controls (6,209), No-Compound Control (1,014) |
144
+ | **Device 46** | AEC7 | `ZIC008, ZIC005-2, ZIC009` | 8,258 | Named Controls (7,242), No-Compound Control (1,016) |
145
+ | **Device 47** | AEC7 | `ZIC008, ZIC009, ZIC005-2` | 5,983 | Named Controls (5,136), No-Compound Control (847) |
146
+ | **Device 48** | AEC7 | `ZIC008, ZIC005-2, ZIC009` | 3,783 | Named Controls (3,474), No-Compound Control (309) |
raw_counts_data/data_shape_visualization.html ADDED
@@ -0,0 +1,1946 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>Z-Screen Data Shape Explorer</title>
6
+ <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
7
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
8
+ <style>
9
+ :root {
10
+ --bg-color: #0b0f19;
11
+ --card-bg: rgba(17, 25, 40, 0.75);
12
+ --border-color: rgba(255, 255, 255, 0.08);
13
+ --text-color: #f3f4f6;
14
+ --text-muted: #9ca3af;
15
+ --primary: #8b5cf6;
16
+ --primary-glow: rgba(139, 92, 246, 0.4);
17
+ --secondary: #06b6d4;
18
+ --accent: #f43f5e;
19
+ --font-main: 'Outfit', sans-serif;
20
+ --font-mono: 'JetBrains Mono', monospace;
21
+ }
22
+
23
+ * {
24
+ box-sizing: border-box;
25
+ margin: 0;
26
+ padding: 0;
27
+ }
28
+
29
+ body {
30
+ background-color: var(--bg-color);
31
+ color: var(--text-color);
32
+ font-family: var(--font-main);
33
+ min-height: 100vh;
34
+ overflow-x: hidden;
35
+ background-image:
36
+ radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0, transparent 50%),
37
+ radial-gradient(at 50% 0%, rgba(139, 92, 246, 0.08) 0, transparent 50%),
38
+ radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.08) 0, transparent 50%);
39
+ background-attachment: fixed;
40
+ }
41
+
42
+ header {
43
+ padding: 2.5rem 4rem 1.5rem 4rem;
44
+ border-bottom: 1px solid var(--border-color);
45
+ background: rgba(11, 15, 25, 0.8);
46
+ backdrop-filter: blur(12px);
47
+ position: sticky;
48
+ top: 0;
49
+ z-index: 100;
50
+ display: flex;
51
+ justify-content: space-between;
52
+ align-items: center;
53
+ }
54
+
55
+ .header-title h1 {
56
+ font-size: 1.8rem;
57
+ font-weight: 700;
58
+ background: linear-gradient(135deg, #fff 30%, var(--primary) 70%, var(--secondary) 100%);
59
+ -webkit-background-clip: text;
60
+ -webkit-text-fill-color: transparent;
61
+ margin-bottom: 0.25rem;
62
+ }
63
+
64
+ .header-title p {
65
+ color: var(--text-muted);
66
+ font-size: 0.95rem;
67
+ }
68
+
69
+ .nav-tabs {
70
+ display: flex;
71
+ gap: 0.5rem;
72
+ background: rgba(255, 255, 255, 0.03);
73
+ padding: 0.35rem;
74
+ border-radius: 30px;
75
+ border: 1px solid var(--border-color);
76
+ }
77
+
78
+ .tab-btn {
79
+ background: transparent;
80
+ border: none;
81
+ color: var(--text-muted);
82
+ padding: 0.6rem 1.4rem;
83
+ font-size: 0.9rem;
84
+ font-weight: 500;
85
+ border-radius: 25px;
86
+ cursor: pointer;
87
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
88
+ }
89
+
90
+ .tab-btn.active {
91
+ background: var(--primary);
92
+ color: #fff;
93
+ box-shadow: 0 0 15px var(--primary-glow);
94
+ }
95
+
96
+ .tab-btn:hover:not(.active) {
97
+ color: #fff;
98
+ background: rgba(255, 255, 255, 0.05);
99
+ }
100
+
101
+ .container {
102
+ max-width: 1400px;
103
+ margin: 2rem auto;
104
+ padding: 0 2rem;
105
+ }
106
+
107
+ .tab-content {
108
+ display: none;
109
+ }
110
+
111
+ .tab-content.active {
112
+ display: block;
113
+ animation: fadeIn 0.4s ease-out;
114
+ }
115
+
116
+ @keyframes fadeIn {
117
+ from { opacity: 0; transform: translateY(10px); }
118
+ to { opacity: 1; transform: translateY(0); }
119
+ }
120
+
121
+ /* Dashboard Overview Grid */
122
+ .stats-grid {
123
+ display: grid;
124
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
125
+ gap: 1.5rem;
126
+ margin-bottom: 2rem;
127
+ }
128
+
129
+ .stat-card {
130
+ background: var(--card-bg);
131
+ border: 1px solid var(--border-color);
132
+ border-radius: 16px;
133
+ padding: 1.5rem;
134
+ backdrop-filter: blur(16px);
135
+ position: relative;
136
+ overflow: hidden;
137
+ transition: border-color 0.3s;
138
+ }
139
+
140
+ .stat-card:hover {
141
+ border-color: rgba(139, 92, 246, 0.3);
142
+ }
143
+
144
+ .stat-card::before {
145
+ content: '';
146
+ position: absolute;
147
+ top: 0;
148
+ left: 0;
149
+ width: 4px;
150
+ height: 100%;
151
+ background: var(--primary);
152
+ }
153
+
154
+ .stat-card.cyan::before { background: var(--secondary); }
155
+ .stat-card.accent::before { background: var(--accent); }
156
+
157
+ .stat-label {
158
+ color: var(--text-muted);
159
+ font-size: 0.85rem;
160
+ text-transform: uppercase;
161
+ letter-spacing: 0.05em;
162
+ margin-bottom: 0.5rem;
163
+ }
164
+
165
+ .stat-value {
166
+ font-size: 2.2rem;
167
+ font-weight: 700;
168
+ margin-bottom: 0.25rem;
169
+ font-family: var(--font-mono);
170
+ }
171
+
172
+ .stat-subtext {
173
+ color: var(--text-muted);
174
+ font-size: 0.85rem;
175
+ }
176
+
177
+ .grid-2col {
178
+ display: grid;
179
+ grid-template-columns: 1fr 1fr;
180
+ gap: 2rem;
181
+ margin-bottom: 2rem;
182
+ }
183
+
184
+ @media (max-width: 900px) {
185
+ .grid-2col {
186
+ grid-template-columns: 1fr;
187
+ }
188
+ }
189
+
190
+ .panel {
191
+ background: var(--card-bg);
192
+ border: 1px solid var(--border-color);
193
+ border-radius: 20px;
194
+ padding: 2rem;
195
+ backdrop-filter: blur(16px);
196
+ }
197
+
198
+ .panel-title {
199
+ font-size: 1.25rem;
200
+ font-weight: 600;
201
+ margin-bottom: 1.5rem;
202
+ display: flex;
203
+ align-items: center;
204
+ justify-content: space-between;
205
+ }
206
+
207
+ .panel-subtitle {
208
+ color: var(--text-muted);
209
+ font-size: 0.9rem;
210
+ font-weight: 400;
211
+ }
212
+
213
+ /* Heatmap styling */
214
+ .heatmap-container {
215
+ display: flex;
216
+ flex-direction: column;
217
+ overflow-x: auto;
218
+ }
219
+
220
+ .heatmap-grid {
221
+ display: grid;
222
+ grid-template-columns: 120px repeat(6, 1fr);
223
+ gap: 6px;
224
+ margin-top: 1rem;
225
+ min-width: 700px;
226
+ }
227
+
228
+ .heatmap-header-cell {
229
+ font-size: 0.9rem;
230
+ font-weight: 600;
231
+ text-align: center;
232
+ padding: 0.75rem 0.5rem;
233
+ color: var(--text-muted);
234
+ }
235
+
236
+ .heatmap-label-cell {
237
+ font-size: 0.85rem;
238
+ font-weight: 500;
239
+ display: flex;
240
+ align-items: center;
241
+ justify-content: flex-end;
242
+ padding-right: 1rem;
243
+ font-family: var(--font-mono);
244
+ }
245
+
246
+ .heatmap-cell {
247
+ border-radius: 6px;
248
+ padding: 1.2rem 0.5rem;
249
+ text-align: center;
250
+ font-size: 0.85rem;
251
+ font-weight: 600;
252
+ cursor: pointer;
253
+ transition: transform 0.2s, box-shadow 0.2s;
254
+ display: flex;
255
+ flex-direction: column;
256
+ justify-content: center;
257
+ align-items: center;
258
+ }
259
+
260
+ .heatmap-cell:hover {
261
+ transform: scale(1.05);
262
+ z-index: 10;
263
+ box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
264
+ }
265
+
266
+ .heatmap-cell-value {
267
+ font-family: var(--font-mono);
268
+ font-size: 0.85rem;
269
+ }
270
+
271
+ .heatmap-cell-pct {
272
+ font-size: 0.7rem;
273
+ font-weight: 400;
274
+ opacity: 0.8;
275
+ margin-top: 2px;
276
+ }
277
+
278
+ .heatmap-legend {
279
+ display: flex;
280
+ gap: 1.5rem;
281
+ margin-top: 2rem;
282
+ justify-content: center;
283
+ font-size: 0.85rem;
284
+ color: var(--text-muted);
285
+ }
286
+
287
+ .legend-item {
288
+ display: flex;
289
+ align-items: center;
290
+ gap: 0.5rem;
291
+ }
292
+
293
+ .legend-color {
294
+ width: 16px;
295
+ height: 16px;
296
+ border-radius: 4px;
297
+ }
298
+
299
+ /* Device Table */
300
+ .search-box {
301
+ display: flex;
302
+ gap: 1rem;
303
+ margin-bottom: 1.5rem;
304
+ }
305
+
306
+ .search-input {
307
+ flex: 1;
308
+ background: rgba(255, 255, 255, 0.05);
309
+ border: 1px solid var(--border-color);
310
+ border-radius: 30px;
311
+ padding: 0.75rem 1.5rem;
312
+ color: #fff;
313
+ font-family: var(--font-main);
314
+ font-size: 0.95rem;
315
+ outline: none;
316
+ transition: border-color 0.3s;
317
+ }
318
+
319
+ .search-input:focus {
320
+ border-color: var(--primary);
321
+ }
322
+
323
+ .filter-select {
324
+ background: rgba(255, 255, 255, 0.05);
325
+ border: 1px solid var(--border-color);
326
+ border-radius: 30px;
327
+ padding: 0.75rem 1.5rem;
328
+ color: #fff;
329
+ font-family: var(--font-main);
330
+ outline: none;
331
+ cursor: pointer;
332
+ }
333
+
334
+ .table-wrapper {
335
+ overflow-x: auto;
336
+ border-radius: 12px;
337
+ border: 1px solid var(--border-color);
338
+ }
339
+
340
+ table {
341
+ width: 100%;
342
+ border-collapse: collapse;
343
+ text-align: left;
344
+ font-size: 0.9rem;
345
+ }
346
+
347
+ th {
348
+ background: rgba(255, 255, 255, 0.02);
349
+ font-weight: 600;
350
+ color: var(--text-muted);
351
+ padding: 1rem;
352
+ border-bottom: 1px solid var(--border-color);
353
+ text-transform: uppercase;
354
+ font-size: 0.8rem;
355
+ letter-spacing: 0.05em;
356
+ }
357
+
358
+ td {
359
+ padding: 1rem;
360
+ border-bottom: 1px solid var(--border-color);
361
+ vertical-align: middle;
362
+ }
363
+
364
+ tr:last-child td {
365
+ border-bottom: none;
366
+ }
367
+
368
+ tr:hover td {
369
+ background: rgba(255, 255, 255, 0.01);
370
+ }
371
+
372
+ .badge {
373
+ display: inline-block;
374
+ padding: 0.3rem 0.6rem;
375
+ border-radius: 20px;
376
+ font-size: 0.75rem;
377
+ font-weight: 600;
378
+ text-transform: uppercase;
379
+ }
380
+
381
+ .badge-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }
382
+ .badge-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
383
+ .badge-rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }
384
+ .badge-orange { background: rgba(249, 115, 22, 0.15); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.3); }
385
+ .badge-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
386
+
387
+ /* Library details grid */
388
+ .lib-grid {
389
+ display: grid;
390
+ grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
391
+ gap: 1.5rem;
392
+ }
393
+
394
+ .lib-card {
395
+ background: var(--card-bg);
396
+ border: 1px solid var(--border-color);
397
+ border-radius: 16px;
398
+ padding: 1.5rem;
399
+ backdrop-filter: blur(12px);
400
+ display: flex;
401
+ flex-direction: column;
402
+ justify-content: space-between;
403
+ }
404
+
405
+ .lib-name {
406
+ font-size: 1.2rem;
407
+ font-weight: 600;
408
+ margin-bottom: 0.5rem;
409
+ font-family: var(--font-mono);
410
+ display: flex;
411
+ justify-content: space-between;
412
+ align-items: center;
413
+ }
414
+
415
+ .lib-details-row {
416
+ display: flex;
417
+ justify-content: space-between;
418
+ padding: 0.4rem 0;
419
+ border-bottom: 1px solid rgba(255, 255, 255, 0.04);
420
+ font-size: 0.9rem;
421
+ }
422
+
423
+ .lib-details-row:last-child {
424
+ border-bottom: none;
425
+ }
426
+
427
+ .lib-details-label {
428
+ color: var(--text-muted);
429
+ }
430
+
431
+ .lib-details-val {
432
+ font-family: var(--font-mono);
433
+ font-weight: 500;
434
+ }
435
+
436
+ .roles-list {
437
+ margin-top: 1rem;
438
+ display: flex;
439
+ flex-wrap: wrap;
440
+ gap: 0.5rem;
441
+ }
442
+ </style>
443
+ </head>
444
+ <body>
445
+
446
+ <header>
447
+ <div class="header-title">
448
+ <h1>Z-Screen Data Shape Explorer</h1>
449
+ <p>Interactive structural visualization of nanowells, devices, cell lines, and libraries</p>
450
+ </div>
451
+ <div class="nav-tabs">
452
+ <button class="tab-btn active" onclick="switchTab('tab-overview')">Overview</button>
453
+ <button class="tab-btn" onclick="switchTab('tab-matrix')">Screen Matrix</button>
454
+ <button class="tab-btn" onclick="switchTab('tab-devices')">Device Mapping</button>
455
+ <button class="tab-btn" onclick="switchTab('tab-libraries')">Libraries</button>
456
+ </div>
457
+ </header>
458
+
459
+ <div class="container">
460
+
461
+ <!-- OVERVIEW TAB -->
462
+ <div id="tab-overview" class="tab-content active">
463
+ <div class="stats-grid">
464
+ <div class="stat-card">
465
+ <div class="stat-label">Total Observations (Nanowells)</div>
466
+ <div class="stat-value">768,162</div>
467
+ <div class="stat-subtext">Mapped across 49 devices</div>
468
+ </div>
469
+ <div class="stat-card cyan">
470
+ <div class="stat-label">Total Features (Genes)</div>
471
+ <div class="stat-value">46,944</div>
472
+ <div class="stat-subtext">In counts.h5ad matrix</div>
473
+ </div>
474
+ <div class="stat-card">
475
+ <div class="stat-label">Screening Devices</div>
476
+ <div class="stat-value">49</div>
477
+ <div class="stat-subtext">Numbered 0 to 48</div>
478
+ </div>
479
+ <div class="stat-card accent">
480
+ <div class="stat-label">Unique Compounds</div>
481
+ <div class="stat-value">142,227</div>
482
+ <div class="stat-subtext">Including 142.1k building blocks</div>
483
+ </div>
484
+ </div>
485
+
486
+ <!-- Nanowell Info Alert Box -->
487
+ <div class="panel" style="margin-bottom: 2rem; border-left: 4px solid var(--secondary); background: rgba(6, 182, 212, 0.04);">
488
+ <h3 style="color: var(--secondary); font-size: 1.1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem;">
489
+ 🔬 Nanowell Architecture Specification
490
+ </h3>
491
+ <p style="color: var(--text-color); font-size: 0.95rem; line-height: 1.5;">
492
+ Each observation (row) in the dataset corresponds to a single **nanowell** rather than a single cell. Each nanowell measures **90 microns in diameter by 120 microns tall** and holds approximately **2 to 10 cells**. The transcriptomic profiles represent the pooled expression of the cells inside each nanowell.
493
+ </p>
494
+ </div>
495
+
496
+ <div class="grid-2col">
497
+ <div class="panel">
498
+ <div class="panel-title">
499
+ <span>Nanowells per Cell Line</span>
500
+ <span class="panel-subtitle">Total profiled nanowells</span>
501
+ </div>
502
+ <div style="height: 300px; position: relative;">
503
+ <canvas id="cellLineChart"></canvas>
504
+ </div>
505
+ </div>
506
+ <div class="panel">
507
+ <div class="panel-title">
508
+ <span>Dataset Role Split</span>
509
+ <span class="panel-subtitle">By screening category (wells)</span>
510
+ </div>
511
+ <div style="height: 300px; position: relative;">
512
+ <canvas id="roleChart"></canvas>
513
+ </div>
514
+ </div>
515
+ </div>
516
+
517
+ <div class="panel" style="margin-top: 2rem;">
518
+ <div class="panel-title">Key Structural Insights</div>
519
+ <div style="line-height: 1.6; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;">
520
+ <div>
521
+ <h3 style="margin-bottom: 0.5rem; color: var(--secondary);">🔬 Multiplexed Chip Architecture</h3>
522
+ <p style="color: var(--text-muted); margin-bottom: 1.25rem;">
523
+ Each physical device runs exactly <strong>one cell line</strong>. This eliminates cell mixing within a single microfluidic chip, enabling clean downstream sorting. However, multiple chemical libraries are pooled on each chip (ranging from 2 to 8 libraries per device).
524
+ </p>
525
+ </div>
526
+ <div>
527
+ <h3 style="margin-bottom: 0.5rem; color: var(--accent);">🧪 Named Control Compounds vs. Combinatorial Libraries</h3>
528
+ <p style="color: var(--text-muted); margin-bottom: 1.25rem;">
529
+ The screen features a split between **One-Bead One-Compound (OBOC) combinatorial libraries** (testing 142.1k chemical precursor fragments across 353.3k wells) and **Named Control Compounds** (testing 78 fully synthesized target compounds across 311.3k wells).
530
+ </p>
531
+ <h3 style="margin-bottom: 0.5rem; color: var(--primary);">🛡️ No-Compound Control Beads</h3>
532
+ <p style="color: var(--text-muted);">
533
+ Out of 49 devices, <strong>24 devices</strong> contain no-compound controls (including capture-only control bead library `ZEL026-2` and water/vehicle controls like `ZIC005`). Only <strong>Device 11</strong> lacks control beads entirely, profiling named control compounds exclusively.
534
+ </p>
535
+ </div>
536
+ </div>
537
+ </div>
538
+ </div>
539
+
540
+ <!-- MATRIX TAB -->
541
+ <div id="tab-matrix" class="tab-content">
542
+ <div class="panel">
543
+ <div class="panel-title">
544
+ <div>
545
+ Screening Matrix Map
546
+ <div class="panel-subtitle">Nanowell counts mapped per library (rows) and cell line (columns)</div>
547
+ </div>
548
+ </div>
549
+ <div class="heatmap-container">
550
+ <div class="heatmap-grid" id="heatmapGrid">
551
+ <!-- JS populated -->
552
+ </div>
553
+ <div class="heatmap-legend">
554
+ <div class="legend-item"><div class="legend-color" style="background: rgba(139, 92, 246, 0.05); border: 1px solid var(--border-color);"></div> Not Screened</div>
555
+ <div class="legend-item"><div class="legend-color" style="background: rgba(139, 92, 246, 0.25);"></div> low (&lt; 2,000 wells)</div>
556
+ <div class="legend-item"><div class="legend-color" style="background: rgba(139, 92, 246, 0.55);"></div> medium (2k - 25k wells)</div>
557
+ <div class="legend-item"><div class="legend-color" style="background: rgba(139, 92, 246, 0.85);"></div> high (&gt; 25k wells)</div>
558
+ </div>
559
+ </div>
560
+ </div>
561
+ </div>
562
+
563
+ <!-- DEVICES TAB -->
564
+ <div id="tab-devices" class="tab-content">
565
+ <div class="panel">
566
+ <div class="panel-title">
567
+ <div>
568
+ Device-Level Screen Map
569
+ <div class="panel-subtitle">Search, filter, and inspect cell line labels and pooled libraries per device</div>
570
+ </div>
571
+ </div>
572
+
573
+ <div class="search-box">
574
+ <input type="text" id="deviceSearch" class="search-input" placeholder="Search devices by ID, cell line, or library..." oninput="filterDevices()">
575
+ <select id="cellLineFilter" class="filter-select" onchange="filterDevices()">
576
+ <option value="">All Cell Lines</option>
577
+ <option value="HEK293">HEK293</option>
578
+ <option value="HEK293-clone">HEK293-clone</option>
579
+ <option value="A549">A549</option>
580
+ <option value="H1650">H1650</option>
581
+ <option value="THP1">THP1</option>
582
+ <option value="AEC7">AEC7</option>
583
+ </select>
584
+ </div>
585
+
586
+ <div class="table-wrapper">
587
+ <table id="deviceTable">
588
+ <thead>
589
+ <tr>
590
+ <th>Device ID</th>
591
+ <th>Cell Line</th>
592
+ <th>Libraries Screened</th>
593
+ <th>Nanowell Count</th>
594
+ <th>Treatment Split</th>
595
+ </tr>
596
+ </thead>
597
+ <tbody id="deviceTableBody">
598
+ <!-- JS populated -->
599
+ </tbody>
600
+ </table>
601
+ </div>
602
+ </div>
603
+ </div>
604
+
605
+ <!-- LIBRARIES TAB -->
606
+ <div id="tab-libraries" class="tab-content">
607
+ <div class="panel">
608
+ <div class="panel-title">
609
+ <div>
610
+ Screened Chemical Libraries & Control Sets
611
+ <div class="panel-subtitle">Details of compound counts, SMILES configurations, and nomenclature types</div>
612
+ </div>
613
+ </div>
614
+ <div class="lib-grid" id="libGrid">
615
+ <!-- JS populated -->
616
+ </div>
617
+ </div>
618
+ </div>
619
+
620
+ </div>
621
+
622
+ <script>
623
+ // Embedded JSON structures
624
+ const results = {
625
+ "compounds_per_library": {
626
+ "ZIC008": {
627
+ "unique_public_compound_ids": 35,
628
+ "unique_smiles": 35,
629
+ "unique_names": 35,
630
+ "condition_roles": {
631
+ "compound_treatment": 256052
632
+ }
633
+ },
634
+ "ZEL026-2": {
635
+ "unique_public_compound_ids": 0,
636
+ "unique_smiles": 0,
637
+ "unique_names": 1,
638
+ "condition_roles": {
639
+ "capture_only": 95583
640
+ }
641
+ },
642
+ "ZEL031": {
643
+ "unique_public_compound_ids": 10265,
644
+ "unique_smiles": 10265,
645
+ "unique_names": 1,
646
+ "condition_roles": {
647
+ "building_block_treatment": 43241
648
+ }
649
+ },
650
+ "ZEL028-2": {
651
+ "unique_public_compound_ids": 117950,
652
+ "unique_smiles": 117950,
653
+ "unique_names": 1,
654
+ "condition_roles": {
655
+ "building_block_treatment": 134821
656
+ }
657
+ },
658
+ "ZIC004": {
659
+ "unique_public_compound_ids": 1,
660
+ "unique_smiles": 1,
661
+ "unique_names": 1,
662
+ "condition_roles": {
663
+ "compound_treatment": 1913
664
+ }
665
+ },
666
+ "ZIC006": {
667
+ "unique_public_compound_ids": 1,
668
+ "unique_smiles": 1,
669
+ "unique_names": 1,
670
+ "condition_roles": {
671
+ "compound_treatment": 2099
672
+ }
673
+ },
674
+ "ZIC003": {
675
+ "unique_public_compound_ids": 2,
676
+ "unique_smiles": 2,
677
+ "unique_names": 2,
678
+ "condition_roles": {
679
+ "compound_treatment": 1880
680
+ }
681
+ },
682
+ "ZIC002": {
683
+ "unique_public_compound_ids": 7,
684
+ "unique_smiles": 7,
685
+ "unique_names": 7,
686
+ "condition_roles": {
687
+ "compound_treatment": 10999
688
+ }
689
+ },
690
+ "ZIC001": {
691
+ "unique_public_compound_ids": 2,
692
+ "unique_smiles": 2,
693
+ "unique_names": 2,
694
+ "condition_roles": {
695
+ "compound_treatment": 6569
696
+ }
697
+ },
698
+ "ZEL024": {
699
+ "unique_public_compound_ids": 13934,
700
+ "unique_smiles": 13934,
701
+ "unique_names": 1,
702
+ "condition_roles": {
703
+ "building_block_treatment": 175285
704
+ }
705
+ },
706
+ "ZIC005": {
707
+ "unique_public_compound_ids": 1,
708
+ "unique_smiles": 0,
709
+ "unique_names": 1,
710
+ "condition_roles": {
711
+ "compound_treatment": 157
712
+ }
713
+ },
714
+ "ZIC007": {
715
+ "unique_public_compound_ids": 4,
716
+ "unique_smiles": 4,
717
+ "unique_names": 4,
718
+ "condition_roles": {
719
+ "compound_treatment": 565
720
+ }
721
+ },
722
+ "ZIC009": {
723
+ "unique_public_compound_ids": 31,
724
+ "unique_smiles": 31,
725
+ "unique_names": 31,
726
+ "condition_roles": {
727
+ "compound_treatment": 31107
728
+ }
729
+ },
730
+ "ZIC005-2": {
731
+ "unique_public_compound_ids": 0,
732
+ "unique_smiles": 0,
733
+ "unique_names": 1,
734
+ "condition_roles": {
735
+ "capture_only": 7891
736
+ }
737
+ }
738
+ },
739
+ "cell_lines": {
740
+ "list": [
741
+ "HEK293-clone",
742
+ "A549",
743
+ "H1650",
744
+ "HEK293",
745
+ "THP1",
746
+ "AEC7"
747
+ ],
748
+ "count": 6
749
+ },
750
+ "libraries_per_cell_line": {
751
+ "HEK293-clone": {
752
+ "libraries": [
753
+ "ZIC008",
754
+ "ZEL026-2"
755
+ ],
756
+ "count": 2
757
+ },
758
+ "A549": {
759
+ "libraries": [
760
+ "ZIC008",
761
+ "ZEL026-2",
762
+ "ZEL031",
763
+ "ZEL028-2",
764
+ "ZIC006",
765
+ "ZIC004"
766
+ ],
767
+ "count": 6
768
+ },
769
+ "H1650": {
770
+ "libraries": [
771
+ "ZIC008",
772
+ "ZEL031",
773
+ "ZEL028-2",
774
+ "ZEL024",
775
+ "ZIC003",
776
+ "ZIC005",
777
+ "ZIC002",
778
+ "ZIC001",
779
+ "ZEL026-2",
780
+ "ZIC006",
781
+ "ZIC004",
782
+ "ZIC007"
783
+ ],
784
+ "count": 12
785
+ },
786
+ "HEK293": {
787
+ "libraries": [
788
+ "ZIC008",
789
+ "ZEL028-2",
790
+ "ZEL024",
791
+ "ZIC002",
792
+ "ZIC001",
793
+ "ZIC003"
794
+ ],
795
+ "count": 6
796
+ },
797
+ "THP1": {
798
+ "libraries": [
799
+ "ZEL031",
800
+ "ZIC004",
801
+ "ZIC006",
802
+ "ZIC003",
803
+ "ZIC002",
804
+ "ZIC001",
805
+ "ZIC007",
806
+ "ZIC005"
807
+ ],
808
+ "count": 8
809
+ },
810
+ "AEC7": {
811
+ "libraries": [
812
+ "ZIC008",
813
+ "ZEL026-2",
814
+ "ZIC009",
815
+ "ZIC005-2"
816
+ ],
817
+ "count": 4
818
+ }
819
+ },
820
+ "devices": {
821
+ "list": [
822
+ 0,
823
+ 1,
824
+ 2,
825
+ 3,
826
+ 4,
827
+ 5,
828
+ 6,
829
+ 7,
830
+ 8,
831
+ 9,
832
+ 10,
833
+ 11,
834
+ 12,
835
+ 13,
836
+ 14,
837
+ 15,
838
+ 16,
839
+ 17,
840
+ 18,
841
+ 19,
842
+ 20,
843
+ 21,
844
+ 22,
845
+ 23,
846
+ 24,
847
+ 25,
848
+ 26,
849
+ 27,
850
+ 28,
851
+ 29,
852
+ 30,
853
+ 31,
854
+ 32,
855
+ 33,
856
+ 34,
857
+ 35,
858
+ 36,
859
+ 37,
860
+ 38,
861
+ 39,
862
+ 40,
863
+ 41,
864
+ 42,
865
+ 43,
866
+ 44,
867
+ 45,
868
+ 46,
869
+ 47,
870
+ 48
871
+ ],
872
+ "count": 49
873
+ },
874
+ "device_cell_lines": {
875
+ "0": [
876
+ "HEK293"
877
+ ],
878
+ "1": [
879
+ "HEK293"
880
+ ],
881
+ "2": [
882
+ "HEK293"
883
+ ],
884
+ "3": [
885
+ "HEK293"
886
+ ],
887
+ "4": [
888
+ "HEK293"
889
+ ],
890
+ "5": [
891
+ "HEK293"
892
+ ],
893
+ "6": [
894
+ "H1650"
895
+ ],
896
+ "7": [
897
+ "H1650"
898
+ ],
899
+ "8": [
900
+ "H1650"
901
+ ],
902
+ "9": [
903
+ "H1650"
904
+ ],
905
+ "10": [
906
+ "THP1"
907
+ ],
908
+ "11": [
909
+ "A549"
910
+ ],
911
+ "12": [
912
+ "THP1"
913
+ ],
914
+ "13": [
915
+ "A549"
916
+ ],
917
+ "14": [
918
+ "A549"
919
+ ],
920
+ "15": [
921
+ "A549"
922
+ ],
923
+ "16": [
924
+ "A549"
925
+ ],
926
+ "17": [
927
+ "A549"
928
+ ],
929
+ "18": [
930
+ "A549"
931
+ ],
932
+ "19": [
933
+ "H1650"
934
+ ],
935
+ "20": [
936
+ "H1650"
937
+ ],
938
+ "21": [
939
+ "A549"
940
+ ],
941
+ "22": [
942
+ "A549"
943
+ ],
944
+ "23": [
945
+ "A549"
946
+ ],
947
+ "24": [
948
+ "H1650"
949
+ ],
950
+ "25": [
951
+ "A549"
952
+ ],
953
+ "26": [
954
+ "H1650"
955
+ ],
956
+ "27": [
957
+ "HEK293"
958
+ ],
959
+ "28": [
960
+ "HEK293"
961
+ ],
962
+ "29": [
963
+ "HEK293-clone"
964
+ ],
965
+ "30": [
966
+ "HEK293-clone"
967
+ ],
968
+ "31": [
969
+ "HEK293"
970
+ ],
971
+ "32": [
972
+ "HEK293"
973
+ ],
974
+ "33": [
975
+ "AEC7"
976
+ ],
977
+ "34": [
978
+ "AEC7"
979
+ ],
980
+ "35": [
981
+ "AEC7"
982
+ ],
983
+ "36": [
984
+ "AEC7"
985
+ ],
986
+ "37": [
987
+ "AEC7"
988
+ ],
989
+ "38": [
990
+ "AEC7"
991
+ ],
992
+ "39": [
993
+ "AEC7"
994
+ ],
995
+ "40": [
996
+ "AEC7"
997
+ ],
998
+ "41": [
999
+ "AEC7"
1000
+ ],
1001
+ "42": [
1002
+ "AEC7"
1003
+ ],
1004
+ "43": [
1005
+ "AEC7"
1006
+ ],
1007
+ "44": [
1008
+ "AEC7"
1009
+ ],
1010
+ "45": [
1011
+ "AEC7"
1012
+ ],
1013
+ "46": [
1014
+ "AEC7"
1015
+ ],
1016
+ "47": [
1017
+ "AEC7"
1018
+ ],
1019
+ "48": [
1020
+ "AEC7"
1021
+ ]
1022
+ },
1023
+ "is_each_device_single_cell_line": true,
1024
+ "device_libraries": {
1025
+ "0": [
1026
+ "ZEL024",
1027
+ "ZIC002",
1028
+ "ZIC001"
1029
+ ],
1030
+ "1": [
1031
+ "ZEL024",
1032
+ "ZIC002",
1033
+ "ZIC001"
1034
+ ],
1035
+ "2": [
1036
+ "ZEL024",
1037
+ "ZIC002",
1038
+ "ZIC001"
1039
+ ],
1040
+ "3": [
1041
+ "ZEL024",
1042
+ "ZIC002",
1043
+ "ZIC001"
1044
+ ],
1045
+ "4": [
1046
+ "ZEL024",
1047
+ "ZIC003",
1048
+ "ZIC002",
1049
+ "ZIC001"
1050
+ ],
1051
+ "5": [
1052
+ "ZEL024",
1053
+ "ZIC003",
1054
+ "ZIC002",
1055
+ "ZIC001"
1056
+ ],
1057
+ "6": [
1058
+ "ZEL024",
1059
+ "ZIC002",
1060
+ "ZIC005",
1061
+ "ZIC001",
1062
+ "ZIC003"
1063
+ ],
1064
+ "7": [
1065
+ "ZEL024",
1066
+ "ZIC003",
1067
+ "ZIC005",
1068
+ "ZIC002",
1069
+ "ZIC001"
1070
+ ],
1071
+ "8": [
1072
+ "ZEL026-2",
1073
+ "ZIC007",
1074
+ "ZIC004",
1075
+ "ZIC006",
1076
+ "ZIC003",
1077
+ "ZIC002",
1078
+ "ZIC001"
1079
+ ],
1080
+ "9": [
1081
+ "ZEL026-2",
1082
+ "ZIC006",
1083
+ "ZIC003",
1084
+ "ZIC004",
1085
+ "ZIC002",
1086
+ "ZIC001",
1087
+ "ZIC007"
1088
+ ],
1089
+ "10": [
1090
+ "ZIC006",
1091
+ "ZEL031",
1092
+ "ZIC007",
1093
+ "ZIC004",
1094
+ "ZIC005",
1095
+ "ZIC002",
1096
+ "ZIC003",
1097
+ "ZIC001"
1098
+ ],
1099
+ "11": [
1100
+ "ZIC006",
1101
+ "ZIC004"
1102
+ ],
1103
+ "12": [
1104
+ "ZEL031",
1105
+ "ZIC004",
1106
+ "ZIC006",
1107
+ "ZIC003",
1108
+ "ZIC002",
1109
+ "ZIC001"
1110
+ ],
1111
+ "13": [
1112
+ "ZIC008",
1113
+ "ZEL031"
1114
+ ],
1115
+ "14": [
1116
+ "ZIC008",
1117
+ "ZEL031"
1118
+ ],
1119
+ "15": [
1120
+ "ZIC008",
1121
+ "ZEL031"
1122
+ ],
1123
+ "16": [
1124
+ "ZIC008",
1125
+ "ZEL031"
1126
+ ],
1127
+ "17": [
1128
+ "ZIC008",
1129
+ "ZEL026-2",
1130
+ "ZIC004"
1131
+ ],
1132
+ "18": [
1133
+ "ZIC008",
1134
+ "ZEL026-2",
1135
+ "ZIC004"
1136
+ ],
1137
+ "19": [
1138
+ "ZIC008",
1139
+ "ZEL031"
1140
+ ],
1141
+ "20": [
1142
+ "ZIC008",
1143
+ "ZEL031"
1144
+ ],
1145
+ "21": [
1146
+ "ZEL026-2",
1147
+ "ZIC008"
1148
+ ],
1149
+ "22": [
1150
+ "ZIC008",
1151
+ "ZEL026-2"
1152
+ ],
1153
+ "23": [
1154
+ "ZIC008",
1155
+ "ZEL028-2"
1156
+ ],
1157
+ "24": [
1158
+ "ZIC008",
1159
+ "ZEL028-2"
1160
+ ],
1161
+ "25": [
1162
+ "ZIC008",
1163
+ "ZEL028-2"
1164
+ ],
1165
+ "26": [
1166
+ "ZIC008",
1167
+ "ZEL028-2"
1168
+ ],
1169
+ "27": [
1170
+ "ZIC008",
1171
+ "ZEL028-2"
1172
+ ],
1173
+ "28": [
1174
+ "ZIC008",
1175
+ "ZEL028-2"
1176
+ ],
1177
+ "29": [
1178
+ "ZIC008",
1179
+ "ZEL026-2"
1180
+ ],
1181
+ "30": [
1182
+ "ZIC008",
1183
+ "ZEL026-2"
1184
+ ],
1185
+ "31": [
1186
+ "ZIC008",
1187
+ "ZEL028-2"
1188
+ ],
1189
+ "32": [
1190
+ "ZIC008",
1191
+ "ZEL028-2"
1192
+ ],
1193
+ "33": [
1194
+ "ZIC008",
1195
+ "ZEL026-2",
1196
+ "ZIC009"
1197
+ ],
1198
+ "34": [
1199
+ "ZEL026-2",
1200
+ "ZIC008",
1201
+ "ZIC009"
1202
+ ],
1203
+ "35": [
1204
+ "ZIC008",
1205
+ "ZEL026-2",
1206
+ "ZIC009"
1207
+ ],
1208
+ "36": [
1209
+ "ZIC008",
1210
+ "ZEL026-2",
1211
+ "ZIC009"
1212
+ ],
1213
+ "37": [
1214
+ "ZIC008",
1215
+ "ZEL026-2",
1216
+ "ZIC009"
1217
+ ],
1218
+ "38": [
1219
+ "ZEL026-2",
1220
+ "ZIC008",
1221
+ "ZIC009"
1222
+ ],
1223
+ "39": [
1224
+ "ZIC008",
1225
+ "ZEL026-2",
1226
+ "ZIC009"
1227
+ ],
1228
+ "40": [
1229
+ "ZIC008",
1230
+ "ZEL026-2",
1231
+ "ZIC009"
1232
+ ],
1233
+ "41": [
1234
+ "ZIC008",
1235
+ "ZIC005-2",
1236
+ "ZIC009"
1237
+ ],
1238
+ "42": [
1239
+ "ZIC008",
1240
+ "ZIC009",
1241
+ "ZIC005-2"
1242
+ ],
1243
+ "43": [
1244
+ "ZIC008",
1245
+ "ZIC005-2",
1246
+ "ZIC009"
1247
+ ],
1248
+ "44": [
1249
+ "ZIC008",
1250
+ "ZIC005-2",
1251
+ "ZIC009"
1252
+ ],
1253
+ "45": [
1254
+ "ZIC008",
1255
+ "ZIC005-2",
1256
+ "ZIC009"
1257
+ ],
1258
+ "46": [
1259
+ "ZIC008",
1260
+ "ZIC005-2",
1261
+ "ZIC009"
1262
+ ],
1263
+ "47": [
1264
+ "ZIC008",
1265
+ "ZIC009",
1266
+ "ZIC005-2"
1267
+ ],
1268
+ "48": [
1269
+ "ZIC008",
1270
+ "ZIC005-2",
1271
+ "ZIC009"
1272
+ ]
1273
+ },
1274
+ "is_each_device_single_library": false,
1275
+ "device_condition_roles": {
1276
+ "0": {
1277
+ "building_block_treatment": 25310,
1278
+ "compound_treatment": 2051
1279
+ },
1280
+ "1": {
1281
+ "building_block_treatment": 20398,
1282
+ "compound_treatment": 1613
1283
+ },
1284
+ "2": {
1285
+ "building_block_treatment": 30307,
1286
+ "compound_treatment": 2599
1287
+ },
1288
+ "3": {
1289
+ "building_block_treatment": 28064,
1290
+ "compound_treatment": 2454
1291
+ },
1292
+ "4": {
1293
+ "building_block_treatment": 26973,
1294
+ "compound_treatment": 3040
1295
+ },
1296
+ "5": {
1297
+ "building_block_treatment": 22688,
1298
+ "compound_treatment": 2578
1299
+ },
1300
+ "6": {
1301
+ "building_block_treatment": 19253,
1302
+ "compound_treatment": 846
1303
+ },
1304
+ "7": {
1305
+ "building_block_treatment": 2292,
1306
+ "compound_treatment": 263
1307
+ },
1308
+ "8": {
1309
+ "capture_only": 10369,
1310
+ "compound_treatment": 2053
1311
+ },
1312
+ "9": {
1313
+ "capture_only": 6717,
1314
+ "compound_treatment": 854
1315
+ },
1316
+ "10": {
1317
+ "building_block_treatment": 2837,
1318
+ "compound_treatment": 911
1319
+ },
1320
+ "11": {
1321
+ "compound_treatment": 257
1322
+ },
1323
+ "12": {
1324
+ "building_block_treatment": 19105,
1325
+ "compound_treatment": 4591
1326
+ },
1327
+ "13": {
1328
+ "compound_treatment": 7771,
1329
+ "building_block_treatment": 5831
1330
+ },
1331
+ "14": {
1332
+ "compound_treatment": 5583,
1333
+ "building_block_treatment": 4295
1334
+ },
1335
+ "15": {
1336
+ "compound_treatment": 11376,
1337
+ "building_block_treatment": 5522
1338
+ },
1339
+ "16": {
1340
+ "compound_treatment": 7041,
1341
+ "building_block_treatment": 5220
1342
+ },
1343
+ "17": {
1344
+ "compound_treatment": 9757,
1345
+ "capture_only": 3918
1346
+ },
1347
+ "18": {
1348
+ "compound_treatment": 8428,
1349
+ "capture_only": 2904
1350
+ },
1351
+ "19": {
1352
+ "compound_treatment": 6283,
1353
+ "building_block_treatment": 107
1354
+ },
1355
+ "20": {
1356
+ "compound_treatment": 13903,
1357
+ "building_block_treatment": 324
1358
+ },
1359
+ "21": {
1360
+ "compound_treatment": 15125,
1361
+ "capture_only": 12714
1362
+ },
1363
+ "22": {
1364
+ "compound_treatment": 11058,
1365
+ "capture_only": 7182
1366
+ },
1367
+ "23": {
1368
+ "building_block_treatment": 20152,
1369
+ "compound_treatment": 3456
1370
+ },
1371
+ "24": {
1372
+ "building_block_treatment": 12056,
1373
+ "compound_treatment": 2122
1374
+ },
1375
+ "25": {
1376
+ "building_block_treatment": 22283,
1377
+ "compound_treatment": 5429
1378
+ },
1379
+ "26": {
1380
+ "building_block_treatment": 14638,
1381
+ "compound_treatment": 4074
1382
+ },
1383
+ "27": {
1384
+ "building_block_treatment": 14494,
1385
+ "compound_treatment": 3505
1386
+ },
1387
+ "28": {
1388
+ "building_block_treatment": 12865,
1389
+ "compound_treatment": 2943
1390
+ },
1391
+ "29": {
1392
+ "compound_treatment": 19951,
1393
+ "capture_only": 7878
1394
+ },
1395
+ "30": {
1396
+ "compound_treatment": 14309,
1397
+ "capture_only": 7074
1398
+ },
1399
+ "31": {
1400
+ "building_block_treatment": 20770,
1401
+ "compound_treatment": 6751
1402
+ },
1403
+ "32": {
1404
+ "building_block_treatment": 17563,
1405
+ "compound_treatment": 5811
1406
+ },
1407
+ "33": {
1408
+ "compound_treatment": 7910,
1409
+ "capture_only": 3588
1410
+ },
1411
+ "34": {
1412
+ "compound_treatment": 7340,
1413
+ "capture_only": 3910
1414
+ },
1415
+ "35": {
1416
+ "compound_treatment": 6075,
1417
+ "capture_only": 3090
1418
+ },
1419
+ "36": {
1420
+ "compound_treatment": 8004,
1421
+ "capture_only": 4107
1422
+ },
1423
+ "37": {
1424
+ "compound_treatment": 9358,
1425
+ "capture_only": 4032
1426
+ },
1427
+ "38": {
1428
+ "compound_treatment": 12360,
1429
+ "capture_only": 5144
1430
+ },
1431
+ "39": {
1432
+ "compound_treatment": 13801,
1433
+ "capture_only": 7391
1434
+ },
1435
+ "40": {
1436
+ "compound_treatment": 10753,
1437
+ "capture_only": 5565
1438
+ },
1439
+ "41": {
1440
+ "compound_treatment": 2587,
1441
+ "capture_only": 342
1442
+ },
1443
+ "42": {
1444
+ "compound_treatment": 3990,
1445
+ "capture_only": 670
1446
+ },
1447
+ "43": {
1448
+ "compound_treatment": 9698,
1449
+ "capture_only": 1839
1450
+ },
1451
+ "44": {
1452
+ "compound_treatment": 8618,
1453
+ "capture_only": 1854
1454
+ },
1455
+ "45": {
1456
+ "compound_treatment": 6209,
1457
+ "capture_only": 1014
1458
+ },
1459
+ "46": {
1460
+ "compound_treatment": 7242,
1461
+ "capture_only": 1016
1462
+ },
1463
+ "47": {
1464
+ "compound_treatment": 5136,
1465
+ "capture_only": 847
1466
+ },
1467
+ "48": {
1468
+ "compound_treatment": 3474,
1469
+ "capture_only": 309
1470
+ }
1471
+ },
1472
+ "no_compound_control_summary": {
1473
+ "devices_with_capture_only": {
1474
+ "list": [
1475
+ 8,
1476
+ 9,
1477
+ 17,
1478
+ 18,
1479
+ 21,
1480
+ 22,
1481
+ 29,
1482
+ 30,
1483
+ 33,
1484
+ 34,
1485
+ 35,
1486
+ 36,
1487
+ 37,
1488
+ 38,
1489
+ 39,
1490
+ 40,
1491
+ 41,
1492
+ 42,
1493
+ 43,
1494
+ 44,
1495
+ 45,
1496
+ 46,
1497
+ 47,
1498
+ 48
1499
+ ],
1500
+ "count": 24
1501
+ },
1502
+ "devices_with_building_block_treatment": {
1503
+ "list": [
1504
+ 0,
1505
+ 1,
1506
+ 2,
1507
+ 3,
1508
+ 4,
1509
+ 5,
1510
+ 6,
1511
+ 7,
1512
+ 10,
1513
+ 12,
1514
+ 13,
1515
+ 14,
1516
+ 15,
1517
+ 16,
1518
+ 19,
1519
+ 20,
1520
+ 23,
1521
+ 24,
1522
+ 25,
1523
+ 26,
1524
+ 27,
1525
+ 28,
1526
+ 31,
1527
+ 32
1528
+ ],
1529
+ "count": 24
1530
+ }
1531
+ }
1532
+ };
1533
+ const crosstab = {
1534
+ "ZEL024": {
1535
+ "A549": 0,
1536
+ "AEC7": 0,
1537
+ "H1650": 21545,
1538
+ "HEK293": 153740,
1539
+ "HEK293-clone": 0,
1540
+ "THP1": 0
1541
+ },
1542
+ "ZEL026-2": {
1543
+ "A549": 26718,
1544
+ "AEC7": 36827,
1545
+ "H1650": 17086,
1546
+ "HEK293": 0,
1547
+ "HEK293-clone": 14952,
1548
+ "THP1": 0
1549
+ },
1550
+ "ZEL028-2": {
1551
+ "A549": 42435,
1552
+ "AEC7": 0,
1553
+ "H1650": 26694,
1554
+ "HEK293": 65692,
1555
+ "HEK293-clone": 0,
1556
+ "THP1": 0
1557
+ },
1558
+ "ZEL031": {
1559
+ "A549": 20868,
1560
+ "AEC7": 0,
1561
+ "H1650": 431,
1562
+ "HEK293": 0,
1563
+ "HEK293-clone": 0,
1564
+ "THP1": 21942
1565
+ },
1566
+ "ZIC001": {
1567
+ "A549": 0,
1568
+ "AEC7": 0,
1569
+ "H1650": 1229,
1570
+ "HEK293": 3858,
1571
+ "HEK293-clone": 0,
1572
+ "THP1": 1482
1573
+ },
1574
+ "ZIC002": {
1575
+ "A549": 0,
1576
+ "AEC7": 0,
1577
+ "H1650": 806,
1578
+ "HEK293": 9558,
1579
+ "HEK293-clone": 0,
1580
+ "THP1": 635
1581
+ },
1582
+ "ZIC003": {
1583
+ "A549": 0,
1584
+ "AEC7": 0,
1585
+ "H1650": 378,
1586
+ "HEK293": 919,
1587
+ "HEK293-clone": 0,
1588
+ "THP1": 583
1589
+ },
1590
+ "ZIC004": {
1591
+ "A549": 122,
1592
+ "AEC7": 0,
1593
+ "H1650": 411,
1594
+ "HEK293": 0,
1595
+ "HEK293-clone": 0,
1596
+ "THP1": 1380
1597
+ },
1598
+ "ZIC005": {
1599
+ "A549": 0,
1600
+ "AEC7": 0,
1601
+ "H1650": 109,
1602
+ "HEK293": 0,
1603
+ "HEK293-clone": 0,
1604
+ "THP1": 48
1605
+ },
1606
+ "ZIC005-2": {
1607
+ "A549": 0,
1608
+ "AEC7": 7891,
1609
+ "H1650": 0,
1610
+ "HEK293": 0,
1611
+ "HEK293-clone": 0,
1612
+ "THP1": 0
1613
+ },
1614
+ "ZIC006": {
1615
+ "A549": 207,
1616
+ "AEC7": 0,
1617
+ "H1650": 631,
1618
+ "HEK293": 0,
1619
+ "HEK293-clone": 0,
1620
+ "THP1": 1261
1621
+ },
1622
+ "ZIC007": {
1623
+ "A549": 0,
1624
+ "AEC7": 0,
1625
+ "H1650": 452,
1626
+ "HEK293": 0,
1627
+ "HEK293-clone": 0,
1628
+ "THP1": 113
1629
+ },
1630
+ "ZIC008": {
1631
+ "A549": 84952,
1632
+ "AEC7": 91448,
1633
+ "H1650": 26382,
1634
+ "HEK293": 19010,
1635
+ "HEK293-clone": 34260,
1636
+ "THP1": 0
1637
+ },
1638
+ "ZIC009": {
1639
+ "A549": 0,
1640
+ "AEC7": 31107,
1641
+ "H1650": 0,
1642
+ "HEK293": 0,
1643
+ "HEK293-clone": 0,
1644
+ "THP1": 0
1645
+ }
1646
+ };
1647
+
1648
+ function switchTab(tabId) {
1649
+ document.querySelectorAll('.tab-content').forEach(el => el.classList.remove('active'));
1650
+ document.querySelectorAll('.tab-btn').forEach(el => el.classList.remove('active'));
1651
+
1652
+ document.getElementById(tabId).classList.add('active');
1653
+ // Find corresponding button
1654
+ const btnText = tabId.replace('tab-', '').toLowerCase();
1655
+ document.querySelectorAll('.tab-btn').forEach(btn => {
1656
+ if (btn.innerText.toLowerCase() === btnText || (btnText === 'matrix' && btn.innerText.toLowerCase() === 'screen matrix')) {
1657
+ btn.classList.add('active');
1658
+ }
1659
+ });
1660
+ }
1661
+
1662
+ // Initialize charts
1663
+ window.onload = function() {
1664
+ // Cell Line chart
1665
+ const ctxCell = document.getElementById('cellLineChart').getContext('2d');
1666
+ new Chart(ctxCell, {
1667
+ type: 'bar',
1668
+ data: {
1669
+ labels: ['HEK293', 'A549', 'AEC7', 'H1650', 'HEK293-clone', 'THP1'],
1670
+ datasets: [{
1671
+ label: 'Nanowells Profiled',
1672
+ data: [252777, 175302, 167273, 96154, 49212, 27444],
1673
+ backgroundColor: ['#8b5cf6', '#06b6d4', '#ec4899', '#f97316', '#e5e7eb', '#10b981'],
1674
+ borderColor: 'rgba(255, 255, 255, 0.1)',
1675
+ borderWidth: 1,
1676
+ borderRadius: 8
1677
+ }]
1678
+ },
1679
+ options: {
1680
+ responsive: true,
1681
+ maintainAspectRatio: false,
1682
+ plugins: {
1683
+ legend: { display: false }
1684
+ },
1685
+ scales: {
1686
+ y: {
1687
+ grid: { color: 'rgba(255, 255, 255, 0.05)' },
1688
+ ticks: { color: '#9ca3af', font: { family: 'Outfit' } }
1689
+ },
1690
+ x: {
1691
+ grid: { display: false },
1692
+ ticks: { color: '#9ca3af', font: { family: 'Outfit', weight: 'bold' } }
1693
+ }
1694
+ }
1695
+ }
1696
+ });
1697
+
1698
+ // Role split chart
1699
+ const ctxRole = document.getElementById('roleChart').getContext('2d');
1700
+ new Chart(ctxRole, {
1701
+ type: 'doughnut',
1702
+ data: {
1703
+ labels: ['OBOC Combinatorial Libraries', 'Named Control Compounds', 'No-Compound Controls'],
1704
+ datasets: [{
1705
+ data: [353347, 311341, 103474],
1706
+ backgroundColor: ['#8b5cf6', '#06b6d4', '#f43f5e'],
1707
+ borderWidth: 0,
1708
+ hoverOffset: 10
1709
+ }]
1710
+ },
1711
+ options: {
1712
+ responsive: true,
1713
+ maintainAspectRatio: false,
1714
+ plugins: {
1715
+ legend: {
1716
+ position: 'bottom',
1717
+ labels: {
1718
+ color: '#e5e7eb',
1719
+ font: { family: 'Outfit', size: 12 },
1720
+ padding: 15
1721
+ }
1722
+ }
1723
+ },
1724
+ cutout: '65%'
1725
+ }
1726
+ });
1727
+
1728
+ buildHeatmap();
1729
+ buildDeviceTable();
1730
+ buildLibraryCards();
1731
+ };
1732
+
1733
+ // Build the matrix heatmap
1734
+ function buildHeatmap() {
1735
+ const grid = document.getElementById('heatmapGrid');
1736
+ const cellLines = ['A549', 'AEC7', 'H1650', 'HEK293', 'HEK293-clone', 'THP1'];
1737
+
1738
+ // Header
1739
+ grid.appendChild(createDiv('heatmap-header-cell', ''));
1740
+ cellLines.forEach(cell => {
1741
+ grid.appendChild(createDiv('heatmap-header-cell', cell));
1742
+ });
1743
+
1744
+ // Grid rows
1745
+ Object.keys(crosstab).sort().forEach(lib => {
1746
+ // Label
1747
+ grid.appendChild(createDiv('heatmap-label-cell', lib));
1748
+
1749
+ // Values
1750
+ cellLines.forEach(cell => {
1751
+ const val = crosstab[lib][cell] || 0;
1752
+ const cellEl = document.createElement('div');
1753
+ cellEl.className = 'heatmap-cell';
1754
+
1755
+ // Color scale
1756
+ let bg = 'rgba(139, 92, 246, 0.03)';
1757
+ let color = 'rgba(255, 255, 255, 0.15)';
1758
+ let border = '1px solid var(--border-color)';
1759
+
1760
+ if (val > 0) {
1761
+ border = 'none';
1762
+ if (val < 2000) {
1763
+ bg = 'rgba(139, 92, 246, 0.25)';
1764
+ color = '#d8b4fe';
1765
+ } else if (val < 25000) {
1766
+ bg = 'rgba(139, 92, 246, 0.55)';
1767
+ color = '#e9d5ff';
1768
+ } else {
1769
+ bg = 'rgba(139, 92, 246, 0.85)';
1770
+ color = '#ffffff';
1771
+ }
1772
+ }
1773
+
1774
+ cellEl.style.background = bg;
1775
+ cellEl.style.color = color;
1776
+ cellEl.style.border = border;
1777
+
1778
+ const valSpan = document.createElement('span');
1779
+ valSpan.className = 'heatmap-cell-value';
1780
+ valSpan.innerText = val > 0 ? val.toLocaleString() : '-';
1781
+ cellEl.appendChild(valSpan);
1782
+
1783
+ if (val > 0) {
1784
+ const pctSpan = document.createElement('span');
1785
+ pctSpan.className = 'heatmap-cell-pct';
1786
+ pctSpan.innerText = ((val / 768162) * 100).toFixed(1) + '%';
1787
+ cellEl.appendChild(pctSpan);
1788
+ }
1789
+
1790
+ grid.appendChild(cellEl);
1791
+ });
1792
+ });
1793
+ }
1794
+
1795
+ function createDiv(className, text) {
1796
+ const el = document.createElement('div');
1797
+ el.className = className;
1798
+ el.innerText = text;
1799
+ return el;
1800
+ }
1801
+
1802
+ // Build the Device details table
1803
+ function buildDeviceTable() {
1804
+ const tbody = document.getElementById('deviceTableBody');
1805
+ tbody.innerHTML = '';
1806
+
1807
+ const devices = results.devices.list;
1808
+ devices.forEach(dev => {
1809
+ const devStr = dev.toString();
1810
+ const master_c = results.device_cell_lines[devStr][0];
1811
+
1812
+ const libs = results.device_libraries[devStr];
1813
+ const libsBadges = libs.map(lib => {
1814
+ let badgeClass = 'badge-purple';
1815
+ if (lib === 'ZEL026-2') badgeClass = 'badge-rose';
1816
+ else if (lib === 'ZIC005' || lib === 'ZIC005-2') badgeClass = 'badge-blue';
1817
+ else if (lib.startsWith('ZEL')) badgeClass = 'badge-cyan';
1818
+ return `<span class="badge ${badgeClass}" style="margin: 2px;">${lib}</span>`;
1819
+ }).join(' ');
1820
+
1821
+ const roles = results.device_condition_roles[devStr];
1822
+ const cellCount = Object.values(roles).reduce((a, b) => a + b, 0);
1823
+
1824
+ const rolesSplit = Object.keys(roles).map(role => {
1825
+ let colorClass = 'text-muted';
1826
+ let displayName = role;
1827
+ if (role === 'building_block_treatment') {
1828
+ displayName = 'OBOC Library';
1829
+ colorClass = 'color: #a78bfa;';
1830
+ } else if (role === 'compound_treatment') {
1831
+ // Check if device contains ZIC005 (water control)
1832
+ if (libs.includes('ZIC005')) {
1833
+ displayName = 'Named Controls (+Water)';
1834
+ } else {
1835
+ displayName = 'Named Controls';
1836
+ }
1837
+ colorClass = 'color: #22d3ee;';
1838
+ } else if (role === 'capture_only') {
1839
+ displayName = 'No-Compound Control';
1840
+ colorClass = 'color: #f43f5e;';
1841
+ }
1842
+ return `<span style="font-size: 0.8rem; font-family: var(--font-mono); ${colorClass} font-weight:500;">${displayName}: ${roles[role].toLocaleString()}</span>`;
1843
+ }).join('<br>');
1844
+
1845
+ const tr = document.createElement('tr');
1846
+ tr.setAttribute('data-device-id', devStr);
1847
+ tr.setAttribute('data-cell-line-master', master_c);
1848
+ tr.setAttribute('data-libraries', libs.join(','));
1849
+
1850
+ tr.innerHTML = `
1851
+ <td style="font-family: var(--font-mono); font-weight:bold; padding-left: 1.5rem;">#${dev}</td>
1852
+ <td>${master_c}</td>
1853
+ <td>${libsBadges}</td>
1854
+ <td style="font-family: var(--font-mono); font-weight: 500;">${cellCount.toLocaleString()}</td>
1855
+ <td>${rolesSplit}</td>
1856
+ `;
1857
+ tbody.appendChild(tr);
1858
+ });
1859
+ }
1860
+
1861
+ // Filter devices in table
1862
+ function filterDevices() {
1863
+ const q = document.getElementById('deviceSearch').value.toLowerCase();
1864
+ const cellFilter = document.getElementById('cellLineFilter').value;
1865
+
1866
+ const rows = document.querySelectorAll('#deviceTableBody tr');
1867
+ rows.forEach(row => {
1868
+ const devId = row.getAttribute('data-device-id');
1869
+ const masterCell = row.getAttribute('data-cell-line-master');
1870
+ const libs = row.getAttribute('data-libraries').toLowerCase();
1871
+
1872
+ const matchQuery = devId.includes(q) || masterCell.toLowerCase().includes(q) || libs.includes(q);
1873
+ const matchCell = !cellFilter || masterCell === cellFilter;
1874
+
1875
+ if (matchQuery && matchCell) {
1876
+ row.style.display = '';
1877
+ } else {
1878
+ row.style.display = 'none';
1879
+ }
1880
+ });
1881
+ }
1882
+
1883
+ // Build the chemical libraries cards
1884
+ function buildLibraryCards() {
1885
+ const grid = document.getElementById('libGrid');
1886
+ grid.innerHTML = '';
1887
+
1888
+ Object.keys(results.compounds_per_library).sort().forEach(lib => {
1889
+ const details = results.compounds_per_library[lib];
1890
+ const card = document.createElement('div');
1891
+ card.className = 'lib-card';
1892
+
1893
+ // Sum of cells
1894
+ const sumCells = Object.values(details.condition_roles).reduce((a,b)=>a+b, 0);
1895
+
1896
+ // Category label
1897
+ let categoryLabel = '';
1898
+ let badgeClass = 'badge-purple';
1899
+ if (lib === 'ZEL026-2') {
1900
+ categoryLabel = 'No-Compound Control Beads';
1901
+ badgeClass = 'badge-rose';
1902
+ } else if (lib === 'ZIC005' || lib === 'ZIC005-2') {
1903
+ categoryLabel = lib === 'ZIC005' ? 'No-Compound Control (Water)' : 'No-Compound Control';
1904
+ badgeClass = 'badge-blue';
1905
+ } else if (lib.startsWith('ZEL')) {
1906
+ categoryLabel = 'OBOC Combinatorial Library';
1907
+ badgeClass = 'badge-cyan';
1908
+ } else if (lib.startsWith('ZIC')) {
1909
+ categoryLabel = 'Named Control Compounds';
1910
+ badgeClass = 'badge-purple';
1911
+ }
1912
+
1913
+ let roleBadge = `<span class="badge ${badgeClass}">${categoryLabel}</span>`;
1914
+
1915
+ card.innerHTML = `
1916
+ <div>
1917
+ <div class="lib-name">
1918
+ <span>${lib}</span>
1919
+ ${roleBadge}
1920
+ </div>
1921
+ <div style="margin-top: 1rem;">
1922
+ <div class="lib-details-row">
1923
+ <span class="lib-details-label">Unique Compound IDs</span>
1924
+ <span class="lib-details-val">${details.unique_public_compound_ids.toLocaleString()}</span>
1925
+ </div>
1926
+ <div class="lib-details-row">
1927
+ <span class="lib-details-label">Unique SMILES Structure Maps</span>
1928
+ <span class="lib-details-val">${details.unique_smiles.toLocaleString()}</span>
1929
+ </div>
1930
+ <div class="lib-details-row">
1931
+ <span class="lib-details-label">Unique Names</span>
1932
+ <span class="lib-details-val">${details.unique_names.toLocaleString()}</span>
1933
+ </div>
1934
+ <div class="lib-details-row">
1935
+ <span class="lib-details-label">Total Profiled Nanowells</span>
1936
+ <span class="lib-details-val" style="color: #fff;">${sumCells.toLocaleString()}</span>
1937
+ </div>
1938
+ </div>
1939
+ </div>
1940
+ `;
1941
+ grid.appendChild(card);
1942
+ });
1943
+ }
1944
+ </script>
1945
+ </body>
1946
+ </html>