Hydrogen Bonds Plugin Reference
For task-oriented setup examples, see How-To: Analyze Hydrogen Bonds Across Conditions.
Settings
Top-level plugin key and CLI name: hydrogen_bonds.
Field |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Named MDAnalysis selections used by summaries |
|
list or mapping |
|
Named H-bond summaries to compute |
|
|
|
Donor-acceptor cutoff in Å |
|
|
|
D-H…A angle cutoff in degrees |
|
|
|
Re-evaluate selections on each frame |
|
|
|
Top residue pairs shown in output and plots |
|
|
|
Warn and skip summaries with empty groups instead of raising |
|
|
|
Permit overlapping composition partitions |
|
mapping or |
|
Optional donor/acceptor partition analysis |
|
|
|
Optional uniform frame spacing for time-axis plots |
Each summary defines exactly one of between: [group_a, group_b] or
within: group_name. Mapping-form summaries use the mapping key as the summary
name.
Hydrogen detection uses MDAnalysis HydrogenBondAnalysis with hydrogens
selected as (<group union>) and element H; topologies need explicit hydrogens
and reliable element metadata.
Comparison mode
hydrogen_bonds overrides result loading to validate settings-sensitive cache
files, then uses the framework’s default-style scalar comparison. It extracts
one MetricValue per configured summary named mean_hbonds_<summary> and runs
FDR-corrected pairwise tests and ANOVA per summary. higher_is_better is unset
because more or fewer H-bonds can be desirable depending on the system.
Output files
Per-replicate cache files are named hbonds_eq*.json under
analysis/<condition>/hydrogen_bonds/run_<replicate>/. Aggregated results are
written under analysis/<condition>/hydrogen_bonds/aggregated/, and
cross-condition statistics are written to comparison/hydrogen_bonds/result.json.
Plot outputs
Plot output |
Description |
|---|---|
|
Faceted mean H-bonds/frame bars for each summary |
|
Mean H-bonds/frame over time for one summary |
|
Highest-occupancy residue-pair bars for one summary |
|
Stacked composition by donor/acceptor partition, when composition is enabled |
|
Fractional composition by donor/acceptor partition, when composition is enabled |
Time-axis plots assume uniformly saved frames. PolyzyMD maps frame index to time
as frame_index * timestep_ps; variable-timestep concatenated trajectories are
not supported.