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

IDP go interactions and secondary structure #628

Closed
wants to merge 5 commits into from

Conversation

csbrasnett
Copy link
Collaborator

This PR fixes two problems with Go models/water biasing as we currently have it, particularly for multi domain proteins.

  1. If you assign secondary structure using -dssp, and have -id-regions, then there's a chance that you'll get folded links written into disordered domains. This is fixed by overwriting the cgsecstruct to be coiled everywhere in disordered domains.

  2. Currently if you have disordered and folded regions, the go interactions between them are removed based on the fact that you have water biasing in the disordered region. This requires the -water-bias flag to be given. However, if you were to have some disordered domain annotation that didn't require water biasing, then these bonds remain. So, we call the ComputeWaterBias processor in this case, and the bonds are removed through the functionality there.

csbrasnett and others added 5 commits November 4, 2024 11:20
- enforce that the cgsecstruct is "C" to make sure we don't overapply a folded domain in the links later
- adapt the secondary structure header to get the header from the cg not atomistic graph
- in FFs where we have -go but not -water-bias, cross disordered-folded go bonds won't be removed because this is buried in the water_bias processor.
- so call it anyway with an empty list of water biases, which will remove them
- reverting dssp sequence_from_residues behaviour so doesn't default to something with cg
- move the ss_cg conversion into martinize2 using a global variable
@pckroon
Copy link
Member

pckroon commented Nov 22, 2024

This PR also needs to be moved to the marrink-lab repo

@pckroon pckroon closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants