Hi, I'm using the KNIME implementation to write my own nodes, and I'm running into an issue. For the process I'm trying to do I'm trying to subtract the MCS between two molecules away from the larger molecule, to leave a list of fragments. I'm aware of the substructure matching, but I'm not sure how to subtract the matching atoms from a molecule graph within RDKit. As I say, I'm working with the Java version, but any pointers towards the fucntions needed would be useful. At the moment I've got (in pseudo code)
RWMol mol1a = RWMol.MolFromSmiles(reactant_string, 0, true); RWMol mol2a = RWMol.MolFromSmiles(product_string, 0, true); frag_bonds = mol2a.GetSubstructMatches(mol1a); But I'm unsure as to what to do with the array of matches to achieve what I want. Can I strip out the dummy atoms automatically, or is this something that is best achieved by processing the SMILES string? ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss