File size: 112,974 Bytes
fda7af7
 
 
 
f3d4b52
fda7af7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f3d4b52
fda7af7
 
 
 
 
 
 
 
f3d4b52
fda7af7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f3d4b52
fda7af7
 
 
 
 
 
 
f3d4b52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fda7af7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "import sys\n",
    "from collections import defaultdict\n",
    "import warnings\n",
    "import logging\n",
    "from typing import Literal\n",
    "\n",
    "sys.path.append('~/PROTAC-Degradation-Predictor/protac_degradation_predictor')\n",
    "import protac_degradation_predictor as pdp\n",
    "\n",
    "import pytorch_lightning as pl\n",
    "from rdkit import Chem\n",
    "from rdkit.Chem import AllChem\n",
    "from rdkit import DataStructs\n",
    "from jsonargparse import CLI\n",
    "import pandas as pd\n",
    "# Import tqdm for notebook\n",
    "from tqdm.notebook import tqdm\n",
    "import numpy as np\n",
    "from sklearn.preprocessing import OrdinalEncoder\n",
    "from sklearn.model_selection import (\n",
    "    StratifiedKFold,\n",
    "    StratifiedGroupKFold,\n",
    ")\n",
    "\n",
    "\n",
    "active_col = 'Active (Dmax 0.6, pDC50 6.0)'\n",
    "pDC50_threshold = 6.0\n",
    "Dmax_threshold = 0.6\n",
    "\n",
    "protac_df = pd.read_csv('~/PROTAC-Degradation-Predictor/data/PROTAC-Degradation-DB.csv')\n",
    "protac_df['E3 Ligase'] = protac_df['E3 Ligase'].str.replace('Iap', 'IAP')\n",
    "protac_df[active_col] = protac_df.apply(\n",
    "    lambda x: pdp.is_active(x['DC50 (nM)'], x['Dmax (%)'], pDC50_threshold=pDC50_threshold, Dmax_threshold=Dmax_threshold), axis=1\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "771"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def get_random_split_indices(active_df: pd.DataFrame, test_split: float) -> pd.Index:\n",
    "    \"\"\" Get the indices of the test set using a random split.\n",
    "    \n",
    "    Args:\n",
    "        active_df (pd.DataFrame): The DataFrame containing the active PROTACs.\n",
    "        test_split (float): The percentage of the active PROTACs to use as the test set.\n",
    "    \n",
    "    Returns:\n",
    "        pd.Index: The indices of the test set.\n",
    "    \"\"\"\n",
    "    test_df = active_df.sample(frac=test_split, random_state=42)\n",
    "    return test_df.index\n",
    "\n",
    "protac_df['pDC50'] = -np.log10(protac_df['DC50 (nM)'] * 1e-9)\n",
    "active_df = protac_df[protac_df[active_col].notna()].copy()\n",
    "test_split = 0.1\n",
    "test_indices = get_random_split_indices(active_df, test_split)\n",
    "train_val_df = active_df[~active_df.index.isin(test_indices)].copy()\n",
    "len(train_val_df)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "6.935675466781487"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Get the mean of pDC50 for the active PROTACs\n",
    "mean_pDC50 = active_df['pDC50'].mean()\n",
    "mean_pDC50"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['Compound ID', 'Uniprot', 'Smiles', 'E3 Ligase', 'InChI', 'InChI Key',\n",
       "       'Molecular Weight', 'Heavy Atom Count', 'Ring Count',\n",
       "       'Rotatable Bond Count', 'Topological Polar Surface Area',\n",
       "       'Hydrogen Bond Acceptor Count', 'Hydrogen Bond Donor Count',\n",
       "       'Cell Type', 'Treatment Time (h)', 'DC50 (nM)', 'Dmax (%)', 'Active',\n",
       "       'Article DOI', 'Comments', 'Database', 'Molecular Formula', 'cLogP',\n",
       "       'Target', 'PDB', 'Name', 'Assay (DC50/Dmax)', 'Exact Mass', 'XLogP3',\n",
       "       'Target (Parsed)', 'POI Sequence', 'E3 Ligase Uniprot',\n",
       "       'E3 Ligase Sequence', 'Cell Line Identifier', 'Active - OR',\n",
       "       'Active (Dmax 0.6, pDC50 6.0)', 'pDC50'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train_val_df.columns"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>69</th>\n",
       "      <td>C=CC(=O)Nc1cccc(-n2c(=O)cc(C)c3cnc(Nc4ccc(N5CC...</td>\n",
       "      <td>H1975/WR</td>\n",
       "      <td>True</td>\n",
       "      <td>5.9</td>\n",
       "      <td>100.0</td>\n",
       "      <td>P00533</td>\n",
       "      <td>VHL</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.1016/j.ejmech.2020.112199</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1229</th>\n",
       "      <td>C=CC(=O)Nc1cccc(-n2c(=O)cc(C)c3cnc(Nc4ccc(N5CC...</td>\n",
       "      <td>A431 siYAP</td>\n",
       "      <td>False</td>\n",
       "      <td>2000.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>P00533</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of EGFR in A431 cells after 16 h t...</td>\n",
       "      <td>10.1016/j.ejmech.2020.112199</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "69    C=CC(=O)Nc1cccc(-n2c(=O)cc(C)c3cnc(Nc4ccc(N5CC...             H1975/WR   \n",
       "1229  C=CC(=O)Nc1cccc(-n2c(=O)cc(C)c3cnc(Nc4ccc(N5CC...           A431 siYAP   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "69                           True        5.9     100.0  P00533       VHL   \n",
       "1229                        False     2000.0       NaN  P00533       VHL   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "69                                                  NaN   \n",
       "1229  Degradation of EGFR in A431 cells after 16 h t...   \n",
       "\n",
       "                       Article DOI  \n",
       "69    10.1016/j.ejmech.2020.112199  \n",
       "1229  10.1016/j.ejmech.2020.112199  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & C=CC(=O)Nc1cccc(-n2c(=O)cc(C)c3cnc(Nc4ccc(N5CCN... &             H1975/WR &                         True & 8.229148 &     100.0 &  P00533 &       VHL &                                                NaN & 10.1016/j.ejmech.2020.112199 \\\\\n",
      " NaN & C=CC(=O)Nc1cccc(-n2c(=O)cc(C)c3cnc(Nc4ccc(N5CCN... &           A431 siYAP &                        False & 5.698970 &       NaN &  P00533 &       VHL & Degradation of EGFR in A431 cells after 16 h tr... & 10.1016/j.ejmech.2020.112199 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1793</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>COLO 205</td>\n",
       "      <td>True</td>\n",
       "      <td>30.28</td>\n",
       "      <td>64.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1794</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>HCT 116</td>\n",
       "      <td>False</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>28.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1793  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...             COLO 205   \n",
       "1794  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...              HCT 116   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1793                         True      30.28      64.0  P33981      CRBN   \n",
       "1794                        False    1000.00      28.0  P33981      CRBN   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1793  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "1794  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "\n",
       "                       Article DOI  \n",
       "1793  10.1021/acs.jmedchem.1c01768  \n",
       "1794  10.1021/acs.jmedchem.1c01768  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &             COLO 205 &                         True & 7.518844 &      64.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &              HCT 116 &                        False & 6.000000 &      28.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1795</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>COLO 205</td>\n",
       "      <td>True</td>\n",
       "      <td>31.35</td>\n",
       "      <td>72.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1796</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>HCT 116</td>\n",
       "      <td>False</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>41.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1795  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...             COLO 205   \n",
       "1796  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...              HCT 116   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1795                         True      31.35      72.0  P33981      CRBN   \n",
       "1796                        False    1000.00      41.0  P33981      CRBN   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1795  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "1796  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "\n",
       "                       Article DOI  \n",
       "1795  10.1021/acs.jmedchem.1c01768  \n",
       "1796  10.1021/acs.jmedchem.1c01768  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &             COLO 205 &                         True & 7.503762 &      72.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &              HCT 116 &                        False & 6.000000 &      41.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1771</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>COLO 205</td>\n",
       "      <td>True</td>\n",
       "      <td>4.97</td>\n",
       "      <td>76.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1772</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>HCT 116</td>\n",
       "      <td>False</td>\n",
       "      <td>20.30</td>\n",
       "      <td>50.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1771  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...             COLO 205   \n",
       "1772  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...              HCT 116   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1771                         True       4.97      76.0  P33981      CRBN   \n",
       "1772                        False      20.30      50.0  P33981      CRBN   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1771  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "1772  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "\n",
       "                       Article DOI  \n",
       "1771  10.1021/acs.jmedchem.1c01768  \n",
       "1772  10.1021/acs.jmedchem.1c01768  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &             COLO 205 &                         True & 8.303644 &      76.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &              HCT 116 &                        False & 7.692504 &      50.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1789</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>COLO 205</td>\n",
       "      <td>True</td>\n",
       "      <td>7.03</td>\n",
       "      <td>84.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1790</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>HCT 116</td>\n",
       "      <td>False</td>\n",
       "      <td>161.00</td>\n",
       "      <td>43.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1789  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...             COLO 205   \n",
       "1790  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...              HCT 116   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1789                         True       7.03      84.0  P33981      CRBN   \n",
       "1790                        False     161.00      43.0  P33981      CRBN   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1789  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "1790  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "\n",
       "                       Article DOI  \n",
       "1789  10.1021/acs.jmedchem.1c01768  \n",
       "1790  10.1021/acs.jmedchem.1c01768  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &             COLO 205 &                         True & 8.153045 &      84.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &              HCT 116 &                        False & 6.793174 &      43.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1781</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>COLO 205</td>\n",
       "      <td>True</td>\n",
       "      <td>3.04</td>\n",
       "      <td>85.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1782</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>HCT 116</td>\n",
       "      <td>False</td>\n",
       "      <td>663.00</td>\n",
       "      <td>50.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1781  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...             COLO 205   \n",
       "1782  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...              HCT 116   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1781                         True       3.04      85.0  P33981      CRBN   \n",
       "1782                        False     663.00      50.0  P33981      CRBN   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1781  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "1782  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "\n",
       "                       Article DOI  \n",
       "1781  10.1021/acs.jmedchem.1c01768  \n",
       "1782  10.1021/acs.jmedchem.1c01768  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &             COLO 205 &                         True & 8.517126 &      85.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &              HCT 116 &                        False & 6.178486 &      50.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1799</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>COLO 205</td>\n",
       "      <td>True</td>\n",
       "      <td>21.71</td>\n",
       "      <td>88.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1800</th>\n",
       "      <td>CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...</td>\n",
       "      <td>HCT 116</td>\n",
       "      <td>False</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>13.0</td>\n",
       "      <td>P33981</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of TTK in COLO-205/HCT-116 cells a...</td>\n",
       "      <td>10.1021/acs.jmedchem.1c01768</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1799  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...             COLO 205   \n",
       "1800  CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4cc...              HCT 116   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1799                         True      21.71      88.0  P33981      CRBN   \n",
       "1800                        False    1000.00      13.0  P33981      CRBN   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1799  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "1800  Degradation of TTK in COLO-205/HCT-116 cells a...   \n",
       "\n",
       "                       Article DOI  \n",
       "1799  10.1021/acs.jmedchem.1c01768  \n",
       "1800  10.1021/acs.jmedchem.1c01768  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &   pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &             COLO 205 &                         True & 7.66334 &      88.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      " NaN & CCC(=O)N[C@H]1CC[C@@H](n2c(=O)cc(C)c3cnc(Nc4ccc... &              HCT 116 &                        False & 6.00000 &      13.0 &  P33981 &      CRBN & Degradation of TTK in COLO-205/HCT-116 cells af... & 10.1021/acs.jmedchem.1c01768 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>516</th>\n",
       "      <td>COc1cc(-c2cn(C)c(=O)c3cnccc23)cc(OC)c1CN1CCN(C...</td>\n",
       "      <td>IH-1</td>\n",
       "      <td>False</td>\n",
       "      <td>560.0</td>\n",
       "      <td>10.0</td>\n",
       "      <td>Q9H8M2</td>\n",
       "      <td>VHL</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01413</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>925</th>\n",
       "      <td>COc1cc(-c2cn(C)c(=O)c3cnccc23)cc(OC)c1CN1CCN(C...</td>\n",
       "      <td>HeLa</td>\n",
       "      <td>True</td>\n",
       "      <td>560.0</td>\n",
       "      <td>80.0</td>\n",
       "      <td>Q9H8M2</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of BRD9 in HeLa cells after 4 h tr...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01413</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                Smiles Cell Line Identifier  \\\n",
       "516  COc1cc(-c2cn(C)c(=O)c3cnccc23)cc(OC)c1CN1CCN(C...                 IH-1   \n",
       "925  COc1cc(-c2cn(C)c(=O)c3cnccc23)cc(OC)c1CN1CCN(C...                 HeLa   \n",
       "\n",
       "    Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "516                        False      560.0      10.0  Q9H8M2       VHL   \n",
       "925                         True      560.0      80.0  Q9H8M2       VHL   \n",
       "\n",
       "                                     Assay (DC50/Dmax)  \\\n",
       "516                                                NaN   \n",
       "925  Degradation of BRD9 in HeLa cells after 4 h tr...   \n",
       "\n",
       "                      Article DOI  \n",
       "516  10.1021/acs.jmedchem.8b01413  \n",
       "925  10.1021/acs.jmedchem.8b01413  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & COc1cc(-c2cn(C)c(=O)c3cnccc23)cc(OC)c1CN1CCN(CC... &                 IH-1 &                        False & 6.251812 &      10.0 &  Q9H8M2 &       VHL &                                                NaN & 10.1021/acs.jmedchem.8b01413 \\\\\n",
      " NaN & COc1cc(-c2cn(C)c(=O)c3cnccc23)cc(OC)c1CN1CCN(CC... &                 HeLa &                         True & 6.251812 &      80.0 &  Q9H8M2 &       VHL & Degradation of BRD9 in HeLa cells after 4 h tre... & 10.1021/acs.jmedchem.8b01413 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1557</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>A549 Cas9</td>\n",
       "      <td>True</td>\n",
       "      <td>243.0</td>\n",
       "      <td>80.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1558</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>631.0</td>\n",
       "      <td>59.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1559</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>SNU-387</td>\n",
       "      <td>True</td>\n",
       "      <td>32.0</td>\n",
       "      <td>98.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1560</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>HLE</td>\n",
       "      <td>True</td>\n",
       "      <td>25.0</td>\n",
       "      <td>85.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HLE/HuH-7/SNU-423 cells ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1561</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>Huh-7</td>\n",
       "      <td>True</td>\n",
       "      <td>100.0</td>\n",
       "      <td>79.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HLE/HuH-7/SNU-423 cells ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1562</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>SNU-423</td>\n",
       "      <td>True</td>\n",
       "      <td>79.0</td>\n",
       "      <td>87.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HLE/HuH-7/SNU-423 cells ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1563</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>HLF</td>\n",
       "      <td>True</td>\n",
       "      <td>40.0</td>\n",
       "      <td>66.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HLF/SNU-398/HUCCT1 cells...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1564</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>SNU-398</td>\n",
       "      <td>True</td>\n",
       "      <td>10.0</td>\n",
       "      <td>99.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HLF/SNU-398/HUCCT1 cells...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1565</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>HuCC-T1-G10</td>\n",
       "      <td>True</td>\n",
       "      <td>126.0</td>\n",
       "      <td>86.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HLF/SNU-398/HUCCT1 cells...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1566</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>HuH-1</td>\n",
       "      <td>True</td>\n",
       "      <td>79.0</td>\n",
       "      <td>79.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1567</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>HepG2 hALR</td>\n",
       "      <td>True</td>\n",
       "      <td>631.0</td>\n",
       "      <td>65.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1568</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...</td>\n",
       "      <td>SK-HEP-1</td>\n",
       "      <td>True</td>\n",
       "      <td>126.0</td>\n",
       "      <td>87.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1557  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...            A549 Cas9   \n",
       "1558  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...                  NaN   \n",
       "1559  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...              SNU-387   \n",
       "1560  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...                  HLE   \n",
       "1561  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...                Huh-7   \n",
       "1562  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...              SNU-423   \n",
       "1563  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...                  HLF   \n",
       "1564  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...              SNU-398   \n",
       "1565  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...          HuCC-T1-G10   \n",
       "1566  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...                HuH-1   \n",
       "1567  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...           HepG2 hALR   \n",
       "1568  COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@...             SK-HEP-1   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1557                         True      243.0      80.0  Q05397       VHL   \n",
       "1558                        False      631.0      59.0  Q05397       VHL   \n",
       "1559                         True       32.0      98.0  Q05397       VHL   \n",
       "1560                         True       25.0      85.0  Q05397       VHL   \n",
       "1561                         True      100.0      79.0  Q05397       VHL   \n",
       "1562                         True       79.0      87.0  Q05397       VHL   \n",
       "1563                         True       40.0      66.0  Q05397       VHL   \n",
       "1564                         True       10.0      99.0  Q05397       VHL   \n",
       "1565                         True      126.0      86.0  Q05397       VHL   \n",
       "1566                         True       79.0      79.0  Q05397       VHL   \n",
       "1567                         True      631.0      65.0  Q05397       VHL   \n",
       "1568                         True      126.0      87.0  Q05397       VHL   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1557  Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...   \n",
       "1558  Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...   \n",
       "1559  Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...   \n",
       "1560  Degradation of Fak in HLE/HuH-7/SNU-423 cells ...   \n",
       "1561  Degradation of Fak in HLE/HuH-7/SNU-423 cells ...   \n",
       "1562  Degradation of Fak in HLE/HuH-7/SNU-423 cells ...   \n",
       "1563  Degradation of Fak in HLF/SNU-398/HUCCT1 cells...   \n",
       "1564  Degradation of Fak in HLF/SNU-398/HUCCT1 cells...   \n",
       "1565  Degradation of Fak in HLF/SNU-398/HUCCT1 cells...   \n",
       "1566  Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...   \n",
       "1567  Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...   \n",
       "1568  Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...   \n",
       "\n",
       "                       Article DOI  \n",
       "1557  10.1021/acs.jmedchem.8b01826  \n",
       "1558  10.1021/acs.jmedchem.8b01826  \n",
       "1559  10.1021/acs.jmedchem.8b01826  \n",
       "1560  10.1021/acs.jmedchem.8b01826  \n",
       "1561  10.1021/acs.jmedchem.8b01826  \n",
       "1562  10.1021/acs.jmedchem.8b01826  \n",
       "1563  10.1021/acs.jmedchem.8b01826  \n",
       "1564  10.1021/acs.jmedchem.8b01826  \n",
       "1565  10.1021/acs.jmedchem.8b01826  \n",
       "1566  10.1021/acs.jmedchem.8b01826  \n",
       "1567  10.1021/acs.jmedchem.8b01826  \n",
       "1568  10.1021/acs.jmedchem.8b01826  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "   Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &            A549 Cas9 &                         True & 6.614394 &      80.0 &  Q05397 &       VHL & Degradation of Fak in A549/Hep3B2.1-7/SNU-387 c... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &                  NaN &                        False & 6.199971 &      59.0 &  Q05397 &       VHL & Degradation of Fak in A549/Hep3B2.1-7/SNU-387 c... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &              SNU-387 &                         True & 7.494850 &      98.0 &  Q05397 &       VHL & Degradation of Fak in A549/Hep3B2.1-7/SNU-387 c... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &                  HLE &                         True & 7.602060 &      85.0 &  Q05397 &       VHL & Degradation of Fak in HLE/HuH-7/SNU-423 cells a... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &                Huh-7 &                         True & 7.000000 &      79.0 &  Q05397 &       VHL & Degradation of Fak in HLE/HuH-7/SNU-423 cells a... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &              SNU-423 &                         True & 7.102373 &      87.0 &  Q05397 &       VHL & Degradation of Fak in HLE/HuH-7/SNU-423 cells a... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &                  HLF &                         True & 7.397940 &      66.0 &  Q05397 &       VHL & Degradation of Fak in HLF/SNU-398/HUCCT1 cells ... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &              SNU-398 &                         True & 8.000000 &      99.0 &  Q05397 &       VHL & Degradation of Fak in HLF/SNU-398/HUCCT1 cells ... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &          HuCC-T1-G10 &                         True & 6.899629 &      86.0 &  Q05397 &       VHL & Degradation of Fak in HLF/SNU-398/HUCCT1 cells ... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &                HuH-1 &                         True & 7.102373 &      79.0 &  Q05397 &       VHL & Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cell... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &           HepG2 hALR &                         True & 6.199971 &      65.0 &  Q05397 &       VHL & Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cell... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-0319 & COc1cc(C(=O)NCCOCCOCCOCC(=O)N[C@H](C(=O)N2C[C@H... &             SK-HEP-1 &                         True & 6.899629 &      87.0 &  Q05397 &       VHL & Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cell... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1545</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>HLE</td>\n",
       "      <td>True</td>\n",
       "      <td>158.0</td>\n",
       "      <td>79.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HLE/HuH-7/SNU-423 cells ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1546</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>Huh-7</td>\n",
       "      <td>True</td>\n",
       "      <td>50.0</td>\n",
       "      <td>93.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HLE/HuH-7/SNU-423 cells ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1547</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>SNU-423</td>\n",
       "      <td>True</td>\n",
       "      <td>13.0</td>\n",
       "      <td>93.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HLE/HuH-7/SNU-423 cells ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1548</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>HuH-1</td>\n",
       "      <td>False</td>\n",
       "      <td>251.0</td>\n",
       "      <td>50.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1549</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>HepG2 hALR</td>\n",
       "      <td>True</td>\n",
       "      <td>32.0</td>\n",
       "      <td>89.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1550</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>SK-HEP-1</td>\n",
       "      <td>True</td>\n",
       "      <td>32.0</td>\n",
       "      <td>89.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1551</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>A549 Cas9</td>\n",
       "      <td>True</td>\n",
       "      <td>27.0</td>\n",
       "      <td>95.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1552</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>13.0</td>\n",
       "      <td>96.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1553</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>SNU-387</td>\n",
       "      <td>True</td>\n",
       "      <td>25.0</td>\n",
       "      <td>90.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1555</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>SNU-398</td>\n",
       "      <td>True</td>\n",
       "      <td>3.0</td>\n",
       "      <td>95.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HLF/SNU-398/HUCCT1 cells...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1556</th>\n",
       "      <td>COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...</td>\n",
       "      <td>HuCC-T1-G10</td>\n",
       "      <td>True</td>\n",
       "      <td>13.0</td>\n",
       "      <td>90.0</td>\n",
       "      <td>Q05397</td>\n",
       "      <td>CRBN</td>\n",
       "      <td>Degradation of Fak in HLF/SNU-398/HUCCT1 cells...</td>\n",
       "      <td>10.1021/acs.jmedchem.8b01826</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1545  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...                  HLE   \n",
       "1546  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...                Huh-7   \n",
       "1547  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...              SNU-423   \n",
       "1548  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...                HuH-1   \n",
       "1549  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...           HepG2 hALR   \n",
       "1550  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...             SK-HEP-1   \n",
       "1551  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...            A549 Cas9   \n",
       "1552  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...                  NaN   \n",
       "1553  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...              SNU-387   \n",
       "1555  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...              SNU-398   \n",
       "1556  COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(...          HuCC-T1-G10   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1545                         True      158.0      79.0  Q05397      CRBN   \n",
       "1546                         True       50.0      93.0  Q05397      CRBN   \n",
       "1547                         True       13.0      93.0  Q05397      CRBN   \n",
       "1548                        False      251.0      50.0  Q05397      CRBN   \n",
       "1549                         True       32.0      89.0  Q05397      CRBN   \n",
       "1550                         True       32.0      89.0  Q05397      CRBN   \n",
       "1551                         True       27.0      95.0  Q05397      CRBN   \n",
       "1552                         True       13.0      96.0  Q05397      CRBN   \n",
       "1553                         True       25.0      90.0  Q05397      CRBN   \n",
       "1555                         True        3.0      95.0  Q05397      CRBN   \n",
       "1556                         True       13.0      90.0  Q05397      CRBN   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1545  Degradation of Fak in HLE/HuH-7/SNU-423 cells ...   \n",
       "1546  Degradation of Fak in HLE/HuH-7/SNU-423 cells ...   \n",
       "1547  Degradation of Fak in HLE/HuH-7/SNU-423 cells ...   \n",
       "1548  Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...   \n",
       "1549  Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...   \n",
       "1550  Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cel...   \n",
       "1551  Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...   \n",
       "1552  Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...   \n",
       "1553  Degradation of Fak in A549/Hep3B2.1-7/SNU-387 ...   \n",
       "1555  Degradation of Fak in HLF/SNU-398/HUCCT1 cells...   \n",
       "1556  Degradation of Fak in HLF/SNU-398/HUCCT1 cells...   \n",
       "\n",
       "                       Article DOI  \n",
       "1545  10.1021/acs.jmedchem.8b01826  \n",
       "1546  10.1021/acs.jmedchem.8b01826  \n",
       "1547  10.1021/acs.jmedchem.8b01826  \n",
       "1548  10.1021/acs.jmedchem.8b01826  \n",
       "1549  10.1021/acs.jmedchem.8b01826  \n",
       "1550  10.1021/acs.jmedchem.8b01826  \n",
       "1551  10.1021/acs.jmedchem.8b01826  \n",
       "1552  10.1021/acs.jmedchem.8b01826  \n",
       "1553  10.1021/acs.jmedchem.8b01826  \n",
       "1555  10.1021/acs.jmedchem.8b01826  \n",
       "1556  10.1021/acs.jmedchem.8b01826  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "   Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &                  HLE &                         True & 6.801343 &      79.0 &  Q05397 &      CRBN & Degradation of Fak in HLE/HuH-7/SNU-423 cells a... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &                Huh-7 &                         True & 7.301030 &      93.0 &  Q05397 &      CRBN & Degradation of Fak in HLE/HuH-7/SNU-423 cells a... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &              SNU-423 &                         True & 7.886057 &      93.0 &  Q05397 &      CRBN & Degradation of Fak in HLE/HuH-7/SNU-423 cells a... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &                HuH-1 &                        False & 6.600326 &      50.0 &  Q05397 &      CRBN & Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cell... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &           HepG2 hALR &                         True & 7.494850 &      89.0 &  Q05397 &      CRBN & Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cell... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &             SK-HEP-1 &                         True & 7.494850 &      89.0 &  Q05397 &      CRBN & Degradation of Fak in HUH-1/HepG2/SK-Hep-1 cell... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &            A549 Cas9 &                         True & 7.568636 &      95.0 &  Q05397 &      CRBN & Degradation of Fak in A549/Hep3B2.1-7/SNU-387 c... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &                  NaN &                         True & 7.886057 &      96.0 &  Q05397 &      CRBN & Degradation of Fak in A549/Hep3B2.1-7/SNU-387 c... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &              SNU-387 &                         True & 7.602060 &      90.0 &  Q05397 &      CRBN & Degradation of Fak in A549/Hep3B2.1-7/SNU-387 c... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &              SNU-398 &                         True & 8.522879 &      95.0 &  Q05397 &      CRBN & Degradation of Fak in HLF/SNU-398/HUCCT1 cells ... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "BI-3663 & COc1cc(C(=O)NCCOCCOCCOCCC(=O)Nc2cccc3c2C(=O)N(C... &          HuCC-T1-G10 &                         True & 7.886057 &      90.0 &  Q05397 &      CRBN & Degradation of Fak in HLF/SNU-398/HUCCT1 cells ... & 10.1021/acs.jmedchem.8b01826 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1294</th>\n",
       "      <td>Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...</td>\n",
       "      <td>HeLa</td>\n",
       "      <td>True</td>\n",
       "      <td>790.0</td>\n",
       "      <td>92.0</td>\n",
       "      <td>O75530</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of EED in HeLa/DB cells after 24 h...</td>\n",
       "      <td>10.1016/j.chembiol.2019.11.006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1296</th>\n",
       "      <td>Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...</td>\n",
       "      <td>HeLa</td>\n",
       "      <td>True</td>\n",
       "      <td>300.0</td>\n",
       "      <td>75.0</td>\n",
       "      <td>Q15910</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of EZH2 in HeLa/DB cells after 24 ...</td>\n",
       "      <td>10.1016/j.chembiol.2019.11.006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1297</th>\n",
       "      <td>Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...</td>\n",
       "      <td>DB</td>\n",
       "      <td>True</td>\n",
       "      <td>670.0</td>\n",
       "      <td>96.0</td>\n",
       "      <td>Q15910</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of EZH2 in HeLa/DB cells after 24 ...</td>\n",
       "      <td>10.1016/j.chembiol.2019.11.006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1298</th>\n",
       "      <td>Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...</td>\n",
       "      <td>HeLa</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>22.0</td>\n",
       "      <td>Q15022</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of SUZ12 in HeLa/DB cells after 24...</td>\n",
       "      <td>10.1016/j.chembiol.2019.11.006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1299</th>\n",
       "      <td>Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...</td>\n",
       "      <td>DB</td>\n",
       "      <td>True</td>\n",
       "      <td>590.0</td>\n",
       "      <td>82.0</td>\n",
       "      <td>Q15022</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of SUZ12 in HeLa/DB cells after 24...</td>\n",
       "      <td>10.1016/j.chembiol.2019.11.006</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1294  Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...                 HeLa   \n",
       "1296  Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...                 HeLa   \n",
       "1297  Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...                   DB   \n",
       "1298  Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...                 HeLa   \n",
       "1299  Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...                   DB   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1294                         True      790.0      92.0  O75530       VHL   \n",
       "1296                         True      300.0      75.0  Q15910       VHL   \n",
       "1297                         True      670.0      96.0  Q15910       VHL   \n",
       "1298                        False        NaN      22.0  Q15022       VHL   \n",
       "1299                         True      590.0      82.0  Q15022       VHL   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1294  Degradation of EED in HeLa/DB cells after 24 h...   \n",
       "1296  Degradation of EZH2 in HeLa/DB cells after 24 ...   \n",
       "1297  Degradation of EZH2 in HeLa/DB cells after 24 ...   \n",
       "1298  Degradation of SUZ12 in HeLa/DB cells after 24...   \n",
       "1299  Degradation of SUZ12 in HeLa/DB cells after 24...   \n",
       "\n",
       "                         Article DOI  \n",
       "1294  10.1016/j.chembiol.2019.11.006  \n",
       "1296  10.1016/j.chembiol.2019.11.006  \n",
       "1297  10.1016/j.chembiol.2019.11.006  \n",
       "1298  10.1016/j.chembiol.2019.11.006  \n",
       "1299  10.1016/j.chembiol.2019.11.006  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "   Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                    Article DOI \\\\\n",
      "\\midrule\n",
      "UNC6852 & Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O)... &                 HeLa &                         True & 6.102373 &      92.0 &  O75530 &       VHL & Degradation of EED in HeLa/DB cells after 24 h ... & 10.1016/j.chembiol.2019.11.006 \\\\\n",
      "UNC6852 & Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O)... &                 HeLa &                         True & 6.522879 &      75.0 &  Q15910 &       VHL & Degradation of EZH2 in HeLa/DB cells after 24 h... & 10.1016/j.chembiol.2019.11.006 \\\\\n",
      "UNC6852 & Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O)... &                   DB &                         True & 6.173925 &      96.0 &  Q15910 &       VHL & Degradation of EZH2 in HeLa/DB cells after 24 h... & 10.1016/j.chembiol.2019.11.006 \\\\\n",
      "UNC6852 & Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O)... &                 HeLa &                        False &      NaN &      22.0 &  Q15022 &       VHL & Degradation of SUZ12 in HeLa/DB cells after 24 ... & 10.1016/j.chembiol.2019.11.006 \\\\\n",
      "UNC6852 & Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O)... &                   DB &                         True & 6.229148 &      82.0 &  Q15022 &       VHL & Degradation of SUZ12 in HeLa/DB cells after 24 ... & 10.1016/j.chembiol.2019.11.006 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1435</th>\n",
       "      <td>Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...</td>\n",
       "      <td>LNCaP</td>\n",
       "      <td>True</td>\n",
       "      <td>50.0</td>\n",
       "      <td>71.0</td>\n",
       "      <td>P10275</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of AR in LNCaP/VCaP cells after 2-...</td>\n",
       "      <td>10.1021/acsmedchemlett.9b00115</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1436</th>\n",
       "      <td>Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...</td>\n",
       "      <td>VCaP</td>\n",
       "      <td>False</td>\n",
       "      <td>50.0</td>\n",
       "      <td>51.0</td>\n",
       "      <td>P10275</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of AR in LNCaP/VCaP cells after 2-...</td>\n",
       "      <td>10.1021/acsmedchemlett.9b00115</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1435  Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...                LNCaP   \n",
       "1436  Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O...                 VCaP   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1435                         True       50.0      71.0  P10275       VHL   \n",
       "1436                        False       50.0      51.0  P10275       VHL   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1435  Degradation of AR in LNCaP/VCaP cells after 2-...   \n",
       "1436  Degradation of AR in LNCaP/VCaP cells after 2-...   \n",
       "\n",
       "                         Article DOI  \n",
       "1435  10.1021/acsmedchemlett.9b00115  \n",
       "1436  10.1021/acsmedchemlett.9b00115  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &   pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                    Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O)... &                LNCaP &                         True & 7.30103 &      71.0 &  P10275 &       VHL & Degradation of AR in LNCaP/VCaP cells after 2-4... & 10.1021/acsmedchemlett.9b00115 \\\\\n",
      " NaN & Cc1ncsc1-c1ccc(CNC(=O)[C@@H]2C[C@@H](O)CN2C(=O)... &                 VCaP &                        False & 7.30103 &      51.0 &  P10275 &       VHL & Degradation of AR in LNCaP/VCaP cells after 2-4... & 10.1021/acsmedchemlett.9b00115 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...</td>\n",
       "      <td>MOLT-4</td>\n",
       "      <td>True</td>\n",
       "      <td>53.0</td>\n",
       "      <td>100.0</td>\n",
       "      <td>Q07817</td>\n",
       "      <td>VHL</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.1016/j.ejmech.2020.112186</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1245</th>\n",
       "      <td>Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...</td>\n",
       "      <td>MOLT-4</td>\n",
       "      <td>True</td>\n",
       "      <td>63.0</td>\n",
       "      <td>90.8</td>\n",
       "      <td>Q07817</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of BCL-xL in MOLT-4/platelets cell...</td>\n",
       "      <td>10.1038/s41591-019-0668-z</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1246</th>\n",
       "      <td>Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...</td>\n",
       "      <td>2T60</td>\n",
       "      <td>False</td>\n",
       "      <td>3000.0</td>\n",
       "      <td>26.0</td>\n",
       "      <td>Q07817</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of BCL-xL in MOLT-4/platelets cell...</td>\n",
       "      <td>10.1038/s41591-019-0668-z</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "4     Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...               MOLT-4   \n",
       "1245  Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...               MOLT-4   \n",
       "1246  Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...                 2T60   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "4                            True       53.0     100.0  Q07817       VHL   \n",
       "1245                         True       63.0      90.8  Q07817       VHL   \n",
       "1246                        False     3000.0      26.0  Q07817       VHL   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "4                                                   NaN   \n",
       "1245  Degradation of BCL-xL in MOLT-4/platelets cell...   \n",
       "1246  Degradation of BCL-xL in MOLT-4/platelets cell...   \n",
       "\n",
       "                       Article DOI  \n",
       "4     10.1016/j.ejmech.2020.112186  \n",
       "1245     10.1038/s41591-019-0668-z  \n",
       "1246     10.1038/s41591-019-0668-z  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "  Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &    pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                  Article DOI \\\\\n",
      "\\midrule\n",
      "   NaN & Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)C... &               MOLT-4 &                         True & 7.275724 &     100.0 &  Q07817 &       VHL &                                                NaN & 10.1016/j.ejmech.2020.112186 \\\\\n",
      "DT2216 & Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)C... &               MOLT-4 &                         True & 7.200659 &      90.8 &  Q07817 &       VHL & Degradation of BCL-xL in MOLT-4/platelets cells... &    10.1038/s41591-019-0668-z \\\\\n",
      "DT2216 & Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)C... &                 2T60 &                        False & 5.522879 &      26.0 &  Q07817 &       VHL & Degradation of BCL-xL in MOLT-4/platelets cells... &    10.1038/s41591-019-0668-z \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1479</th>\n",
       "      <td>Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...</td>\n",
       "      <td>LNCaP</td>\n",
       "      <td>True</td>\n",
       "      <td>50.0</td>\n",
       "      <td>71.0</td>\n",
       "      <td>P10275</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of AR in LNCaP/VCaP cells using EL...</td>\n",
       "      <td>10.1021/acsmedchemlett.0c00236</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1480</th>\n",
       "      <td>Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...</td>\n",
       "      <td>VCaP</td>\n",
       "      <td>False</td>\n",
       "      <td>50.0</td>\n",
       "      <td>51.0</td>\n",
       "      <td>P10275</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of AR in LNCaP/VCaP cells using EL...</td>\n",
       "      <td>10.1021/acsmedchemlett.0c00236</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1479  Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...                LNCaP   \n",
       "1480  Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...                 VCaP   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1479                         True       50.0      71.0  P10275       VHL   \n",
       "1480                        False       50.0      51.0  P10275       VHL   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1479  Degradation of AR in LNCaP/VCaP cells using EL...   \n",
       "1480  Degradation of AR in LNCaP/VCaP cells using EL...   \n",
       "\n",
       "                         Article DOI  \n",
       "1479  10.1021/acsmedchemlett.0c00236  \n",
       "1480  10.1021/acsmedchemlett.0c00236  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &   pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                    Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)C... &                LNCaP &                         True & 7.30103 &      71.0 &  P10275 &       VHL & Degradation of AR in LNCaP/VCaP cells using ELI... & 10.1021/acsmedchemlett.0c00236 \\\\\n",
      " NaN & Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)C... &                 VCaP &                        False & 7.30103 &      51.0 &  P10275 &       VHL & Degradation of AR in LNCaP/VCaP cells using ELI... & 10.1021/acsmedchemlett.0c00236 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Smiles</th>\n",
       "      <th>Cell Line Identifier</th>\n",
       "      <th>Active (Dmax 0.6, pDC50 6.0)</th>\n",
       "      <th>DC50 (nM)</th>\n",
       "      <th>Dmax (%)</th>\n",
       "      <th>Uniprot</th>\n",
       "      <th>E3 Ligase</th>\n",
       "      <th>Assay (DC50/Dmax)</th>\n",
       "      <th>Article DOI</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1477</th>\n",
       "      <td>Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...</td>\n",
       "      <td>LNCaP</td>\n",
       "      <td>True</td>\n",
       "      <td>50.0</td>\n",
       "      <td>71.0</td>\n",
       "      <td>P10275</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of AR in LNCaP/VCaP cells using EL...</td>\n",
       "      <td>10.1021/acsmedchemlett.0c00236</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1478</th>\n",
       "      <td>Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...</td>\n",
       "      <td>VCaP</td>\n",
       "      <td>False</td>\n",
       "      <td>50.0</td>\n",
       "      <td>51.0</td>\n",
       "      <td>P10275</td>\n",
       "      <td>VHL</td>\n",
       "      <td>Degradation of AR in LNCaP/VCaP cells using EL...</td>\n",
       "      <td>10.1021/acsmedchemlett.0c00236</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 Smiles Cell Line Identifier  \\\n",
       "1477  Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...                LNCaP   \n",
       "1478  Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)...                 VCaP   \n",
       "\n",
       "     Active (Dmax 0.6, pDC50 6.0)  DC50 (nM)  Dmax (%) Uniprot E3 Ligase  \\\n",
       "1477                         True       50.0      71.0  P10275       VHL   \n",
       "1478                        False       50.0      51.0  P10275       VHL   \n",
       "\n",
       "                                      Assay (DC50/Dmax)  \\\n",
       "1477  Degradation of AR in LNCaP/VCaP cells using EL...   \n",
       "1478  Degradation of AR in LNCaP/VCaP cells using EL...   \n",
       "\n",
       "                         Article DOI  \n",
       "1477  10.1021/acsmedchemlett.0c00236  \n",
       "1478  10.1021/acsmedchemlett.0c00236  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\\begin{tabular}{llllrrllll}\n",
      "\\toprule\n",
      "Name &                                             Smiles & Cell Line Identifier & Active (Dmax 0.6, pDC50 6.0) &   pDC50 &  Dmax (\\%) & Uniprot & E3 Ligase &                                  Assay (DC50/Dmax) &                    Article DOI \\\\\n",
      "\\midrule\n",
      " NaN & Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)C... &                LNCaP &                         True & 7.30103 &      71.0 &  P10275 &       VHL & Degradation of AR in LNCaP/VCaP cells using ELI... & 10.1021/acsmedchemlett.0c00236 \\\\\n",
      " NaN & Cc1ncsc1-c1ccc([C@H](C)NC(=O)[C@@H]2C[C@@H](O)C... &                 VCaP &                        False & 7.30103 &      51.0 &  P10275 &       VHL & Degradation of AR in LNCaP/VCaP cells using ELI... & 10.1021/acsmedchemlett.0c00236 \\\\\n",
      "\\bottomrule\n",
      "\\end{tabular}\n",
      "\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/tmp/ipykernel_3711258/332080580.py:17: FutureWarning: In future versions `DataFrame.to_latex` is expected to utilise the base implementation of `Styler.to_latex` for formatting and rendering. The arguments signature may therefore change. It is recommended instead to use `DataFrame.style.to_latex` which also contains additional functionality.\n",
      "  print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n"
     ]
    }
   ],
   "source": [
    "# Get the entries for which the same SMILES is active for one cell and inactive for another\n",
    "# This is a sign of a potential error in the data\n",
    "# This is a sign of a potential error in the data\n",
    "active_smiles = train_val_df[train_val_df[active_col] == 1]['Smiles']\n",
    "inactive_smiles = train_val_df[train_val_df[active_col] == 0]['Smiles']\n",
    "active_smiles = active_smiles.drop_duplicates()\n",
    "inactive_smiles = inactive_smiles.drop_duplicates()\n",
    "\n",
    "common_smiles = active_smiles[active_smiles.isin(inactive_smiles)]\n",
    "common_df = train_val_df[train_val_df['Smiles'].isin(common_smiles)]\n",
    "\n",
    "# # Group by Smiles and check if the same SMILES is active for one cell and inactive for another\n",
    "# grouped = common_df.groupby('Smiles')\n",
    "# for name, group in grouped:\n",
    "#     if group[active_col].nunique() > 1 and group['Cell Line Identifier'].nunique() > 1:\n",
    "#         display(group[['Smiles', 'Cell Line Identifier', active_col, 'DC50 (nM)', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']])\n",
    "#         print(group[['Name', 'Smiles', 'Cell Line Identifier', active_col, 'pDC50', 'Dmax (%)', 'Uniprot', 'E3 Ligase', 'Assay (DC50/Dmax)', 'Article DOI']].to_latex(index=False))\n",
    "#         print()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [],
   "source": [
    "import optuna\n",
    "\n",
    "def objective(trial: optuna.Trial, verbose: int = 0) -> float:\n",
    "    \n",
    "    radius = trial.suggest_int('radius', 1, 15)\n",
    "    fpsize = trial.suggest_int('fpsize', 128, 2048, step=128)\n",
    "\n",
    "    morgan_fpgen = AllChem.GetMorganGenerator(\n",
    "        radius=radius,\n",
    "        fpSize=fpsize,\n",
    "        includeChirality=True,\n",
    "    )\n",
    "\n",
    "    smiles2fp = {}\n",
    "    for smiles in train_val_df['Smiles'].unique().tolist():\n",
    "        smiles2fp[smiles] = pdp.get_fingerprint(smiles, morgan_fpgen)\n",
    "\n",
    "    # Count the number of unique SMILES and the number of unique Morgan fingerprints\n",
    "    unique_fps = set([tuple(fp) for fp in smiles2fp.values()])\n",
    "    # Get the list of SMILES with overlapping fingerprints\n",
    "    overlapping_smiles = []\n",
    "    unique_fps = set()\n",
    "    for smiles, fp in smiles2fp.items():\n",
    "        if tuple(fp) in unique_fps:\n",
    "            overlapping_smiles.append(smiles)\n",
    "        else:\n",
    "            unique_fps.add(tuple(fp))\n",
    "    num_overlaps = len(train_val_df[train_val_df[\"Smiles\"].isin(overlapping_smiles)])\n",
    "    num_overlaps_tot = len(protac_df[protac_df[\"Smiles\"].isin(overlapping_smiles)])\n",
    "\n",
    "    if verbose:\n",
    "        print(f'Radius: {radius}')\n",
    "        print(f'FP length: {fpsize}')\n",
    "        print(f'Number of unique SMILES: {len(smiles2fp)}')\n",
    "        print(f'Number of unique fingerprints: {len(unique_fps)}')\n",
    "        print(f'Number of SMILES with overlapping fingerprints: {len(overlapping_smiles)}')\n",
    "        print(f'Number of overlapping SMILES in train_val_df: {num_overlaps}')\n",
    "        print(f'Number of overlapping SMILES in protac_df: {num_overlaps_tot}')\n",
    "    return num_overlaps + radius + fpsize / 100"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "[I 2024-04-29 11:28:05,626] A new study created in memory with name: no-name-4db5d822-6220-4ab8-bc3a-c776b0e5cac2\n"
     ]
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "678150f59ec548bb89562e2230993989",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "  0%|          | 0/50 [00:00<?, ?it/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[I 2024-04-29 11:28:07,705] Trial 0 finished with value: 39.480000000000004 and parameters: {'radius': 6, 'fpsize': 2048}. Best is trial 0 with value: 39.480000000000004.\n",
      "[I 2024-04-29 11:28:09,590] Trial 1 finished with value: 23.8 and parameters: {'radius': 11, 'fpsize': 1280}. Best is trial 1 with value: 23.8.\n",
      "[I 2024-04-29 11:28:10,474] Trial 2 finished with value: 131.84 and parameters: {'radius': 3, 'fpsize': 384}. Best is trial 1 with value: 23.8.\n",
      "[I 2024-04-29 11:28:11,978] Trial 3 finished with value: 281.92 and parameters: {'radius': 1, 'fpsize': 1792}. Best is trial 1 with value: 23.8.\n",
      "[I 2024-04-29 11:28:13,994] Trial 4 finished with value: 25.36 and parameters: {'radius': 10, 'fpsize': 1536}. Best is trial 1 with value: 23.8.\n",
      "[I 2024-04-29 11:28:15,642] Trial 5 finished with value: 284.48 and parameters: {'radius': 1, 'fpsize': 2048}. Best is trial 1 with value: 23.8.\n",
      "[I 2024-04-29 11:28:17,154] Trial 6 finished with value: 18.12 and parameters: {'radius': 13, 'fpsize': 512}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:18,057] Trial 7 finished with value: 131.84 and parameters: {'radius': 3, 'fpsize': 384}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:19,570] Trial 8 finished with value: 41.519999999999996 and parameters: {'radius': 5, 'fpsize': 1152}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:20,860] Trial 9 finished with value: 23.4 and parameters: {'radius': 7, 'fpsize': 640}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:22,631] Trial 10 finished with value: 22.68 and parameters: {'radius': 15, 'fpsize': 768}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:24,427] Trial 11 finished with value: 22.68 and parameters: {'radius': 15, 'fpsize': 768}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:25,756] Trial 12 finished with value: 92.28 and parameters: {'radius': 15, 'fpsize': 128}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:27,466] Trial 13 finished with value: 20.96 and parameters: {'radius': 12, 'fpsize': 896}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:29,156] Trial 14 finished with value: 20.96 and parameters: {'radius': 12, 'fpsize': 896}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:30,727] Trial 15 finished with value: 18.12 and parameters: {'radius': 13, 'fpsize': 512}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:31,842] Trial 16 finished with value: 22.28 and parameters: {'radius': 9, 'fpsize': 128}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:33,365] Trial 17 finished with value: 18.12 and parameters: {'radius': 13, 'fpsize': 512}. Best is trial 6 with value: 18.12.\n",
      "[I 2024-04-29 11:28:34,801] Trial 18 finished with value: 16.84 and parameters: {'radius': 13, 'fpsize': 384}. Best is trial 18 with value: 16.84.\n",
      "[I 2024-04-29 11:28:35,986] Trial 19 finished with value: 13.56 and parameters: {'radius': 9, 'fpsize': 256}. Best is trial 19 with value: 13.56.\n",
      "[I 2024-04-29 11:28:37,122] Trial 20 finished with value: 14.56 and parameters: {'radius': 8, 'fpsize': 256}. Best is trial 19 with value: 13.56.\n",
      "[I 2024-04-29 11:28:38,175] Trial 21 finished with value: 30.28 and parameters: {'radius': 8, 'fpsize': 128}. Best is trial 19 with value: 13.56.\n",
      "[I 2024-04-29 11:28:39,406] Trial 22 finished with value: 13.56 and parameters: {'radius': 9, 'fpsize': 256}. Best is trial 19 with value: 13.56.\n",
      "[I 2024-04-29 11:28:40,649] Trial 23 finished with value: 13.56 and parameters: {'radius': 9, 'fpsize': 256}. Best is trial 19 with value: 13.56.\n",
      "[I 2024-04-29 11:28:41,868] Trial 24 finished with value: 12.56 and parameters: {'radius': 10, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:43,109] Trial 25 finished with value: 12.56 and parameters: {'radius': 10, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:44,587] Trial 26 finished with value: 16.4 and parameters: {'radius': 10, 'fpsize': 640}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:46,599] Trial 27 finished with value: 25.08 and parameters: {'radius': 11, 'fpsize': 1408}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:48,015] Trial 28 finished with value: 31.96 and parameters: {'radius': 6, 'fpsize': 896}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:49,347] Trial 29 finished with value: 23.4 and parameters: {'radius': 7, 'fpsize': 640}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:51,503] Trial 30 finished with value: 27.64 and parameters: {'radius': 11, 'fpsize': 1664}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:52,657] Trial 31 finished with value: 13.56 and parameters: {'radius': 9, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:53,840] Trial 32 finished with value: 12.56 and parameters: {'radius': 10, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:55,159] Trial 33 finished with value: 13.84 and parameters: {'radius': 10, 'fpsize': 384}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:56,140] Trial 34 finished with value: 39.28 and parameters: {'radius': 7, 'fpsize': 128}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:57,508] Trial 35 finished with value: 14.84 and parameters: {'radius': 11, 'fpsize': 384}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:28:58,900] Trial 36 finished with value: 15.120000000000001 and parameters: {'radius': 10, 'fpsize': 512}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:00,203] Trial 37 finished with value: 14.56 and parameters: {'radius': 12, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:02,225] Trial 38 finished with value: 49.2 and parameters: {'radius': 5, 'fpsize': 1920}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:03,942] Trial 39 finished with value: 22.52 and parameters: {'radius': 8, 'fpsize': 1152}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:05,240] Trial 40 finished with value: 13.84 and parameters: {'radius': 10, 'fpsize': 384}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:06,396] Trial 41 finished with value: 13.56 and parameters: {'radius': 9, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:07,422] Trial 42 finished with value: 30.28 and parameters: {'radius': 8, 'fpsize': 128}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:08,590] Trial 43 finished with value: 13.56 and parameters: {'radius': 9, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:09,949] Trial 44 finished with value: 14.84 and parameters: {'radius': 11, 'fpsize': 384}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:11,378] Trial 45 finished with value: 15.120000000000001 and parameters: {'radius': 10, 'fpsize': 512}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:12,637] Trial 46 finished with value: 26.4 and parameters: {'radius': 6, 'fpsize': 640}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:14,232] Trial 47 finished with value: 18.68 and parameters: {'radius': 11, 'fpsize': 768}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:14,904] Trial 48 finished with value: 214.28 and parameters: {'radius': 2, 'fpsize': 128}. Best is trial 24 with value: 12.56.\n",
      "[I 2024-04-29 11:29:16,323] Trial 49 finished with value: 16.56 and parameters: {'radius': 14, 'fpsize': 256}. Best is trial 24 with value: 12.56.\n"
     ]
    }
   ],
   "source": [
    "sampler = optuna.samplers.TPESampler(seed=42)\n",
    "study = optuna.create_study(sampler=sampler, direction='minimize')\n",
    "study.optimize(objective, n_trials=50, show_progress_bar=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Radius: 10\n",
      "FP length: 256\n",
      "Number of unique SMILES: 532\n",
      "Number of unique fingerprints: 532\n",
      "Number of SMILES with overlapping fingerprints: 0\n",
      "Number of overlapping SMILES in train_val_df: 0\n",
      "Number of overlapping SMILES in protac_df: 0\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "12.56"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Run objective with best params and verbose\n",
    "objective(study.best_trial, verbose=1)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}