Improve pdb_merge to include TERs and END lines#150
Improve pdb_merge to include TERs and END lines#150joaomcteixeira wants to merge 12 commits intohaddocking:masterfrom
pdb_merge to include TERs and END lines#150Conversation
amjjbonvin
left a comment
There was a problem hiding this comment.
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_mergepdb_merge to include TERs and END lines
|
When doing |
|
Probably good indeed
|
|
Hi @amjjbonvin I have addressed this issue, plus some other details. Now,
Inside |
|
This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
Closes #149