ChEMBL_Structure_Pipeline icon indicating copy to clipboard operation
ChEMBL_Structure_Pipeline copied to clipboard

Covalent to ionic bond

Open sonial opened this issue 3 years ago • 0 comments

Hi,

Thanks for developing this pipeline and making it available, it is really useful!

I noticed that the standardizer fixes covalent bonds to ionic in alkaline oxides, and it might be worth extending this to alkaline-earth oxides and metal halides.

See the example below for calcium chloride with covalent bonds (wrong SMILES created on purpose), as well as the ChEMBL entry for Calcium oxide erroneously represented with a covalent double bond.

from chembl_structure_pipeline import standardizer
from rdkit import Chem

smiles = "[Ca](Cl)Cl"
mol = Chem.MolFromSmiles(smiles)
mol

image

mol_stand = standardizer.standardize_molblock(Chem.MolToMolBlock(mol))
Chem.MolFromMolBlock(mol_stand)

image

Cheers, Sonia

sonial avatar Oct 14 '21 16:10 sonial