Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
514 changes: 514 additions & 0 deletions docs/notebooks/implicit-hbond.ipynb

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion docs/source/modules/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@ Helper functions
================

.. automodule:: prolif.utils
:members: get_residues_near_ligand, select_over_trajectory, pandas_series_to_bv, to_dataframe, to_bitvectors
:members: get_residues_near_ligand, select_over_trajectory, pandas_series_to_bv, to_dataframe, to_bitvectors

.. automodule:: prolif.io.protein_helper
:members: ProteinHelper, assign_bond_orders_from_smiles, strip_bonds, assign_intra_props

.. automodule:: prolif.io.cif
:members: cif_template_reader, cif_parser_lite

7 changes: 7 additions & 0 deletions docs/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,10 @@ interactions, ignoring backbone interactions and such, you can have a look at th
tutorial:

:ref:`notebooks/advanced:Advanced usage`

**Implicit hydrogen methods**: If your topology does not contain hydrogen atoms, you can
still use the implicit hydrogen methods to generate interaction fingerprints. This method is
useful for quickly comparing your experimental structure with computational results.

- :ref:`notebooks/implicit-hbond:Implicit hydrogen bond interaction`

44 changes: 44 additions & 0 deletions prolif/data/implicitHbond/1.D.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
1.D
RDKit 3D

18 20 0 0 1 0 0 0 0 0999 V2000
-1.3760 -10.2730 -22.0380 O 0 0 0 0 0 0 0 0 0 0 0 0
-2.0280 -9.0170 -22.2620 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.3380 -8.2530 -20.9460 C 0 0 1 0 0 0 0 0 0 0 0 0
-1.1470 -7.9570 -20.1840 O 0 0 0 0 0 0 0 0 0 0 0 0
-0.7210 -6.6180 -20.5300 C 0 0 1 0 0 0 0 0 0 0 0 0
0.3710 -6.6620 -21.8290 N 0 0 0 0 0 0 0 0 0 0 0 0
0.7880 -5.6430 -22.6800 C 0 0 0 0 0 0 0 0 0 0 0 0
0.3970 -4.3240 -22.6470 N 0 0 0 0 0 0 0 0 0 0 0 0
0.9940 -3.5860 -23.6340 C 0 0 0 0 0 0 0 0 0 0 0 0
1.8870 -4.0470 -24.5790 N 0 0 0 0 0 0 0 0 0 0 0 0
2.2550 -5.4100 -24.5670 C 0 0 0 0 0 0 0 0 0 0 0 0
3.1020 -5.9490 -25.4310 N 0 0 0 0 0 0 0 0 0 0 0 0
1.6980 -6.2480 -23.5900 C 0 0 0 0 0 0 0 0 0 0 0 0
1.8980 -7.6110 -23.3680 N 0 0 0 0 0 0 0 0 0 0 0 0
1.1210 -7.7990 -22.3520 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.9450 -5.8760 -21.0320 C 0 0 0 0 0 0 0 0 0 0 0 0
-3.0060 -6.9150 -21.3020 C 0 0 2 0 0 0 0 0 0 0 0 0
-4.1460 -6.6070 -20.4800 O 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0
3 2 1 6
3 4 1 0
3 17 1 0
4 5 1 0
5 6 1 6
5 16 1 0
6 7 1 0
6 15 1 0
7 8 2 0
7 13 1 0
8 9 1 0
9 10 2 0
10 11 1 0
11 12 1 0
11 13 2 0
13 14 1 0
14 15 2 0
16 17 1 0
17 18 1 1
M END
$$$$
70 changes: 70 additions & 0 deletions prolif/data/implicitHbond/1.D_protonated.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
1.D
PyMOL3.1 3D 0

