I've been using RDKit for depicting sets of ligands from SMILES, which has been 
great.

I'd like to add some bidentate and tridentate ligands. Let's stick to 
bipyridine at first (see image)



I have the appropriate SMILES, leaving * as part of a 5 atom ring involving the 
nitrogen atoms (and sanitize = False)
C12=CC=CC=[N]1[*][N]3=C2C=CC=C3

The resulting depiction is great .. except I'd like to add the attachment 
"squiggles" across the N-* bonds.

I see there are DrawAttachmentLine and DrawWavyLine methods, but I'd need to 
get the positions of the N and * atoms.

What's the best way to do that and / or automate adding wavy lines across 
arbitrary bonds?

Thanks,
-Geoff

_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to