Hydrogen Bonds [1]
This analyzer counts hydrogen bonds using geometric cutoffs.
Additionally, the hydrogen bond count can be calculated between two selections, like between a polymer and the solvent.
Command line
-hb A:b:c:alpha--hydrogenBondsA is the acceptor element symbolb is the maximum hydrogen atom (H) - acceptor atom (A) distance (float)c maximum donor atom (D) - acceptor atom distance (float)alpha is the maximum angle in degrees between the D-H and H-A vectors (float)-hb-file--hbonds-file-hb-pos--hbondPositions--hydrogenBonds.-hb-between SEL1 SEL2--hb-between SEL1 SEL2--hydrogenBonds to define the hydrogen-bond cutoffs.-sel.-hb-between-file--hb-between-fileExample
MakroLyzer -xyz polymer.xyz -hb O:2.4:3.4:30 -hb-file myHbondOutput.csv
MakroLyzer -xyz solvated_polymer.xyz -hb O:2.4:3.4:30 -hb-between CHON H2O
MakroLyzer -xyz polymer.xyz -hb O:2.4:3.4:30 -hb-pos myHbondPositions.xyz
Output
The output file contains one row per frame and cutoff:
Column |
Description |
|---|---|
Frame |
Frame index in the trajectory |
Element Type |
Acceptor element symbol |
H-Acceptor dist |
Cutoff distance |
Donor-Acceptor dist |
Cutoff distance |
Angle cutoff |
Cutoff angle |
Number of Hydrogen Bonds |
Count for this cutoff |
For hydrogen bonds between two selections, the output file contains the same cutoff information and additionally lists the two selections:
Column |
Description |
|---|---|
Frame |
Frame index in the trajectory |
Selection 1 |
First selected species |
Selection 2 |
Second selected species |
Element Type |
Acceptor element symbol |
H-Acceptor dist |
Cutoff distance |
Donor-Acceptor dist |
Cutoff distance |
Angle cutoff |
Cutoff angle |
Number of Hydrogen Bonds |
Count of hydrogen bonds between the two selections for this cutoff |