Hi Eric,
Thanks a lot for your explanations!
In fact, I want to do this not for an amino acid side-chain (that was an easy-to-see example) but for a group in a small molecule. so I will need the BondRotMgr module.
First, I need to figure out how to select the bonds explicitly in the script. I thought that something like
bond1 = selection.OSLSelection(':2.C@C1|:2.C@C2')
bond2 = selection.OSLSelection(':2.C@C5|:2.C@C7')
(...)
would work, but it doesn't.
So far I have fond in the examples how to go through all the bonds in a molecule (or a residue) but not how to make a explicit selection of the bond. Is that possible at all or should I go through the molecule (or residue) list of bonds and pick the one I want based on two atom selections?