-
Hi, I encounter some error on spyrmsd.rmsd.hrmsd when between the docked pose and crystal pose. I suspect the docked pose from vina didnt have the same atom number as crystal pose. how to deal with this problem? Looking for your reply. thx. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @leaves520. Which error message are you getting exactly? IIRC Vina removes non-polar hydrogen atoms from the output. Therefore, the crystal pose and the docked pose usually have a different number of atoms. You probably want to compute the heavy-atom RMSD anyways. If you are working with This stripping is performed automatically by However, the |
Beta Was this translation helpful? Give feedback.
Hi @leaves520. Which error message are you getting exactly? IIRC Vina removes non-polar hydrogen atoms from the output. Therefore, the crystal pose and the docked pose usually have a different number of atoms. You probably want to compute the heavy-atom RMSD anyways.
If you are working with
spyrmsd.molecule.Molecule
s, then you can use thestrip()
method to remove hydrogen atoms, and compute the heavy-atom RMSD. See the tutorial for an example. Otherwise, you can simply remove the hydrogen atom from both molecules using your method of choice, before giving them tospyrmsd
.This stripping is performed automatically by
spyrmsd.rmsd.rmsdwrapper
(see thestrip=True
argument).However, the
spyr…