WebSep 5, 2024 · RDKit ERROR: [22:38:08] Explicit valence for atom # 4 N, 4, is greater than permitted However, converting the above Mol2 block to a PDB file (save the text as a file and then use openbabel: obabel molecule.mol2 -O molecule.pdb ) and … WebJul 30, 2024 · @crisfbazz let's start with the core problem: The SMILES provided by the PDB for that ligand is incorrect. This is not the RDKit being picky, it's the fact that the SMILES does not correspond to a molecule which can exist as a stable entity, does not match some of the additional information provided on that page (which says that the molecule should …
Handling SMILES with metal ions in RDKit - Stack Overflow
WebOct 29, 2009 · Re: [Rdkit-discuss] Explicit valence for atom # 2 N greater than permitted. The only way is to fix the structures in the input file. If you look at the molecules where the problem is happening, you will find nitrogen atoms that have too many bonds (i.e. where you can't draw a valid Lewis dot structure). WebOct 6, 2024 · The following code works most of the time: > > from rdkit import Chem > from rdkit.Geometry.rdGeometry import Point3D > > _BO_DISPATCH_TABLE = {1: Chem.BondType.SINGLE, 2: Chem.BondType.DOUBLE, 3: > Chem.BondType.TRIPLE} > > conformer = Chem.Conformer(len(symbols)) > > molecule = Chem.Mol() > em = … how to say nicaea
Sanitization error applying reaction to molecule RDKit
WebDec 2, 2024 · I want to get the molecules from the SMILES using rdkit in python. The SMILES I used was downloaded from the drugbank. However, when I using the function … WebJan 24, 2024 · Explicit valence for atom # 9 N, 4, is greater than permitted This is because of the co-ordinate bond present in the molecule which RdKit doesn't support. RdKit will treat it as a single bond which will raise the valency of both the Nitrogen atoms to 4 and hence an invalid molecule. Here's the same molecule generated from other sources: WebJun 6, 2024 · greater than permitted Here is the script I'm running to recreate the error. I've replicated it based off of a script from the deepchem library: ######## Script Starts ######## import tempfile import os from rdkit import Chem from rdkit.Chem import rdmolops protein_pdb = 'receptor.pdb' with open(protein_pdb) as protein_file: northland action wrench