Skip to content

AddHs with addCoords=True generates wrong conformation on hydrogen with sulfur atom #4667

@Hong-Rui

Description

@Hong-Rui

Hi developers:

I have a molecule with this SMILES: CO[C@@H]1C[C@@H](CN(C)C(=O)c2csc([SH](N)(=O)N3CCCCC3)c2)[N@@H+](C)C1
It looks like
1635915671(1)

There is a 6-valent sulfur atoms.

First I generated a conformation with EDKTGv3, AllChem.EmbedMultipleConfs(mol, 10).
The conformation without H looks fine:
1635915828(1)

But when I use AddHs(mol, addCoords=True), it generates wrong hydrogen conformations on the 6-valent sulfur, with a (0.0, 0.0, 0.0) positions for the hydrogen atom.
1635915961(1)

I also attached both SDF files for easy debugging.
rdkit_addhs_issue.zip

btw, if I first do AddHs on the 2D molecule and then generate 3D conformers, then the conformations of hydrogen look correct.
Hope this is helpful, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions