Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR

2017-09-19 Thread Chris Earnshaw
gt; > To: James T. Metz <jamestm...@aol.com> > Cc: Rdkit-discuss@lists.sourceforge.net <rdkit-discuss@lists. > sourceforge.net> > Sent: Tue, Sep 19, 2017 10:13 am > Subject: Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR > > Hi > > Will the

Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR

2017-09-19 Thread James T. Metz via Rdkit-discuss
ourceforge.net> Sent: Tue, Sep 19, 2017 10:13 am Subject: Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR Hi Will the recursive SMARTS [$(C-C),$(N-N)] not do the job? I'd parse this in English as 'an atom which is EITHER an aliphatic carbon singly bonded to an alip

Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR

2017-09-19 Thread Chris Earnshaw
ds, > Jim Metz > > > > -Original Message- > From: Dante <dante.esgrimi...@gmail.com> > To: James T. Metz <jamestm...@aol.com> > Cc: RDKit Discuss <rdkit-discuss@lists.sourceforge.net> > Sent: Tue, Sep 19, 2017 8:45 am > Subject: Re: [Rdkit-discuss

Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR

2017-09-19 Thread James T. Metz via Rdkit-discuss
l.com> Cc: RDKit Discuss <rdkit-discuss@lists.sourceforge.net> Sent: Tue, Sep 19, 2017 8:45 am Subject: Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR Hi Jim, Could you use the 'NOT' logical operator (!) in combination with recursive SMARTS to eliminate the cross

Re: [Rdkit-discuss] single SMARTS for two patterns with Boolean OR

2017-09-19 Thread Dante
Hi Jim, Could you use the 'NOT' logical operator (!) in combination with recursive SMARTS to eliminate the cross-matches? Cheers, Dante On Tue, Sep 19, 2017 at 9:13 AM, James T. Metz via Rdkit-discuss < rdkit-discuss@lists.sourceforge.net> wrote: > Hello, > > Is it possible to write a single