31 33 0 0 1 0 0 0 0 0999 V2000
3.3265 -6.9320 -25.3719 H 0 0 0 0 0 0 0 0 0 0 0 0
-3.3673 -6.9486 -22.3298 H 0 0 0 0 0 0 0 0 0 0 0 0
-1.3824 -8.3951 -22.8820 H 0 0 0 0 0 0 0 0 0 0 0 0
-2.9799 -9.2258 -22.7503 H 0 0 0 0 0 0 0 0 0 0 0 0
-2.2929 -5.1710 -20.2770 H 0 0 0 0 0 0 0 0 0 0 0 0
-0.2570 -6.1500 -19.6618 H 0 0 0 0 0 0 0 0 0 0 0 0
-1.7152 -5.3091 -21.9342 H 0 0 0 0 0 0 0 0 0 0 0 0
-1.2136 -10.7045 -22.8800 H 0 0 0 0 0 0 0 0 0 0 0 0
3.5233 -5.3771 -26.1489 H 0 0 0 0 0 0 0 0 0 0 0 0
-4.3452 -5.6702 -20.5462 H 0 0 0 0 0 0 0 0 0 0 0 0
1.0283 -8.7848 -21.8963 H 0 0 0 0 0 0 0 0 0 0 0 0
-2.9832 -8.8914 -20.3424 H 0 0 0 0 0 0 0 0 0 0 0 0
0.7377 -2.5274 -23.6773 H 0 0 0 0 0 0 0 0 0 0 0 0
-1.3760 -10.2730 -22.0380 O 0 0 0 0 0 0 0 0 0 0 0 0
-2.0280 -9.0170 -22.2620 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.3380 -8.2530 -20.9460 C 0 0 1 0 0 0 0 0 0 0 0 0
-1.1470 -7.9570 -20.1840 O 0 0 0 0 0 0 0 0 0 0 0 0
-0.7210 -6.6180 -20.5300 C 0 0 1 0 0 0 0 0 0 0 0 0
0.3710 -6.6620 -21.8290 N 0 0 0 0 0 0 0 0 0 0 0 0
0.7880 -5.6430 -22.6800 C 0 0 0 0 0 0 0 0 0 0 0 0
0.3970 -4.3240 -22.6470 N 0 0 0 0 0 0 0 0 0 0 0 0
0.9940 -3.5860 -23.6340 C 0 0 0 0 0 0 0 0 0 0 0 0
1.8870 -4.0470 -24.5790 N 0 0 0 0 0 0 0 0 0 0 0 0
2.2550 -5.4100 -24.5670 C 0 0 0 0 0 0 0 0 0 0 0 0
3.1020 -5.9490 -25.4310 N 0 0 0 0 0 0 0 0 0 0 0 0
1.6980 -6.2480 -23.5900 C 0 0 0 0 0 0 0 0 0 0 0 0
1.8980 -7.6110 -23.3680 N 0 0 0 0 0 0 0 0 0 0 0 0
1.1210 -7.7990 -22.3520 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.9450 -5.8760 -21.0320 C 0 0 0 0 0 0 0 0 0 0 0 0
-3.0060 -6.9150 -21.3020 C 0 0 2 0 0 0 0 0 0 0 0 0
-4.1460 -6.6070 -20.4800 O 0 0 0 0 0 0 0 0 0 0 0 0
8 14 1 0 0 0 0
14 15 1 0 0 0 0
3 15 1 0 0 0 0
4 15 1 0 0 0 0
12 16 1 0 0 0 0
15 16 1 0 0 0 0
16 17 1 0 0 0 0
16 30 1 0 0 0 0
17 18 1 0 0 0 0
6 18 1 0 0 0 0
18 19 1 0 0 0 0
18 29 1 0 0 0 0
19 20 1 0 0 0 0
19 28 1 0 0 0 0
20 21 2 0 0 0 0
20 26 1 0 0 0 0
21 22 1 0 0 0 0
13 22 1 0 0 0 0
22 23 2 0 0 0 0
23 24 1 0 0 0 0
24 25 1 0 0 0 0
24 26 2 0 0 0 0
1 25 1 0 0 0 0
9 25 1 0 0 0 0
26 27 1 0 0 0 0
27 28 2 0 0 0 0
11 28 1 0 0 0 0
5 29 1 0 0 0 0
7 29 1 0 0 0 0
29 30 1 0 0 0 0
2 30 1 0 0 0 0
30 31 1 0 0 0 0
10 31 1 0 0 0 0
M END
$$$$
17 changes: 17 additions & 0 deletions prolif/data/implicitHbond/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
The example is originally from PLINDER tutorial dataset `1s2g__1__1.A_2.C__1.D`.

Raw file from PLINDER:
* `ligand_files/1.D.sdf`
* `receptor.pdb`

A manually modified version of `receptor.pdb` by replacing resname `HIS` to `HSD` was tested for certain protonated state.
* `receptor_hsd.pdb`

Suggested by [our PDB tutorial](https://prolif.readthedocs.io/en/latest/notebooks/pdb.html#pdb):
The protonated protein was prepared with [PypKa](https://pypka.org/) and its default settings.
* `receptor_ph7_amber.pdb`
However, some atoms are too close to recognize bonds correctly. Need to fix manually.
* `receptor_ph7_amber2.pdb`

The protonated ligand was prepared by PyMOL3.
* `ligand_files/1.D_protonated.sdf`
Loading