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

Fix issue with chain endings in cyclic peptide PDB reading. #150

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

roccomoretti
Copy link
Member

@msklodow noticed that the InterfaceAnalyzer had an issue trying to score a cyclic peptide (chain B) bound to a protein (chain A). The reason for this is that the Rosetta PDB reader was basing chain ending annotation on terminal residue types. Since a cyclic peptide doesn't have a terminal residue, it was being "merged" with the prior chain (despite being a different chain letter).

This PR reworks how the chain ending annotation works. I think this generalizes things more properly. I'm not seeing issues with the expanded chain ending designations, but we can always tweak if there's issues.

@roccomoretti roccomoretti added ready_for_review This PR is ready to be reviewed and merged. 90 standard tests labels Sep 5, 2024
Copy link
Member

@lyskov lyskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vmullig
Copy link
Member

vmullig commented Sep 5, 2024

This could conceivably fix longstanding bugs with read-in of cyclic peptides from multi-chain PDB files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
90 standard tests ready_for_review This PR is ready to be reviewed and merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants