-
Describe the bug
Environment
Additional Context My code to calculate RMSD is: ref = io.loadmol(ref_lig)
dp = io.loadmol(dp_lig)
rmsd_value = rmsdwrapper(ref, dp) # By default, strips hydrogens and use symmetry-correction
rmsd_float = float(rmsd_value[0]) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @RJ-Li,
This is an error from RDKit, which is unable to parse your input. It is telling you that the carbon atom at position 27 has a valence of 6, instead of the expected valence of 4. Therefore, I'd carefully check your input to see what is going on and where the issue is. The problem is not related with
This a
This is a warning, also coming from RDKit. Again, it comes from a problem with your input file: the molecule is tagged as 2D, but not all Z coordinates are 0. Therefore, RDKit is telling you that it is treating it as a 3D molecule instead (despite the tag). Whether you can ignore this warning depends on your upstream pipeline. There might or might not have been something wrong in your pre-processing, so it is worth checking visually that the input structure is indeed what you would expect.
This is the same issue above. Looks like you have a second carbon atom with a valence of 6 instead of the expected valence of 4. |
Beta Was this translation helpful? Give feedback.
Hi @RJ-Li,
This is an error from RDKit, which is unable to parse your input. It is telling you that the carbon atom at position 27 has a valence of 6, instead of the expected valence of 4. Therefore, I'd carefully check your input to see what is going on and where the issue is. The problem is not related with
spyrmsd
since it happens during parsing of the input file.This a
spyrmsd
error but it is simply the consequence of the error above. If RDKit is unable to parse yo…