Hi Ling,

On 2023-11-17 18:40, Ling Chan wrote:
When I run MolToSmiles on a molecule with a 6-valenced sulfur, it produced a problematic smiles. Seems it's a bug?

[...]

Running "Chem.MolToSmiles(Chem.MolFromMolFile("mol.sdf"))" on the following sdf, I got
'C[S@OH16](F)(F)(F)(F)F'

The SMILES looks correct to me. Have a look at the SMILES documentation [0] regarding the Chiral Specification of octahedral structures (3.3.4).

The OH16 does in fact *not* represent a Hydroxy group or something of the sort, but is a closer description of the octahedral geometry.

Best,
Chris

[0] https://daylight.com/dayhtml/doc/theory/theory.smiles.html

--
Christian Meyenburg

ZBH - Zentrum für Bioinformatik Hamburg
Universität Hamburg
Bundesstrasse 43
D-20146 Hamburg
Germany

Tel.: +49 40 42838 7353
Fax.: +49 40 23951-2291
e-Mail: christian.meyenb...@uni-hamburg.de
BEGIN:VCARD
VERSION:4.0
N:Meyenburg;Christian;;;
FN:Christian Meyenburg
NICKNAME:Chris
EMAIL;PREF=1;TYPE=work:christian.meyenb...@uni-hamburg.de
EMAIL:doctoral-representati...@min.uni-hamburg.de
URL;TYPE=work:https://www.zbh.uni-hamburg.de/en/personen/amd/cmeyenburg.htm
 l
TEL;TYPE=work;VALUE=TEXT:+49 40 42838-7353
TEL;TYPE=fax;VALUE=TEXT:+49 40 23951-2291
BDAY;VALUE=DATE:19931112
ADR;TYPE=work:;;ZBH - Zentrum für Bioinformatik Hamburg,Universität Hambu
 rg,Bundesstraße 43;Hamburg;Hamburg;20146;Germany
TITLE:M.Sc. Bioinf.
ORG:Universität Hamburg;ZBH - Zentrum für Bioinformatik Hamburg
TZ:Europe/Berlin
ROLE:Doctoral student
END:VCARD
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to