Hi,
I need to calculate torsion angles in a set of small molecules (not peptides). I have looked into creating a component that would calculate the angle when given the 4 atom numbers. PilotScript doesn't appear to have the vector geometry needed, and I haven't used the perl property calculator before...So, if anyone has one already, it would save me some time developing one. (don't particularly want to redevelop the wheel here....)
Thanks !
Di
I need to calculate torsion angles in a set of small molecules (not peptides). I have looked into creating a component that would calculate the angle when given the 4 atom numbers. PilotScript doesn't appear to have the vector geometry needed, and I haven't used the perl property calculator before...So, if anyone has one already, it would save me some time developing one. (don't particularly want to redevelop the wheel here....)
Thanks !
Di

Martin
Try the MolTorsion() function in PilotScript (and Java, Perl).
Can you share the component when you have it working?
Thanks!
a) 4,3,7,12
b) 17,16,20,25
and c) 29,28,32,37
When I use various methods to find these bonds (such as find the rings with the Ir in it, and delete the Ir atom) the resulting arrays are always ordered. However, the torsion returned by MolTorsion(3,4,7,12) is not the same as the torsion returned by MolTorsion(4,3,7,12).
(1) It is part of a 5 membered ring that includes the iridium.
(2) If you take the iridium out of the set of atoms in that ring, the 4 remaining atoms define the torsion angle I'm interested in.
However, the atoms usually are not numbered in order. i.e. the first ring is (in pipeline pilot) 1,3,4,7,12 but to define the torsion angle correctly, you need to specify 4,3,7,12.
for instance if I give it a ring # ? or if I give it an array with the atom #s in it (i.e. I give it 1,3,4,7,12 and it give me 1,4,3,7,12 ) ? or if I give it a starting atom and say "give me the atoms of the rings that this atom is participating in, in order ? (i.e. for the iridium atom (atom # 1) it could give back an array like this:
1,4,3,7,12
1,17,16,20,25
1,29,28,32,37
)