-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protect angles in helices when adjacent to prolines #673
Conversation
The current implementation weakens helical BB-BB-BB angles whenever a Pro is present, which makes sense. The helical dihedrals, however, are never switched off (shouldn't they be?). Helix BB-BB-BB angles centered on Pro are, therefore, protected by type 10 angles from reaching 180 deg. Angles involving adjacent residues, however, are problematic because they are also weakened, but not protected by type 10 potentials. This PR fixes that.
I also deleted a later block that overrode the unprotected angle for the specific case of proline-centered angles, which left out the adjacent residues. If it all gets protected at the first helix pass, there's no need for later overriding. Please, do double check I'm not breaking any non-obvious vermouth logic here. |
Hey Manuel, thanks for the contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, I agree that the change makes sense! Once the tests are fixed, should all be good (though we may have to fix other stuff before merging)
So, it turns out that the cascading logic did mind that I deleted that last block (the Pro-centered angles get overridden under some circumstances and need re-setting). I reverted the deletion and it should now be good to go 🤞 There's probably a way to rearrange the angle definitions so that we don't need to re-set Pro-centered angles, but it's probably out of the scope of this PR. |
@csbrasnett Most tests are passing. The deploy one is complaining about access to tokens since this PR is being made from a fork:
This is safe to ignore, I assume? |
We could move the link down in the list, basically giving it a higher priority, but that may cause more issues than it's worth. Thanks Manuel! |
@mnmelo You accidentally (?) closed this PR before it was merged. Was this intentional? |
Aww, this was silly. I mistook 'Accepted' for 'Merged' and deleted my fork -- in the process messing up the PR. I'll reopen/create a new one. |
Please check #675, in which I reactivated the PR. |
The current implementation weakens helical BB-BB-BB angles whenever a Pro is present, which makes sense.
The helical dihedrals, however, are never switched off (shouldn't they be?). Helix BB-BB-BB angles centered on Pro are, therefore, protected by type 10 angles from reaching 180 deg.
Angles involving adjacent residues, however, are problematic because they are also weakened, but not protected by type 10 potentials. This PR fixes that.