TorchProteinLibrary icon indicating copy to clipboard operation
TorchProteinLibrary copied to clipboard

Beta angles appear to be incorrect

Open ghost opened this issue 5 years ago • 3 comments

I reconstructed the backbone for the protein 6MSP from the PDB, using real dihedral angles fed to Angles2Backbone.

I calculated planar angles for both the original backbone versus for the reconstruction.

The planar angles N-Cα-C etc. are constant in the reconstruction. In the original, they are of course slightly variable. However it looks like the typical values used in Angles2Backbone do not correspond to the correct triples. It is currently: β(3j) = π − 2.1186 β(3j + 1) = π − 1.9391 β(3j + 2) = π − 2.061

However, from looking at this data, it looks like this is supposed to be: β(3j) = π − 2.0610 β(3j + 1) = π − 2.1186 β(3j + 2) = π − 1.9391

image

ghost avatar Feb 09 '21 15:02 ghost

Thank you, checking it right now.

lupoglaz avatar Feb 13 '21 13:02 lupoglaz

The same problem is there for FullAtomModel.Angles2Coords, can you please look into it? Thanks!

truzmeto avatar Nov 10 '22 20:11 truzmeto

Fixed it for FullAtomModel.Angles2Coords here: https://github.com/truzmeto/TorchProteinLibrary/blob/9d08825248e362cac8888bca432f87e99fb88314/Layers/FullAtomModel/cGeometry.cpp#L17

Tested reconstruction with 42 residue peptide, which gave 1.6AA backbone rmsd difference. Previously difference was ~7AA when beta angle mean positions were swapped. download

truzmeto avatar Nov 11 '22 07:11 truzmeto