-
Notifications
You must be signed in to change notification settings - Fork 46
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
Martini3-IDP #647
base: master
Are you sure you want to change the base?
Martini3-IDP #647
Conversation
- 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
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.
Some small questions. Note that I didn't look at the ff files
ss_sequence = list( | ||
itertools.chain( | ||
*( | ||
SS_CG[i] | ||
for i in dssp.sequence_from_residues(molecule, "cgsecstruct") | ||
for molecule in system.molecules | ||
if selectors.is_protein(molecule) if i is not None | ||
) | ||
) | ||
) |
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.
This translation to CG is too simplistic, no?
ss_sequence = list( | |
itertools.chain( | |
*( | |
SS_CG[i] | |
for i in dssp.sequence_from_residues(molecule, "cgsecstruct") | |
for molecule in system.molecules | |
if selectors.is_protein(molecule) if i is not None | |
) | |
) | |
) | |
ss_sequence = list( | |
itertools.chain( | |
*( | |
dssp.convert_dssp_to_martini(dssp.sequence_from_residues(molecule, "cgsecstruct")) | |
for molecule in system.molecules | |
if selectors.is_protein(molecule) if i is not None | |
) | |
) | |
) |
Also, how does this interact with the "normal" dssp processing, and people providing a secondary structure on the cli?
if "cgsecstruct" in molecule.nodes[key]: | ||
molecule.nodes[key]["cgsecstruct"] = "C" | ||
else: | ||
molecule.nodes[key][annotation] = False |
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.
if "cgsecstruct" in molecule.nodes[key]: | |
molecule.nodes[key]["cgsecstruct"] = "C" | |
else: | |
molecule.nodes[key][annotation] = False | |
if "cgsecstruct" in molecule.nodes[key]: | |
molecule.nodes[key]["cgsecstruct"] = "C" | |
molecule.nodes[key][annotation] = True # ??? | |
else: | |
molecule.nodes[key][annotation] = False |
This PR:
Note that the martini3-IDP/aminoacids.ff file is slightly different here to ensure that it works properly with martinize.
Will need to update citations.bib once the paper is accepted