I’m trying to count the number of times a certain functional group occurs in my molecules. I’m trying to use the SMARTS Query Node (SMARTS Query – KNIME Hub) from the CDK package for that, but I find the documentation and explanation on how to provide input to the node to be cryptic.
It wants me to provide the SMARTS as a “SMARTS Cell type” and I do not know what that is or how to do it. I cannot find example workflows for CDK that show how this process is supposed to work, so I’m stuck since googling didn’t help at all.
My latest solution attempted to convert the molecules to be searched and the SMILES of the functional groups to CDK Molecule Types by reading them in as SDFs and parsing them with the “Molecule to CDK” Node.
I get the error: WARN SMARTS Query 3:106 Column ‘’ does not exist.
And the Node tells me No column in spec compatible to “SmartsValue”. What do?