Skip to content

rdShapeAlign is sensitive to starting conformation #8513

@priley-vv

Description

@priley-vv

Describe the bug
rdShapeAlign.AlignMol produces significantly different output based on the rigid body transformation of the input.

To Reproduce
I have attached an ipython notebook which illustrates the issue by aligning omeprazole back to itself and showing success only 75% of the time

Expected behavior
Alignment should be robust to rigid body transforms.

Screenshots
n/a

Configuration (please complete the following information):

  • RDKit version: rdkit==2024.9.6
  • OS: macOS Sequoia 15.4.1
  • Python version : 3.12
  • Are you using conda? Yes
  • If you are using conda, which channel did you install the rdkit from? Via pip install dependency listed as "rdkit>=2024.9.5"
  • If you are not using conda: how did you install the RDKit? n/a

Additional context
This obviously could be a bug in thr underlying library or the wrapping code in rdkit. I have filed bug
ncbi/pubchem-align3d#2
at pubchem-align3d

2025-05-08 pubchem align bug.ipynb.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions