Can you show me how RDKit One-Component Reaction node works for this?
I don’t quite understand what you’re asking for. The workflow I uploaded should have an RDKit One Component reaction node that carries out this reaction. Does it work when you download and execute the workflow? Have you looked at the node configuration?
Attaching two fragments is more like two component reaction?
From my point of view (and based solely on what you’ve posted so far) this is a simple one-component reaction: for every building block, you’re substituting the Br with the same chemical entity which you call the “core”.
If you’d like a more complicated approach, you could use the two component reaction node.
I’ve updated the workflow that I previously uploaded to include this. Download it and look at the molecule tables and the reaction node configurations to see how they work.
I tried something like below in RDKit One-Component Reaction SMARTS but didn’t works for me as it shown painting failed for error in product"
[#6:1][Br:2] >> [#6]-[#6]-#6:7-#6:6-[#6:9]-1=[#6:10]-[#6:11]=[#6:12]-[#6:13]=[#6:14]-1
Do you have any experience with SMILES or SMARTS? Just by looking at it you should be able to tell that this product is not a valid SMARTS string. Where did you get it from?
There really aren’t any detailed steps that I can share. I created SMARTS for the reactants and the products (using a combination of intuition, ChemDraw, and the SMARTS tool I linked to earlier), then tried to assemble a reaction query that made sense. This type of work requires a lot of reading along with trial and error.