Horje
rdkit mol to grid  common core aligned Code Example
rdkit mol to grid common core aligned
>>> p = Chem.MolFromSmiles('[nH]1cnc2cncnc21')
>>> subms = [x for x in ms if x.HasSubstructMatch(p)]
>>> len(subms)
14
>>> AllChem.Compute2DCoords(p)
0
>>> for m in subms:
...   _ = AllChem.GenerateDepictionMatching2DStructure(m,p)
>>> img=Draw.MolsToGridImage(subms,molsPerRow=4,subImgSize=(200,200),legends=[x.GetProp("_Name") for x in subms])    
>>> img.save('images/cdk2_molgrid.aligned.o.png')




Whatever

Related
How to stop youtube video after closing modal Code Example How to stop youtube video after closing modal Code Example
so this guy is very smart to make this kid trap game Code Example so this guy is very smart to make this kid trap game Code Example
activemq management console rest api Code Example activemq management console rest api Code Example
jinput with gradle Code Example jinput with gradle Code Example
vim delete between brackets Code Example vim delete between brackets Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7