Hello, I have a question about AllChem.ReplaceSubstructs(mol, query,replacement). As I understand, it replaces 'query' pattern in 'mol' by 'replacement' fragment. It is clear which atom from 'mol' is the joining atom, but which is the joining atom in 'replacement'? The atom with index=0? Is it possible to specify which atom in the 'replacement' should be bonded to 'mol'? It would be lovely to be able to do so, because the only alternative (using reaction SMARTS) is much, much slower. If not, is it possible to generate (from a given Mol object) a SMILES string starting from the specified atom index?
Thanks, Michal ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss