hbond_find
Hydrogen bonds and salt bridges in a protein from PDB/mmCIF by geometry: donor-acceptor distance and D-H...A angle, backbone amide H placed on the C(i-1)-N-CA bisector, counts by type (bb-bb, sc-bb, bb-sc, sc-sc), backbone i->i+4 helix pairs, Asp/Glu-Lys/Arg salt bridges.
- Field
- Structural biology
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 0.1 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001N-H...O at D-A 3.49 A, just inside 3.5 A, angle 180 (exact construction): 1 bb-bb bond, H...A = 3.49 - 1.01 = 2.48 A; placed H = (-1.01, 0, 0) on the C(i-1)-N-CA bisector, in plane, C-N-H = 180 - atan(15/8) deg (closed form)passed
hbond_count= 11lockedexact matchhbond_bb_bb= 11lockedexact matchamide_h_placed= 11lockedexact matchhbonds.0.distance_DA_A{"value": 3.49, "abs_tol": 1e-09}hbonds.0.distance_HA_A{"value": 2.48, "abs_tol": 1e-09}hbonds.0.angle_DHA_deg{"value": 180.0, "abs_tol": 1e-06}placed_h.0.x_A{"value": -1.01, "abs_tol": 1e-09}placed_h.0.y_A{"value": 0.0, "abs_tol": 1e-09}placed_h.0.z_A{"value": 0.0, "abs_tol": 1e-12}placed_h.0.n_h_A{"value": 1.01, "rel_tol": 1e-09}placed_h.0.out_of_plane_A{"value": 0.0, "abs_tol": 1e-12}placed_h.0.angle_C_N_H_deg{"value": 118.07248693585296, "abs_tol": 1e-06}placed_h.0.angle_CA_N_H_deg{"value": 118.07248693585296, "abs_tol": 1e-06}r0002same donor, O at D-A 3.51 A, just outside 3.5 A (exact construction): no H-bondpassed
hbond_count= 00lockedexact matchamide_h_placed= 11lockedexact matchr0003angle cutoff 120 deg: O at D-H...A = acos(-0.6) = 126.87 deg is kept, O at acos(-5/13) = 112.62 deg is dropped (Pythagorean constructions, exact); H...A = 2.0 A, D-A = sqrt(2.21^2 + 1.6^2)passed
hbond_count= 11lockedexact matchhbonds.0.acceptor= B 10 GLY Omisseddiffershbonds.0.angle_DHA_deg{"value": 126.86989764584402, "abs_tol": 1e-06}hbonds.0.distance_HA_A{"value": 2.0, "abs_tol": 1e-09}hbonds.0.distance_DA_A{"value": 2.728387802347753, "abs_tol": 1e-09}r0004angle cutoff raised to 127 deg: the acos(-0.6) = 126.87 deg bond is now just outside, none keptpassed
hbond_count= 00lockedexact matchr0005salt bridge: Asp OD1 to Lys NZ at 3.0 A found, to Arg NE at 5.0 A not (cutoff 4.0 A, exact construction); the Lys NZ...OD1 pair is also 1 sc-sc H-bond on distance alonepassed
salt_bridge_count= 11lockedexact matchsalt_bridges.0.base= B 20 LYSmisseddifferssalt_bridges.0.distance_A{"value": 3.0, "abs_tol": 1e-09}hbond_count= 11lockedexact matchhbond_sc_sc= 11lockedexact matchhbond_distance_only= 11lockedexact matchr0006hand-built set, counts known by construction: 1 bb-bb (O1 to NH5, an i->i+4 pair), 1 sc-bb (Ser OG 2.8 A), 1 bb-sc (NH61 to Asp OD1 3.0 A), 1 sc-sc (Lys-Glu 3.0 A, also the one salt bridge); Pro N (no amide H) and Thr OG1 at 3.8 A give nonepassed
hbond_count= 44lockedexact matchhbond_bb_bb= 11lockedexact matchhbond_sc_bb= 11lockedexact matchhbond_bb_sc= 11lockedexact matchhbond_sc_sc= 11lockedexact matchhbond_distance_only= 22lockedexact matchhelix_i4_count= 11lockedexact matchi4_pairs.0.acceptor_O= A 1 ALAmisseddiffersi4_pairs.0.donor_NH= A 5 GLYmisseddifferssalt_bridge_count= 11lockedexact matchamide_h_placed= 22lockedexact matchr0007counted once by construction: two Ser OG 2.8 A apart can each give or take, with no hydrogens that is 1 sc-sc bond (not 2); a Tyr OH 2.7 A from a His NE2 likewise 1; total 2, both on distance alonepassed
hbond_count= 22lockedexact matchhbond_sc_sc= 22lockedexact matchhbond_distance_only= 22lockedexact matchhbonds.0.distance_DA_A{"value": 2.8, "abs_tol": 1e-09}hbonds.1.distance_DA_A{"value": 2.7, "abs_tol": 1e-09}salt_bridge_count= 00lockedexact match
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
structure_text | PDB (ATOM records) or mmCIF text. HETATM, water and ligands are not read. | ||
structure_file | A PDB or mmCIF file, used when structure_text is empty. | ||
chain | Only this chain; empty reads every chain. | ||
dist_max_A | Å | 3.5 | Largest donor-acceptor distance for an H-bond. |
angle_min_deg | deg | 120.0 | Smallest D-H...A angle, applied where the donor's H is known (backbone N). |
salt_bridge_max_A | Å | 4.0 | Largest carboxylate O to Lys/Arg N distance for a salt bridge. |
nh_bond_A | Å | 1.01 | N-H length of a placed amide hydrogen. |
peptide_bond_max_A | Å | 2.0 | C(i-1)-N(i) distance above which the chain is taken as broken (no H placed). |
include_his_salt_bridges | false | Count His ND1/NE2 as a base for salt bridges. |
Readings
| Name | Unit | Meaning |
|---|---|---|
atoms_read | 1 | |
residues | 1 | |
chains | 1 | |
donors | 1 | |
acceptors | 1 | |
amide_h_placed | 1 | |
amide_h_from_file | 1 | |
placed_h_bond_max_dev_A | Å | |
placed_h_out_of_plane_max_A | Å | |
hbond_count | 1 | |
hbond_bb_bb | 1 | backbone N-H to backbone O |
hbond_sc_bb | 1 | side-chain donor to backbone O |
hbond_bb_sc | 1 | backbone N-H to side-chain acceptor |
hbond_sc_sc | 1 | |
hbond_distance_only | 1 | bonds from side-chain donors, judged on distance alone; a give-or-take pair (OH...OH, OH...His N) is counted once |
helix_i4_count | 1 | backbone O(i) to N-H(i+4), same chain |
turn_i3_count | 1 | backbone O(i) to N-H(i+3), same chain |
salt_bridge_count | 1 | |
mean_distance_DA_A | Å | |
mean_angle_DHA_deg | deg | |
shortest_distance_DA_A | Å | |
warnings | ||
hbonds | ||
i4_pairs | ||
salt_bridges | ||
placed_h | ||
hbonds.csv | ||
salt_bridges.csv | ||
amide_h.csv |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.