-
Notifications
You must be signed in to change notification settings - Fork 114
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
Improve pdb_merge
to include TER
s and END
lines
#150
base: master
Are you sure you want to change the base?
Conversation
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.
But are END lines first filtered out? There should not be multiple END statements
That's right. However, I feel we are adding too much to the purpose of merge. All that should be done by |
Yes - but why does it remove the END statements then? Other code don’t do that (e.g. pdb_chain).
|
The current version of pdb-tools/pdbtools/pdb_merge.py Lines 84 to 87 in 2a070bb
|
So a simple cat command effectively.
Meaning pdb_tidy should always be run to correct things.
A very different behaviour than `pdb_mkensemble` for example.
|
Yes. |
hmmm…. assumptions… this is asking for troubles…
It is this make clear to the users?
… Yes. mkensemble has the clear purpose of making a correct ensemble of structures. While merge assumes the user knows what he/she is doing when concatenating the files. Likely the user cleaned the PDBs before using merge.
|
Good point. Let's first clarify that to users before changing the behavior of |
I was reviewing this now, and I still agree we should not touch
|
How will you explain users that |
You are right. I am addressing this. It's not as straightforward as adding an |
END
line as final line in pdb_merge
pdb_merge
to include TER
s and END
lines
When doing |
Probably good indeed
|
Hi @amjjbonvin I have addressed this issue, plus some other details. Now,
Inside |
Closes #149