Skip to content

Commit 3f65928

Browse files
committed
SepTop: Adapt host min/max distance
1 parent 8afe723 commit 3f65928

1 file changed

Lines changed: 14 additions & 19 deletions

File tree

openmm_septop/septop_tutorial.ipynb

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"name": "stderr",
136136
"output_type": "stream",
137137
"text": [
138-
"Generating charges: 100%|███████████████████████| 10/10 [02:53<00:00, 17.38s/it]\n"
138+
"Generating charges: 100%|███████████████████████| 10/10 [02:54<00:00, 17.43s/it]\n"
139139
]
140140
}
141141
],
@@ -378,7 +378,7 @@
378378
},
379379
{
380380
"cell_type": "code",
381-
"execution_count": 13,
381+
"execution_count": 12,
382382
"id": "c2b3de6d-1f11-432d-82f3-9deff16c78dc",
383383
"metadata": {},
384384
"outputs": [],
@@ -388,14 +388,17 @@
388388
"\n",
389389
"# Run only a single repeat\n",
390390
"settings.protocol_repeats = 1\n",
391+
"# Change the min and max distance between protein and ligand atoms for Boresch restraints to avoid periodicity issues\n",
392+
"settings.complex_restraint_settings.host_min_distance = 0.5 * unit.nanometer\n",
393+
"settings.complex_restraint_settings.host_max_distance = 1.5 * unit.nanometer\n",
391394
"# Set the equilibration time to 2 ns (which is also the default)\n",
392395
"settings.solvent_simulation_settings.equilibration_length = 2000 * unit.picosecond\n",
393396
"settings.complex_simulation_settings.equilibration_length = 2000 * unit.picosecond"
394397
]
395398
},
396399
{
397400
"cell_type": "code",
398-
"execution_count": 14,
401+
"execution_count": 13,
399402
"id": "7adf42d6",
400403
"metadata": {},
401404
"outputs": [],
@@ -415,7 +418,7 @@
415418
},
416419
{
417420
"cell_type": "code",
418-
"execution_count": 15,
421+
"execution_count": 14,
419422
"id": "44ba94ca",
420423
"metadata": {},
421424
"outputs": [],
@@ -452,7 +455,7 @@
452455
},
453456
{
454457
"cell_type": "code",
455-
"execution_count": 16,
458+
"execution_count": 15,
456459
"id": "66666a80",
457460
"metadata": {},
458461
"outputs": [],
@@ -497,7 +500,7 @@
497500
},
498501
{
499502
"cell_type": "code",
500-
"execution_count": 17,
503+
"execution_count": 16,
501504
"id": "d6cebd9a",
502505
"metadata": {},
503506
"outputs": [
@@ -539,7 +542,7 @@
539542
},
540543
{
541544
"cell_type": "code",
542-
"execution_count": 18,
545+
"execution_count": 17,
543546
"id": "b96b57a9",
544547
"metadata": {},
545548
"outputs": [
@@ -558,7 +561,7 @@
558561
"name": "stderr",
559562
"output_type": "stream",
560563
"text": [
561-
"/Users/hannahbaumann/miniforge3/envs/septop/lib/python3.12/pty.py:95: DeprecationWarning: This process (pid=12534) is multi-threaded, use of forkpty() may lead to deadlocks in the child.\n",
564+
"/Users/hannahbaumann/miniforge3/envs/septop/lib/python3.12/pty.py:95: DeprecationWarning: This process (pid=26930) is multi-threaded, use of forkpty() may lead to deadlocks in the child.\n",
562565
" pid, fd = os.forkpty()\n"
563566
]
564567
}
@@ -606,7 +609,7 @@
606609
},
607610
{
608611
"cell_type": "code",
609-
"execution_count": 19,
612+
"execution_count": 18,
610613
"id": "de7d7920-b171-42fe-9b82-5ff5694d26e5",
611614
"metadata": {},
612615
"outputs": [],
@@ -624,7 +627,7 @@
624627
},
625628
{
626629
"cell_type": "code",
627-
"execution_count": 20,
630+
"execution_count": 19,
628631
"id": "0e2e0727-2c4a-4b60-947c-44504aed2eee",
629632
"metadata": {},
630633
"outputs": [
@@ -637,22 +640,14 @@
637640
" 'pint_unit_registry': 'openff_units'}"
638641
]
639642
},
640-
"execution_count": 20,
643+
"execution_count": 19,
641644
"metadata": {},
642645
"output_type": "execute_result"
643646
}
644647
],
645648
"source": [
646649
"estimate"
647650
]
648-
},
649-
{
650-
"cell_type": "code",
651-
"execution_count": null,
652-
"id": "b70822d2-5030-4ed9-87da-f166de551592",
653-
"metadata": {},
654-
"outputs": [],
655-
"source": []
656651
}
657652
],
658653
"metadata": {

0 commit comments

Comments
 (0)