Skip to content

Commit f74b87f

Browse files
committed
add placeholder for openfold confidence score analysis
1 parent 8c6181e commit f74b87f

2 files changed

Lines changed: 70 additions & 46 deletions

File tree

File renamed without changes.

cookbook/openfold3_to_openfe.ipynb

Lines changed: 70 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,39 @@
209209
"output_writer_settings:\n",
210210
" # change output format to pdb (default: mmcif):\n",
211211
" structure_format: pdb\n",
212-
"```\n",
213-
"\n",
212+
"```"
213+
]
214+
},
215+
{
216+
"cell_type": "markdown",
217+
"id": "f3e4b82a-716e-494a-90e0-bff5c567df50",
218+
"metadata": {},
219+
"source": [
214220
"#### Running OpenFold\n",
215221
"\n",
216222
"With all these inputs, you can now run OpenFold:\n",
217223
"\n",
218224
"`run_openfold predict --query_json=queries.json --runner_yaml output_settings.yml`"
219225
]
220226
},
227+
{
228+
"cell_type": "markdown",
229+
"id": "354f4601-d1eb-46a6-9d5f-b0cd586880a0",
230+
"metadata": {},
231+
"source": [
232+
"### Evaluating OpenFold outputs"
233+
]
234+
},
235+
{
236+
"cell_type": "code",
237+
"execution_count": 4,
238+
"id": "ebe05714-306a-4353-a682-1174aef6f116",
239+
"metadata": {},
240+
"outputs": [],
241+
"source": [
242+
"# confidence scores for each ligand are at assets/of3_tyk2_output/{lig_name}/*/*confidences*.json"
243+
]
244+
},
221245
{
222246
"cell_type": "markdown",
223247
"id": "b4adde29-282a-45f6-96a6-c8de0700a266",
@@ -262,7 +286,7 @@
262286
},
263287
{
264288
"cell_type": "code",
265-
"execution_count": 4,
289+
"execution_count": 5,
266290
"id": "25ef33bf-fb1a-45da-96e4-004f77ef7d34",
267291
"metadata": {},
268292
"outputs": [
@@ -290,25 +314,25 @@
290314
"text": [
291315
"/Users/atravitz/micromamba/envs/openfe-notebooks/lib/python3.13/site-packages/MDAnalysis/coordinates/PDB.py:885: UserWarning: Unit cell dimensions not found. CRYST1 record set to unitary values.\n",
292316
" warnings.warn(\n",
293-
"[15:27:28] WARNING: More than one matching pattern found - picking one\n",
317+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
294318
"\n",
295-
"[15:27:28] WARNING: More than one matching pattern found - picking one\n",
319+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
296320
"\n",
297-
"[15:27:28] WARNING: More than one matching pattern found - picking one\n",
321+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
298322
"\n",
299-
"[15:27:28] WARNING: More than one matching pattern found - picking one\n",
323+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
300324
"\n",
301-
"[15:27:28] WARNING: More than one matching pattern found - picking one\n",
325+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
302326
"\n",
303-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
327+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
304328
"\n",
305-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
329+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
306330
"\n",
307-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
331+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
308332
"\n",
309-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
333+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
310334
"\n",
311-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
335+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
312336
"\n"
313337
]
314338
}
@@ -363,27 +387,27 @@
363387
},
364388
{
365389
"cell_type": "code",
366-
"execution_count": 5,
390+
"execution_count": 6,
367391
"id": "26c10e11-f001-44e5-87a4-2939ead048a8",
368392
"metadata": {},
369393
"outputs": [
370394
{
371395
"name": "stderr",
372396
"output_type": "stream",
373397
"text": [
374-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
398+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
375399
"\n",
376-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
400+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
377401
"\n",
378-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
402+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
379403
"\n",
380-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
404+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
381405
"\n",
382-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
406+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
383407
"\n",
384-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
408+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
385409
"\n",
386-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
410+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
387411
"\n"
388412
]
389413
},
@@ -407,11 +431,11 @@
407431
"name": "stderr",
408432
"output_type": "stream",
409433
"text": [
410-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
434+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
411435
"\n",
412-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
436+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
413437
"\n",
414-
"[15:27:29] WARNING: More than one matching pattern found - picking one\n",
438+
"[16:44:16] WARNING: More than one matching pattern found - picking one\n",
415439
"\n"
416440
]
417441
}
@@ -479,7 +503,7 @@
479503
},
480504
{
481505
"cell_type": "code",
482-
"execution_count": 6,
506+
"execution_count": 7,
483507
"id": "ea82c47d-9794-424c-8d27-a9c6e69d29e8",
484508
"metadata": {},
485509
"outputs": [],
@@ -504,15 +528,15 @@
504528
},
505529
{
506530
"cell_type": "code",
507-
"execution_count": 7,
531+
"execution_count": 8,
508532
"id": "fc97de03",
509533
"metadata": {},
510534
"outputs": [
511535
{
512536
"name": "stderr",
513537
"output_type": "stream",
514538
"text": [
515-
"Generating charges: 100%|███████████████████████| 10/10 [00:05<00:00, 1.75it/s]\n"
539+
"Generating charges: 100%|███████████████████████| 10/10 [00:05<00:00, 1.77it/s]\n"
516540
]
517541
}
518542
],
@@ -553,7 +577,7 @@
553577
},
554578
{
555579
"cell_type": "code",
556-
"execution_count": 8,
580+
"execution_count": 9,
557581
"id": "88bbbbca-4f6a-4496-bea9-f621ffd8183e",
558582
"metadata": {},
559583
"outputs": [
@@ -580,7 +604,7 @@
580604
},
581605
{
582606
"cell_type": "code",
583-
"execution_count": 9,
607+
"execution_count": 10,
584608
"id": "30373ee0-d777-4828-b89a-5a8fdbc56c41",
585609
"metadata": {},
586610
"outputs": [],
@@ -603,7 +627,7 @@
603627
},
604628
{
605629
"cell_type": "code",
606-
"execution_count": 10,
630+
"execution_count": 11,
607631
"id": "c405e50c-1df3-4bef-8278-393550e1fc6a",
608632
"metadata": {},
609633
"outputs": [
@@ -613,7 +637,7 @@
613637
"SmallMoleculeComponent(name=lig_jmc_27)"
614638
]
615639
},
616-
"execution_count": 10,
640+
"execution_count": 11,
617641
"metadata": {},
618642
"output_type": "execute_result"
619643
}
@@ -626,7 +650,7 @@
626650
},
627651
{
628652
"cell_type": "code",
629-
"execution_count": 11,
653+
"execution_count": 12,
630654
"id": "987a1657-82d0-4310-9fe7-4eecd289632a",
631655
"metadata": {},
632656
"outputs": [
@@ -637,7 +661,7 @@
637661
" ChemicalSystem(name=state_B, components={'protein': ProteinComponent(name=tyk2), 'solvent': SolventComponent(name=O, Na+, Cl-)}))"
638662
]
639663
},
640-
"execution_count": 11,
664+
"execution_count": 12,
641665
"metadata": {},
642666
"output_type": "execute_result"
643667
}
@@ -671,7 +695,7 @@
671695
},
672696
{
673697
"cell_type": "code",
674-
"execution_count": 12,
698+
"execution_count": 13,
675699
"id": "037cb959-8f0c-4a09-844a-30e39590eabf",
676700
"metadata": {},
677701
"outputs": [],
@@ -693,7 +717,7 @@
693717
},
694718
{
695719
"cell_type": "code",
696-
"execution_count": 13,
720+
"execution_count": 14,
697721
"id": "ef7a9ebf-e0d7-4dda-aac5-d4428b120814",
698722
"metadata": {},
699723
"outputs": [],
@@ -727,7 +751,7 @@
727751
},
728752
{
729753
"cell_type": "code",
730-
"execution_count": 14,
754+
"execution_count": 15,
731755
"id": "7ad01abd-097c-466d-9a3f-74a67e4d9015",
732756
"metadata": {},
733757
"outputs": [],
@@ -738,7 +762,7 @@
738762
},
739763
{
740764
"cell_type": "code",
741-
"execution_count": 15,
765+
"execution_count": 16,
742766
"id": "71d4ff18-a837-443d-bc02-69554e7d76cf",
743767
"metadata": {},
744768
"outputs": [],
@@ -770,7 +794,7 @@
770794
},
771795
{
772796
"cell_type": "code",
773-
"execution_count": 16,
797+
"execution_count": 17,
774798
"id": "3e343c11-b693-4700-b1ea-2fa7951afa88",
775799
"metadata": {},
776800
"outputs": [],
@@ -784,7 +808,7 @@
784808
},
785809
{
786810
"cell_type": "code",
787-
"execution_count": 17,
811+
"execution_count": 18,
788812
"id": "a531a0cb-3eda-4d25-89d8-347f470d40ea",
789813
"metadata": {},
790814
"outputs": [],
@@ -818,7 +842,7 @@
818842
},
819843
{
820844
"cell_type": "code",
821-
"execution_count": 18,
845+
"execution_count": 19,
822846
"id": "31d18f6d-b938-4de3-9b2f-3c6e9bedd827",
823847
"metadata": {},
824848
"outputs": [],
@@ -848,7 +872,7 @@
848872
},
849873
{
850874
"cell_type": "code",
851-
"execution_count": 19,
875+
"execution_count": 20,
852876
"id": "b5186710-f89e-4c86-998f-4e9fe076a2d8",
853877
"metadata": {},
854878
"outputs": [
@@ -878,7 +902,7 @@
878902
},
879903
{
880904
"cell_type": "code",
881-
"execution_count": 20,
905+
"execution_count": 21,
882906
"id": "c8db1e94-c146-4daf-bdb2-4383b4fcd0d6",
883907
"metadata": {},
884908
"outputs": [
@@ -932,7 +956,7 @@
932956
},
933957
{
934958
"cell_type": "code",
935-
"execution_count": 21,
959+
"execution_count": 22,
936960
"id": "7d3c436c-fd93-4a3e-9933-e43b00783931",
937961
"metadata": {},
938962
"outputs": [],
@@ -956,7 +980,7 @@
956980
},
957981
{
958982
"cell_type": "code",
959-
"execution_count": 22,
983+
"execution_count": 23,
960984
"id": "b161b5b6-7718-4a47-b834-e3d88082bb31",
961985
"metadata": {},
962986
"outputs": [],
@@ -986,7 +1010,7 @@
9861010
},
9871011
{
9881012
"cell_type": "code",
989-
"execution_count": 23,
1013+
"execution_count": 24,
9901014
"id": "3bbd3d6d-35f0-490f-8fdd-4debc7874e23",
9911015
"metadata": {},
9921016
"outputs": [],
@@ -1016,7 +1040,7 @@
10161040
},
10171041
{
10181042
"cell_type": "code",
1019-
"execution_count": 24,
1043+
"execution_count": 25,
10201044
"id": "8b374e77-64fb-48a1-b9ae-9b1dba74ebb5",
10211045
"metadata": {},
10221046
"outputs": [],

0 commit comments

Comments
 (0)