|
12 | 12 | "\n",
|
13 | 13 | "The relative binding free energy is obtained through a thermodynamic cycle. The ligands are transformed into each other both in solvent, giving \n",
|
14 | 14 | "$\\Delta\\Delta G$ (solvent) and in the complex, giving $\\Delta\\Delta G$ (complex), which allows calculation of the relative binding free energy, $\\Delta\\Delta G$. \n",
|
15 |
| - "Each ligand is represented with its own set of coordinates, meaning that the interactions of all atoms are turned off/on. Therefore, restraints are required: \n", |
16 |
| - "Ligands are restrained to the protein in the complex states using orientational (Boresch-style) restraints; in the solvent states ligands are restrained to each other using a single harmonic distance restraint. Restraints are not depicted in the graphic below for simplicity.\n", |
| 15 | + "Each ligand is represented with its own set of coordinates, meaning that the interactions of all atoms of one ligand are turned off while simultaneously turning on the interactions of all atoms of the other ligand. Therefore, restraints are required: \n", |
| 16 | + "Ligands are restrained to the protein in the complex states using orientational (Boresch-style) restraints; in the solvent states ligands are restrained to remain apart from each other using a single harmonic distance restraint between the ligands. Restraints are not depicted in the thermodynamic cycle below for simplicity.\n", |
17 | 17 | "\n",
|
18 | 18 | "Note: In this `Protocol`, the coulombic interactions of the molecule are fully turned off (annihilated), while the Lennard-Jones interactions are decoupled, meaning the intermolecular interactions are turned off, whilst keeping the intramolecular Lennard-Jones interactions."
|
19 | 19 | ]
|
|
84 | 84 | "name": "stderr",
|
85 | 85 | "output_type": "stream",
|
86 | 86 | "text": [
|
87 |
| - "Generating charges: 100%|███████████████████████| 10/10 [02:41<00:00, 16.12s/it]\n" |
| 87 | + "Generating charges: 100%|███████████████████████| 10/10 [02:38<00:00, 15.87s/it]\n" |
88 | 88 | ]
|
89 | 89 | }
|
90 | 90 | ],
|
|
112 | 112 | "source": [
|
113 | 113 | "## Creating the `LigandNetwork`\n",
|
114 | 114 | "\n",
|
115 |
| - "The first step is to create a `LigandNetwork`. Here, we will be using the same process as in the relative hybrid topology `Protocol`, including the use of a mapper which is required by the scorer. **The mappings will not be used in the `Protocol`.** This is a temporary solution until we have developed a scorer specifically for the `SepTopProtocol`.\n", |
| 115 | + "The first step is to create a `LigandNetwork`. Here, we will be using the same process as in the relative hybrid topology `Protocol`, including the use of a mapper which is required by the scorer. **The mappings will not be used in the `Protocol`.** This is a temporary solution until we have developed a scorer specifically for the `SepTopProtocol`. Alternatively, the user can also manually define the edges they want to run when creating the transformations below, without creating a `LigandNetwork` first.\n", |
116 | 116 | "\n",
|
117 | 117 | "The pipeline for creating a `LigandNetwork` can involve three components:\n",
|
118 | 118 | "\n",
|
|
329 | 329 | },
|
330 | 330 | {
|
331 | 331 | "cell_type": "code",
|
332 |
| - "execution_count": 14, |
| 332 | + "execution_count": 12, |
333 | 333 | "id": "c2b3de6d-1f11-432d-82f3-9deff16c78dc",
|
334 | 334 | "metadata": {},
|
335 | 335 | "outputs": [],
|
|
344 | 344 | },
|
345 | 345 | {
|
346 | 346 | "cell_type": "code",
|
347 |
| - "execution_count": 15, |
| 347 | + "execution_count": 13, |
348 | 348 | "id": "7adf42d6",
|
349 | 349 | "metadata": {},
|
350 | 350 | "outputs": [],
|
|
364 | 364 | },
|
365 | 365 | {
|
366 | 366 | "cell_type": "code",
|
367 |
| - "execution_count": 16, |
| 367 | + "execution_count": 14, |
368 | 368 | "id": "44ba94ca",
|
369 | 369 | "metadata": {},
|
370 | 370 | "outputs": [],
|
|
401 | 401 | },
|
402 | 402 | {
|
403 | 403 | "cell_type": "code",
|
404 |
| - "execution_count": 17, |
| 404 | + "execution_count": 15, |
405 | 405 | "id": "66666a80",
|
406 | 406 | "metadata": {},
|
407 | 407 | "outputs": [],
|
|
446 | 446 | },
|
447 | 447 | {
|
448 | 448 | "cell_type": "code",
|
449 |
| - "execution_count": 18, |
| 449 | + "execution_count": 16, |
450 | 450 | "id": "d6cebd9a",
|
451 | 451 | "metadata": {},
|
452 | 452 | "outputs": [],
|
|
463 | 463 | },
|
464 | 464 | {
|
465 | 465 | "cell_type": "code",
|
466 |
| - "execution_count": 19, |
| 466 | + "execution_count": 17, |
467 | 467 | "id": "b96b57a9",
|
468 | 468 | "metadata": {},
|
469 | 469 | "outputs": [
|
|
522 | 522 | },
|
523 | 523 | {
|
524 | 524 | "cell_type": "code",
|
525 |
| - "execution_count": null, |
| 525 | + "execution_count": 18, |
526 | 526 | "id": "de7d7920-b171-42fe-9b82-5ff5694d26e5",
|
527 | 527 | "metadata": {},
|
528 | 528 | "outputs": [],
|
|
531 | 531 | "import json\n",
|
532 | 532 | "import gufe\n",
|
533 | 533 | "\n",
|
534 |
| - "outfile = \"results_septop/rbfe_lig_ejm_31_lig_ejm_42.json\"\n", |
| 534 | + "outfile = \"results/rbfe_lig_ejm_31_lig_ejm_42.json\"\n", |
535 | 535 | "with open(outfile) as stream:\n",
|
536 | 536 | " results = json.load(stream)\n",
|
537 | 537 | " estimate = results['estimate']\n",
|
|
540 | 540 | },
|
541 | 541 | {
|
542 | 542 | "cell_type": "code",
|
543 |
| - "execution_count": null, |
| 543 | + "execution_count": 19, |
544 | 544 | "id": "0e2e0727-2c4a-4b60-947c-44504aed2eee",
|
545 | 545 | "metadata": {},
|
546 |
| - "outputs": [], |
| 546 | + "outputs": [ |
| 547 | + { |
| 548 | + "data": { |
| 549 | + "text/plain": [ |
| 550 | + "{'magnitude': -1.0343272142162547,\n", |
| 551 | + " 'unit': 'kilocalorie_per_mole',\n", |
| 552 | + " ':is_custom:': True,\n", |
| 553 | + " 'pint_unit_registry': 'openff_units'}" |
| 554 | + ] |
| 555 | + }, |
| 556 | + "execution_count": 19, |
| 557 | + "metadata": {}, |
| 558 | + "output_type": "execute_result" |
| 559 | + } |
| 560 | + ], |
547 | 561 | "source": [
|
548 | 562 | "estimate"
|
549 | 563 | ]
|
| 564 | + }, |
| 565 | + { |
| 566 | + "cell_type": "code", |
| 567 | + "execution_count": null, |
| 568 | + "id": "8bd82399-c523-4960-a0c1-38dbc0901b57", |
| 569 | + "metadata": {}, |
| 570 | + "outputs": [], |
| 571 | + "source": [] |
550 | 572 | }
|
551 | 573 | ],
|
552 | 574 | "metadata": {
|
|
0 commit comments