Re: [OpenBabel-Devel] Sub-strucure search

2011-09-17 Thread Chris Morley
On 16/09/2011 22:34, andi wrote: I'm trying to see if a one fragment is a sub-structure of a molecule and am using *OBIsomorphismMapper*, however when I start modifying the molecule (deleting atoms etc..), i start getting strange results, including some segmentation faults. First I want to

[OpenBabel-Devel] Sub-strucure search

2011-09-16 Thread andi
I'm trying to see if a one fragment is a sub-structure of a molecule and am using *OBIsomorphismMapper*, however when I start modifying the molecule (deleting atoms etc..), i start getting strange results, including some segmentation faults. First I want to verify that the *map object* contains

Re: [OpenBabel-Devel] Sub-strucure search

2011-09-16 Thread andi
Meh. Generate a SMILES for your fragment. Since all SMILES are valid SMARTS, if it's a sub-structure, the SMARTS will match the molecule. I agree, however the problem i'm having is not matching them but modifying the molecule... -- View this message in context: