remove ligand and alt res within chain#198
Conversation
|
Thank you so much for the PR. I agree that we should remove ligands but why do you remove HET atoms? |
I did not make code changes on removing HET atoms. Do you refer to the following lines of code? foldseek/src/strucclustutils/GemmiWrapper.cpp Lines 284 to 286 in 8e68e86 These lines are the original code. (in other words, not committed by me) From my understanding, removing HET atoms is within the logic of the original code, particularly when it meets residue type outside the alphabet of the foldseek/src/strucclustutils/GemmiWrapper.cpp Lines 13 to 36 in 8e68e86 If the residue type is contained by the foldseek/src/strucclustutils/GemmiWrapper.cpp Lines 287 to 291 in 8e68e86 What I commit is the following lines of code (from line 288 to line 291): foldseek/src/strucclustutils/GemmiWrapper.cpp Lines 287 to 291 in c54dce5 The logic is that when it meets HET residue type that still falls within the To implement this idea, I use |
|
Thank you so much. |
solve #189
Cases to Test
PDB Entries with Alternative Residue Conformation
PDB Entries with Amino Acid Ligands
Something Should be Taken Care of
These changes assume the read-in PDB file contains enough information for
gemmito detect the entity type.