Re: [Rdkit-discuss] Matching Generalized Compounds

2018-08-31 Thread Kovas Palunas
:20 AM To: Christos Kannas Cc: RDKit , Paolo Tosco Subject: Re: [Rdkit-discuss] Matching Generalized Compounds Thanks for the feedback and code example! I understand that it works to make a third query mol using MCS that matches both the original mols to then match with. However, this seem

Re: [Rdkit-discuss] Matching Generalized Compounds

2018-08-24 Thread Paolo Tosco
am definitely not interested in doing generic query to query matching. - Kovas *From: *Christos Kannas *Date: *Thursday, August 23, 2018 at 7:53 AM *To: *Kovas Palunas *Cc: *RDKit , Paolo Tosco *Subject: *Re: [Rdkit-discuss] Matching Generalized Compounds Hi Kovas, You have two fuzz

Re: [Rdkit-discuss] Matching Generalized Compounds

2018-08-23 Thread Kovas Palunas
Kannas Date: Thursday, August 23, 2018 at 7:53 AM To: Kovas Palunas Cc: RDKit , Paolo Tosco Subject: Re: [Rdkit-discuss] Matching Generalized Compounds Hi Kovas, You have two fuzzy compounds that you try to match them, because our intuition says that any atom notation [*:1] from m1 should match

Re: [Rdkit-discuss] Matching Generalized Compounds

2018-08-23 Thread Christos Kannas
Hi Kovas, You have two fuzzy compounds that you try to match them, because our intuition says that any atom notation [*:1] from m1 should match the Fluorine [F:11] in m2 and any atom [*:14] in m2 should match Carbon [CH3:4] in m1. The issue here is that you create two query compounds from m1 and

Re: [Rdkit-discuss] Matching Generalized Compounds

2018-08-23 Thread Paolo Tosco
Dear Kovas, It looks like GetSubstructMatch() only finds a match if the dummy atom is in the query, not if it is in the molecule they you are matching the query against. This notebook present a possible solution off the top of my head:

[Rdkit-discuss] Matching Generalized Compounds

2018-08-22 Thread Kovas Palunas
Hi All, I’m interested in having GetSubstructMatches return non-“null” results in the following example. The results should lead to a match where atom 1 maps to atom 11, 2 to 12, etc. m1 = Chem.MolFromSmiles('[*:1][CH2:2][C:3]([CH3:4])=[CH2:5]') m2 =