LUA command(s) to count/identify hydrogen bonds
|Opened on:||Thursday, May 2, 2019 - 18:08|
|Last modified:||Monday, November 16, 2020 - 23:17|
Often in Design Puzzles, I want certain hydrogen bonds to form.
While manually I can view and count how many hydrogen bonds
come off a certain segment and what segments & atoms they
connect, it would be nice to make recipes do this for me.
This leads me to ask for LUA commands that do as below:
(1) Make a LUA command that will give the total number of
hydrogen bonds formed by a given segment.
(2) Make LUA commands to read information about each
hydrogen bond on a particular segment. Manually we can
determine which segments atoms & monomers each hydrogen
bond connects and whether the hydrogen bond is for sheet
helix loop sidechain or non-protein (see the View Menu).
Why not let LUA commands access the same information?
(3) If possible, also make LUA commands that tell each
hydrogen bond's strength or energy contribution and
how long it is (N to O distances are more helpful to
me in many cases than are distances involving H's).