That seems to be it - SWIG was burying what was what into a collection of
Vect objects, so I got confused. It seems to work now.
On Thu, 29 Nov 2018 at 16:34, Paolo Tosco
wrote:
> Hi James,
>
> I think the problem here is that you are interpreting the index pairs in
> each match returned by
Hi James,
I think the problem here is that you are interpreting the index pairs in
each match returned by getSubstructMatches() as if they were the atom
indices that form a bond. Instead, each pair corresponds to a
(queryAtomIdx, molAtomIdx) pair, and has nothing to do with bonds:
I'm trying to use the Java wrapper to do a basic molecule
fragmentation, greedily matching against anything that fits the SMARTS
"[*;R]-;!@[*]" (effectively any regular bond that isn't part of a ring
system)
As a test case, I'm using a structure with a few obvious bonds that
can be broken, namely
3 matches
Mail list logo