Hi all, I need a quick hack for the following problem:
I have a protein structure (generated by i-Tasser) in PDB format. I would like to transform the 3D model into a linearized form representing only the secondary structure, as a long flat chain of secondary structures from C to N terminus along the linear backbone. Of course, contained helices and sheets should still be rendered correctly. So this might be called reversing the 3D-folding of the structure.
The output would preferentially be in PDB format again. Is there possibly an easy way to do that?
Please let me know if the description of the task is unclear.
Background: I wish to create a little protein movie in Chimera using its morph tool, where the 2D cartoon structure morphs into the 3D ribbon structure. I tried to quickly flatten the structure manually, but that is not really convenient. I also have the i-Tasser output, if that helps.
The structure, just in case you need it.
Here is a little movie trying to explain what I want to achieve. As you can see, the linear model is far from perfect.
And here is the final movie.
I think it would be possible in principle to do this as discussed below. Thinking about it further, you wouldnt need to bother faffing about with parsing a DSSP file as chimera tracks secondary structure. You can use an approach like I did here:
https://github.com/jrjhealey/chimera/blob/master/tools/SSCalc.py#L70-L74
For each atom, figure out if it belongs to a helix, or sheet, if not, set its dihedrals as The suggests below (assuming the maths in that link checks out). This I'm not sure how to do, but the good folks over on the UCSF User forum would know easily enough.
I just posted the final movie https://licebase.org/file/1709
Could give me a bit more ideas about how to adjust the angles correctly? Is it ok to set them all to some default except for Coil? I really appreciate your input.
This is just off the top of my head but I don't consider myself particularly expert here.
To generate a perfectly linear molecule, you'd need to find all the 'turn' regions (i.e. non helix and non sheet). I think you'd then need to set the phi angle to (for instance) 90˚, then the psi angle to -90˚ (or whatever the actual number is, but they'd need to be opposing I think).
I'm not sure about the maths in The's answer below, but if they're coming from a paper that knows more about it than me that might be the way to go.
I can ask a friend of mine about this though.