Remove a substructure from a molecule

I am trying to figure out how one might go about removing a common substructure from a set of molecules (read in as SDF) leaving only the remain portion of each molecule, which is then written to SDF.

thanks,

Scott

Iā€™m not 100% sure if this will do what you want, but try investigating the RDkit community nodes; specifically the Fragments:RDKit Molecule Extractor node. I believe this will help you to parse structures, given a substructure. Hope this helps or points you in the right direction.

1 Like