In the last snippet we have shown how to align molecules according to drawn SMARTS. This works fine just like this in some cases, but especially for structures involving aromaticity it fails. In this workflow snippet we will show how to generate sanitized query SMARTS using two RDKit nodes. We configure the sanitization of the "drawn" SMARTS in the advanced tab of the RDKit from Molecule node. To compare the sanitized and the unsanitized SMARTS, check the output of the RDKit to Molecule node. Right-click on the column headers, and change the renderer to String.Rrecognize how the sanitized SMARTS allows double-bonds at any position.
Required extension: RDKit
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!