Skip to content
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

Rewrite and improve DSSP #748

Merged
merged 63 commits into from
Sep 3, 2019
Merged

Rewrite and improve DSSP #748

merged 63 commits into from
Sep 3, 2019

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Aug 30, 2019

Started as a way to address #691 and ended up being a lot more.

This PR constitutes a pretty complete rewrite of the DSSP secondary structure assignment functionality. The assignment now matches the original paper exactly, i.e. extended beta and isolated beta bridge is assigned instead of parallel/anti-parallel beta. I had written it like this because that's the way it was originally in ptraj and I wanted to keep backwards compatibility, but I think it makes more sense to use the original definitions if for no other reason than a residue in a strand could be potentially both parallel and anti-parallel. The original behavior can be restored via a new keyword, betadetail.

The new code is actually faster to assign secondary structure than the original code (although the bottleneck is still hydrogen bond calculation), and uses way less memory. The helix assignment code is much more robust as well, and isolated stretches which used to be labeled as a helix are now correctly labeled as turn. Also, beta bulge structure is now identified and correctly assigned extended in accordance with the original definition.

drroe and others added 30 commits August 21, 2019 15:56
…d idx to refer to things indexed in Residues_
…ctive for comparison. Start doing strand assignment.
…ns are possible. When looking for beta, do not attempt to assign if 3-residue stretches would overlap. Report bend as degrees in debug.
@drroe drroe self-assigned this Aug 30, 2019
@drroe
Copy link
Contributor Author

drroe commented Aug 30, 2019

This pull request introduces 1 alert and fixes 1 when merging f9a0179 into de38e93 - view on LGTM.com

new alerts:

  • 1 for Wrong type of arguments to formatting function

fixed alerts:

  • 1 for FIXME comment

Warning - Automated code review for Amber-MD/cpptraj will be disabled on October 1, 2019. You can avoid this by installing the LGTM.com GitHub App. Read about the benefits of migrating to GitHub Apps in the blog.


Comment posted by LGTM.com

@drroe
Copy link
Contributor Author

drroe commented Aug 31, 2019

This pull request introduces 1 alert and fixes 1 when merging 33a231e into de38e93 - view on LGTM.com

new alerts:

  • 1 for Wrong type of arguments to formatting function

fixed alerts:

  • 1 for FIXME comment

Warning - Automated code review for Amber-MD/cpptraj will be disabled on October 1, 2019. You can avoid this by installing the LGTM.com GitHub App. Read about the benefits of migrating to GitHub Apps in the blog.


Comment posted by LGTM.com

@drroe
Copy link
Contributor Author

drroe commented Sep 3, 2019

The Travis failure is very strange:

The following packages have unmet dependencies:

 libopenmpi-dev : Depends: libhwloc-dev but it is not going to be installed

What's strange is that the same apt-get command worked for other builds, so maybe this is a temporary blip.

The Jenkins failure are from PGI compilers 18.10. I'll try to get my hands on that to check out what might be going on - I suspect it's mathematical differences based on the tests that fail (curve fitting etc).

@lgtm-com
Copy link

lgtm-com bot commented Sep 3, 2019

This pull request fixes 1 alert when merging f936521 into de38e93 - view on LGTM.com

fixed alerts:

  • 1 for FIXME comment

@lgtm-com
Copy link

lgtm-com bot commented Sep 3, 2019

This pull request fixes 1 alert when merging 77d8eb0 into de38e93 - view on LGTM.com

fixed alerts:

  • 1 for FIXME comment

@drroe
Copy link
Contributor Author

drroe commented Sep 3, 2019

Remaining failures are related to PGI compilers 18.10 (and DSSP test cases are passing with that). Will try to fix PGI stuff in a different PR. Since everything else is passing, I will merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant