Quantcast
Channel: PerkinElmer Informatics Support Forum
Viewing all articles
Browse latest Browse all 469

When using "Copy as MOL", MOL files do not set the valence

$
0
0

Hi there, I just noticed that ChemDraw 16's MOL file generator is not quite correct and thought I would let you know. Basically, the writer should set the explicit valence when it is different than the MDL valence model.

Here's an example. Let's take the SMILES string, "CIC". If you "Paste as SMILES", ChemDraw inserts H3C-I-CH3 (that is, ChemDraw reads this SMILES string perfectly). It doesn't like the iodine and puts a red box around it, but it reads it in fine.

When you "Copy as MOL text", the line describing iodine is as follows:

" 0.0000 0.2062 0.0000 I 0 0 0 0 0 0 0 0 0 0 0 0"

That's not correct. It should be:

" 0.0000 0.2062 0.0000 I 0 0 0 0 0 2 0 0 0 0 0 0"

That's because the valence model for MOL files is that iodine should be three-valent (in this case), and so a hydrogen is added when ChemDraw (and other software) reads this MOL file. To override this behavior, you need to set the valence explicitly to 2.

- Noel O'Boyle (Open Babel developer, and yes, Open Babel had this problem too)


Viewing all articles
Browse latest Browse all 469

Trending Articles