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

Typo fix for assigning secondary structure and two new tests for chains of different lengths #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nzimmer3
Copy link

The secondary structure (ss) assignment had a typo that caused problems when the ss was assigned to multi chain models with different chain lengths. When chain.set_ss is run it must either have a input of length one or input length greater than or equal to the length of the chain.

Two new tests on the snare complex 3IPD to justifiy the change to MAIN.py.
The chain22ss test outputs a pdb file that is missing a few atoms. With the fix it has the correct number of atoms.

The secondary structure (ss) assignment had a typo that caused problems when the ss was assigned to multi chain models with different chain lengths. When chain.set_ss is run it must either have a input of length one or input length greater than or equal to the length of the chain.
Two new tests on the snare complex 3IPD to justifiy the change to MAIN.py.

The chain22ss test outputs a pdb file that is missing a few atoms. With the fix it has the correct number of atoms.
@Yoshanuikabundi
Copy link

I was caught out by this error as well. Without the fix, when given secondary structure with the -SS switch, Martinize reuses the first n secondary structure elements for every chain. If multiple chains have the same number of residues, this will occur silently and won't be caught by GROMPP either.

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