ReliaSolve / cctbx_project

Computational Crystallography Toolbox
https://cctbx.github.io
Other
0 stars 0 forks source link

Better specification of single-hydrogen rotator initial rotation #250

Closed russell-taylor closed 1 year ago

russell-taylor commented 1 year ago

We want the hydrogen to be placed at the same orientation for each run. For Tyrosine, it must be placed opposite the carbon rather than one of the hydrogens. For other cases, it must be placed at the same angle on all instances of the same residue or HET group.

New algorithm:

russell-taylor commented 1 year ago

It turns out that the probe.Helpers.dihedralChoicesForRotatableHydrogens() method is being used to determine which hydrogen and which neighbor-of-neighbors to be used based on the results of calling model.get_riding_h_manager().

The code to determine this is thus inside of CCTBX and is not just randomly selecting one of either of them.