WebSep 24, 2024 · New issue GetSubstructMatches () loops at 43690 iterations. #4558 Closed ricrogz opened this issue on Sep 24, 2024 · 0 comments · Fixed by #4559 Contributor ricrogz commented on Sep 24, 2024 • on Sep 24, 2024 #4560 greglandrum modified the milestones: 2024_03_6 2024_09_1 on Sep 25, 2024 greglandrum in on Sep … WebApr 13, 2024 · 枚举分子库:使用类似 RDKit 或 Open Babel 的化学库,你可以生成具有给定子结构的分子库。 ... # 匹配 SMARTS 子结构 substruct_mol = Chem.MolFromSmarts(smarts) match = target_mol.GetSubstructMatches(substruct_mol) # 提取子结构 if match: atom_indices = match[0] # 选择第一个匹配的子结构(如果有 ...
GetSubstructMatches cannot find all matches in large molecule · rdkit …
WebMar 13, 2024 · from rdkit. Chem. Lipinski import RotatableBondSmarts all_rot = mol. GetSubstructMatches ( RotatableBondSmarts) So any specific ideas on solving my specific problem are also welcome and appreciated. Thanks! 1 … WebJan 18, 2024 · Since the RDKit fingerprint can include branched subgraphs (not just linear paths like topological torsions), there’s no concept of a “start” or “central” atom, so we get all subgraphs which include bonds involving the carboxyl C - in this case bonds 11, 12, and 13 peavey renown 800 scorpion speakers
How do you determine substitution patterns using RDKit?
WebApr 17, 2024 · patt = Chem.MolFromSmarts ('cC (C) (C)C') idx_tar = tar_mol.GetSubstructMatches (patt) print (idx_tar) tar_mol ( (4, 1, 0, 2, 3), (16, 17, 18, 19, 20)) And now you can get the corresponding indices for 4 and 16 for t in idx_tar: for p in idx_pair: if t [0] == p [1]: print ('Substitute on:', p [0]) Substitute on: 6 Substitute on: 14 … WebApr 12, 2024 · New issue GetSubstructMatches gets stuck #4025 Open RobinFrcd opened this issue on Apr 12, 2024 · 4 comments RobinFrcd commented on Apr 12, 2024 RDKit version: 2024.03.1 OS: Ubuntu 20.10 Python version (if relevant): 3.7.9 Are you using conda? Yes If you are using conda, which channel did you install the rdkit from? conda … WebApr 17, 2024 · from rdkit import Chem from rdkit.Chem import rdDepictor rdDepictor.SetPreferCoordGen(True) from rdkit.Chem.Draw import IPythonConsole … meaning of cultural humility