I've been reading on Protein Amino Acid Sequences and their 3D structure. It seems that the 3D structure is encoded by the three torsion angles as shown above. My professor said there is a 1-1 encoding between 3d cartesian coordinates and the torsion angles, but I cannot find any way to do this either in pyrosetta or biopython. Is there any formulas/packages that would be of use for this conversion?
As I indicated in my comment:
- You need the amino acid sequence and values for bond lengths before you could determine the atomic co-ordinates from the dihedral angles.
- Originally the dihedral angles are calculated from the experimentally atomic co-ordinates (with the help of the sequence), so that what you propose is in its nature an academic exercise.
There is, however, a situation in which I have — in effect — done that, in exploring the structures that would be produced if the dihedral angles were varied. Rather than a command-line tool, there is a graphical tool that allows you to vary the angles interactively and see the results. This is the excellent Ramachandran Plot Explorer (Rama) by Bosco Ho. And yes, it can also generate the co-ordinates — you can save the results in PDB format to reopen or to visualize with other protein graphic software, such as JSmol.
The only problem is that the last version of this software was released in 2006, and is not 64-bit, so it will not run on the next version of Mac OS X (no idea about Windows). Bosco’s blog is still active, so perhaps he could be persuaded…