rotating coordinates

Randal R. Ketchem rrk at
Fri Oct 2 11:34:31 EST 1992

Dear netters,

I am looking for code, preferably in C, that will read in a PDB protein file,
create bond vectors, allow one to perform torsional rotations about
desired bonds, and then output the new coordinates.

I know how to rotate a vector, as in rotating bonds about some torsion angle,
but I don't have code to read in a PDB file and connect the atoms into bond
vectors. I could do the torsion rotations once the vectors were established,
so I really only need the code to read a PDB file and create the bond

I have access to a commercial molecular modeling program, but I would then
have to sit at the console to do the rotations.

Please respond to rrk at


|Randal R. Ketchem                           ***CELEBRATE FREEDOM***        |
|Institute of Molecular Biophysics            The Holy Bible by God         |
|Florida State University                     1984 by George Orwell         |
|Tallahassee, FL 32306-3015  /_/\/\   A Farewell to Arms by Ernest Hemingway|
|904.644.7798                \_\  /  The Catcher in the Rye by J.D. Salinger|
|                            /_/  \    Flowers for Algernon by Daniel Keyes |
|Internet: rrk at    \_\/\ \ Gone With the Wind by Margaret Mitchell|
|                               \_\/    Of Mice and Men by John Steinbeck   |
|                                            ***READ A BANNED BOOK***       |

More information about the Comp-bio mailing list