Skip to content

How to compute the rmsd between the docked pose and crystal pose? #74

Answered by RMeli
leaves520 asked this question in Q&A
Discussion options

You must be logged in to vote

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.Molecules, then you can use the strip() 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 to spyrmsd.

This stripping is performed automatically by spyrmsd.rmsd.rmsdwrapper (see the strip=True argument).

However, the spyr…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@leaves520
Comment options

@RMeli
Comment options

@leaves520
Comment options

@RMeli
Comment options

@leaves520
Comment options

Answer selected by RMeli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Please use Discussions instead
2 participants
Converted from issue

This discussion was converted from issue #73 on January 19, 2023 07:38.