Re: [Rdkit-discuss] conda install rdkit

2020-10-16 Thread Christos Kannas
Hi Ling, Maybe you should switch to conda-forge channel. Replace "-c rdkit" with "-c conda-forge". At least that's what I'm using personally and I have no problems so far. The latest version of rdkit there is 2020.03.6. Best, Christos Christos Kannas

[Rdkit-discuss] HasSubstructMatch & GetSubstructMatches hang when useChirality is True

2021-03-26 Thread Christos Kannas
ty set to True, the process hangs. Here is a notebook showing the issue https://nbviewer.jupyter.org/gist/CKannas/d54bb5ab0fa3c964086c75f18250ddac Is there any workaround for this? Looking for a solution to stop the computation in a graceful manner. Thanks, Christos Christos Kannas Research Sof

Re: [Rdkit-discuss] HasSubstructMatch & GetSubstructMatches hang when useChirality is True

2021-03-29 Thread Christos Kannas
Thanks a lot Paolo. Christos Christos Kannas Research Software Engineer (Cheminformatics) [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On Fri, 26 Mar 2021 at 16:01, Paolo Tosco wrote: > Hi Christos, > > this is a poss

Re: [Rdkit-discuss] ModuleNotFoundError: No module named 'rdkit'

2021-04-14 Thread Christos Kannas
Hi Andres, Maybe Spyder runs on the base conda environment. Do you run Spyder from your activated environment? Kind regards, Christos On Wed, Apr 14, 2021, 17:52 Andrés Sánchez Ruiz < andressanchezrui...@gmail.com> wrote: > Dear Greg, > > It works! It seems I can call functions of RDKit from t

Re: [Rdkit-discuss] comparing two or more tables of molecules

2016-11-28 Thread Christos Kannas
Hi Steve, I think it would be better to use a similarity metric based on fingerprints. Regards, Christos Christos Kannas Researcher Ph.D Student [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On 28 November 2016 at 18:25, Step

Re: [Rdkit-discuss] How to transform SMARTS of aromatic structures so that their aromatic atoms could be any?

2017-05-19 Thread Christos Kannas
correct.* Best, Christos Christos Kannas Researcher Ph.D Student [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On 19 May 2017 at 12:52, Alexis Parenty wrote: > Hi everyone, > > > I need a function that could gener

Re: [Rdkit-discuss] Using RDKit in PyCharm and Anaconda on Windows

2017-05-31 Thread Christos Kannas
lution for a script I think is the best approach for having different Python environments activated along with additional instances of PyCharm. Regards, Christos Christos Kannas Researcher Ph.D Student [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/chri

Re: [Rdkit-discuss] adding fragment to existing molecule

2017-08-07 Thread Christos Kannas
, i.e. [OH-].C>>COH, and use RDKit's reaction functionality to perform the reaction on your molecules. Hope this was a bit helpful. Regards, Christos Christos Kannas Chem[o]informatics Researcher & Software Developer [image: View Christos Kannas's profile on LinkedIn

Re: [Rdkit-discuss] Exhaustive Library Enumeration

2018-01-17 Thread Christos Kannas
ve to filter out the molecules that are not valid. See this Jupyter Notebook <https://gist.github.com/CKannas/11bb9bcaa9435dd18a0bb969501219b2> at cell 5 the 1st line in the while loop. Best, Christos Christos Kannas Chem[o]informatics Researcher & Software Developer [image: View Christo

Re: [Rdkit-discuss] Exhaustive Library Enumeration

2018-01-17 Thread Christos Kannas
omSmiles('C=C')))>>> Chem.MolToSmiles(ps[0][0])'C1=CC=CC=C1'>>> >>> p0 = ps[0][0]>>> >>> Chem.SanitizeMol(p0)rdkit.Chem.rdmolops.SanitizeFlags.SANITIZE_NONE>>> >>> Chem.MolToSmiles(p0)'c1c1'

Re: [Rdkit-discuss] seg fault when importing Chem on OS-X 10.12

2018-04-16 Thread Christos Kannas
Hi Patrick, I had a similar problem with RDKit 2017.09.03 on MacOS, using rdkit channel in anaconda. Using the conda-forge channel with python 3.5.5 and ipython 6.2 works fine. I can post my env tomorrow from work. Best, Christos Christos Kannas Chem[o]informatics Researcher & Soft

[Rdkit-discuss] RDKit PostgreSQL

2018-05-02 Thread Christos Kannas
Hi RDKiters, Is it possible to install RDKit PostgreSQL cartridge via Anaconda on MacOS? Or would be better to try with a Linux VM? Best, Christos Christos Kannas Chem[o]informatics Researcher & Software Developer Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image:

Re: [Rdkit-discuss] RDKit PostgreSQL

2018-05-03 Thread Christos Kannas
conda environment. If I need to connect it to an existing PostgreSQL installation I will have to build RDKit and the cartridge from source don't I? 2. Will the cartridge work in the latest RDKit 2018 version, if I build it from the source? Best, Christos Christos Kannas Chem[o]i

Re: [Rdkit-discuss] RDKit PostgreSQL

2018-05-03 Thread Christos Kannas
dge? Best, Christos Christos Kannas Chem[o]informatics Researcher & Software Developer Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On Thu, 3 May 2018 at 09:47, Paolo Tos

Re: [Rdkit-discuss] Matching Generalized Compounds

2018-08-23 Thread Christos Kannas
9552d7c8899cfaff030 Best, Christos Christos Kannas Chem[o]informatics Researcher & Software Developer [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On Thu, 23 Aug 2018 at 12:36, Paolo Tosco wrote: > Dear Kovas, > > It loo

Re: [Rdkit-discuss] InChI to Mol to InChi

2018-12-18 Thread Christos Kannas
4-7+*/t17-,19-/m1/s1 m2 -> InChI=1S/C20H26O4/c1-12(2)17-11-18(22)14(4)7-5-6-13(3)8-16(21)9-15-10-19(17)24-20(15)23/h6-7,10,12,17,19H,5,8-9,11H2,1-4H3/*b13-6-,14-7-*/t17-,19-/m1/s1 Not sure why it happens, but I've seen it multiple times... Best, Christos Christos Kannas Chem[o]

Re: [Rdkit-discuss] InChI to Mol to InChi

2018-12-18 Thread Christos Kannas
ochemistry. I guess that's why there are inconsistencies [sometimes] when the molecule has been generated from a SMILES instead from a MOL block with 2D or 3D coordinates... Christos Christos Kannas Chem[o]informatics Researcher & Software Developer [image: View Christos Kannas's

Re: [Rdkit-discuss] Using RdKit in Parallel

2019-02-20 Thread Christos Kannas
the data to be picklable. Best, Christos Christos Kannas Cheminformatics Researcher & Software Developer [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On Wed, 20 Feb 2019 at 11:28, Stamatia Zavitsanou < stamatia.zavitsa...@ori

Re: [Rdkit-discuss] Adding molecules to pandas dataframe

2019-07-25 Thread Christos Kannas
ecule"] = mols Best, Christos Christos Kannas Scientific Software Developer (Cheminformatics) On Thu, 25 Jul 2019 at 15:45, Gianluca Sforna wrote: > Hi all, > is it possible to manually add molecules to a pandas dataframe? I am > reading a bunch of mol2 files, adding some propert

[Rdkit-discuss] Different InChI: RDKit Knime Vs RDKit Python

2019-11-12 Thread Christos Kannas
com/a/EnYoHWG Best, Christos Christos Kannas Scientific Software Developer (Cheminformatics) ___ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Re: [Rdkit-discuss] problems with RDKit and Mountain Lion

2012-10-10 Thread Christos Kannas
:string const&, std::vector>>>> std::allocator >, std::allocator >>>>> > > >&) const in FindRings.cpp.o >>>>> "std::vector > >>>>> RDKit::Dict::fromany >>>>> > >>>

Re: [Rdkit-discuss] how to install rdkit systemwide on Ubuntu 12.04

2012-11-08 Thread Christos Kannas
Hi Michal, I don't think it will work, at least with Python since it requires the RDKit directory in PYTHONPATH and RDKit/lib is required in LD_LIBRARY_PATH in order that Python can find the library files created when building RDKit. Regards, Christos Kannas Sent from my Galaxy Note! On

Re: [Rdkit-discuss] looking for suggestions: github vs bitbucket vs google code

2013-02-01 Thread Christos Kannas
Hi, I'm also using Mercurial (Hg) & BitBucket for private projects and also follow some public ones. Git & Hg are similar, they are both dvcs and they are highly adopted by the open source community. My vote though goes to Bitbucket and Hg. Regards, Christos Sent from my Galaxy Note! On Feb 1

Re: [Rdkit-discuss] windows binary installation

2013-02-22 Thread Christos Kannas
slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net > https://lists.sourcef

Re: [Rdkit-discuss] Domain of applicability

2013-03-19 Thread Christos Kannas
nd regards, Christos -- Christos Kannas Sent from my Galaxy Note! On Mar 19, 2013 3:42 PM, wrote: > Dear RDKitters, > > anyone worked with RDKit (data processing & descriptor calculation) & > scikit-learn (train Random Forests) and could share some experiences with > setting up/d

[Rdkit-discuss] [RDKit-Discuss]: Aromatic Heavy Atoms

2013-07-26 Thread Christos Kannas
t as a new descriptor, clogSw (like clogP), within the RDKit distribution? Kind Regards, Christos -- Christos Kannas Researcher Ph.D Student e-Health Laboratory <http://www.medinfo.cs.ucy.ac.cy/> kannas.chris...@ucy.ac.cy kannas.chris...@cs.ucy.ac.cy chriskan...@gmai

Re: [Rdkit-discuss] Best Practice: Git model for code submissions to the RDkit

2013-10-24 Thread Christos Kannas
from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net &g

[Rdkit-discuss] SMARTS Substructure matching

2014-02-19 Thread Christos Kannas
stand I've created this small IPython Notebook http://nbviewer.ipython.org/gist/CKannas/9089271 Can you give me the reasons why this happens? Best, Christos -- Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas&#x

Re: [Rdkit-discuss] SMARTS Substructure matching

2014-02-19 Thread Christos Kannas
True > >>> m3.HasSubstructMatch(m2) > True > >>> m3H.HasSubstructMatch(m2) > True > > Hope that helps. > > Yours, > > Toby Wright > > -- > InhibOx Ltd, Oxford > > > > On 19 February 2014 10:25, Christos Kannas wrote: > >> Hi

Re: [Rdkit-discuss] sanitization removes Hs - is this expected?

2014-02-24 Thread Christos Kannas
t; Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > ___ > Rdkit-discuss mailing list > Rdkit-discu

[Rdkit-discuss] SMARTS/SMARTS and SMILES/SMARTS substructure matching

2014-03-04 Thread Christos Kannas
3.HasSubstructMatch(patt) Out[13]: True Shouldn't be that z2 and z3 have the same information? Thanks, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn]<htt

Re: [Rdkit-discuss] SMARTS/SMARTS and SMILES/SMARTS substructure matching

2014-03-05 Thread Christos Kannas
Hi Greg, Thanks a lot for the explanation. It makes things clearer now. Well the reason I'm doing SMARTS-SMARTS match is because I would like to match functional groups with the reactants in reactions. Regards, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 744770093

[Rdkit-discuss] Fragmentation Bug?

2014-04-09 Thread Christos Kannas
attachment points in hydrophobe region core. Is this the normal behaviour, or a bug? Also if I merge the two families of Hydrophobe features then I do not get the error. Regards, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: Vie

Re: [Rdkit-discuss] Opposite of GetSubstructureMatches()

2014-04-16 Thread Christos Kannas
Hi JP, I think smol = Chem.PathToSubmol(mol, path), where path is a list of indices, will do what you want. Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn]

Re: [Rdkit-discuss] Opposite of GetSubstructureMatches()

2014-04-17 Thread Christos Kannas
Hi JP, Well I've noticed the same thing on my tests, the only reason I can think off is that it either takes the preceding or the ending atom to the tuple of atom indices. I hope Greg or someone else can shed some light into it. Best, Christos Christos Kannas Researcher Ph.D Student Mo

Re: [Rdkit-discuss] Opposite of GetSubstructureMatches()

2014-04-17 Thread Christos Kannas
, if some ring atoms are mapped as hydrophobic, and I also keep terminal carbons (CH3) connected to the adjacent hydrophobic group, if any. I hope these assumptions are chemically correct. Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99

[Rdkit-discuss] Sanitization Errors

2014-04-24 Thread Christos Kannas
, kekulize=True) For visualized output check http://nbviewer.ipython.org/gist/anonymous/11248962/Sanitization_Errors.ipynb Is this an expected behaviour? Is there something I can do as a fix? Regards, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cypr

Re: [Rdkit-discuss] Sanitization Errors

2014-04-24 Thread Christos Kannas
ith carbons so chloride should be disconnected. [N+]([Cl-])(C)(C)C -> [N+](C)(C)C.[Cl-] Regards, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on Lin

Re: [Rdkit-discuss] autodock vina pdbqt file to mol2

2014-05-09 Thread Christos Kannas
Hi Jan, AutoDock has a set of tools (MGLTools) that have tools to convert pdb to pdbqt and vice-versa. If I recall it can also convert pdbqt to mol2 also. See this discussion http://autodock.1369657.n2.nabble.com/ADL-pdbqt-to-mol2-td6755769.html Best, Christos Christos Kannas Researcher Ph.D

[Rdkit-discuss] Aldehyde functional group does not identify Formaldehyde as an aldehyde

2014-07-16 Thread Christos Kannas
thing that should happen? Attached is an ipython notebook showing this behaviour. Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskanna

Re: [Rdkit-discuss] Installation of RDKit 2014 on Centos 5.10 (Final)

2014-07-24 Thread Christos Kannas
x27;t have to install NumPy, since it is bundled to it. Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On 24 July 20

Re: [Rdkit-discuss] Installation of RDKit 2014 on Centos 5.10 (Final)

2014-07-24 Thread Christos Kannas
if I did any update to gcc. I will get back to you on Monday for this, except if you are in a hurry I'll go from the office tomorrow to check my dev machine. Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Chr

Re: [Rdkit-discuss] Installation of RDKit 2014 on Centos 5.10 (Final)

2014-07-28 Thread Christos Kannas
/RDKit_2013_09_2 export LD_LIBRARY_PATH=$RDBASE/lib:path_to_boost_libs:$ LD_LIBRARY_PATH export PYTHONPATH=$RDBASE:$PYTHONPATH export PATH= /opt/anaconda/bin:$PATH Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas&#

[Rdkit-discuss] UGM Update

2014-10-24 Thread Christos Kannas
Hi RDKiters, How is UGM going? Is there a tweet feed to follow? Hope you are having a nice and interesting time! Best, Christos Christos Kannas Researcher Ph.D Student [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christ

Re: [Rdkit-discuss] [rdkit] 2014_09_2 (Q3 2014) Patch Release

2014-12-08 Thread Christos Kannas
Hi Greg, Could you provide a compiled version of the patched RDKit for Python 64bit on Windows, Thanks, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedi

Re: [Rdkit-discuss] Can't kelulize

2014-12-09 Thread Christos Kannas
Sergio, You have to use GetSubstructMatches. Look at my sample here <http://nbviewer.ipython.org/gist/CKannas/5a762b97c52e389d492e>. Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's

Re: [Rdkit-discuss] Modified Mol objects with concurrent.futures

2015-02-02 Thread Christos Kannas
, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On 2 February 2015 at 09:03, Reutlinger, Michael < michael.reutlin...@roche.com>

Re: [Rdkit-discuss] Rdkit-discuss Digest, Vol 88, Issue 13

2015-02-13 Thread Christos Kannas
Hi Samuel, The problem is that x is a tuple in your case not an rdkit molecule object. Check your code to see what mols list actually has inside. I'm guessing that x is a tuple containing a molecule object plus some other info. Best. Christos Christos Kannas Researcher Ph.D Student Mo

Re: [Rdkit-discuss] RDKit compile is successful, but python does see RDKit?

2015-02-17 Thread Christos Kannas
Hi Steve, Make sure that PYTHONPATH has the correct location of RDKit, and LD_LIBRARY_PATH has the location of boost libraries. Regards, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profi

Re: [Rdkit-discuss] compatibiltiy between parallel python and rdkit

2015-03-02 Thread Christos Kannas
safe. Best, Christos Kannas Sent from my Galaxy Note 4. On 2 Mar 2015 17:50, "Bennion, Brian" wrote: > Hello, > > I am relatively new to rdkit but have found it to be very useful in > creating compounds with the reaction functions. > > Currently my project involves

Re: [Rdkit-discuss] compatibiltiy between parallel python and rdkit

2015-03-03 Thread Christos Kannas
Hi Brian, Can you provide a complete block of code of the serial code or the parallel block and synthesize function? Best, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn]

Re: [Rdkit-discuss] RDKit SDMolSupplier

2015-03-12 Thread Christos Kannas
that extra information,you can convert your molecules to PropertyMol, e.g. from rdkit.Chem.PropertyMol import PropertyMol pmol = PropertyMol(mol) Hope the information above helps a bit. Regards, Christos Christos Kannas Researcher Ph.D Student [image: View Christos Kannas's profile on Lin

Re: [Rdkit-discuss] RDKit SDMolSupplier

2015-03-12 Thread Christos Kannas
common problem with Python especially if you are dealing with the various parallel computation packages, that exchange messages across python processes via pickled messages. Regards, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608

Re: [Rdkit-discuss] install rdkit cartridge

2015-04-24 Thread Christos Kannas
Hi Tim, I'm not sure about this, but I think that in order to use the cartridge you have to build RDKit and cartridge from source. Regards, Christos Kannas Sent from my Galaxy Note 4. On 24 Apr 2015 13:47, "Tim Dudgeon" wrote: > Is it possible when using the packages? >

Re: [Rdkit-discuss] Count carbon atoms

2015-10-07 Thread Christos Kannas
att) C In [4]: pm = m.GetSubstructMatches(patt) print len(pm) 8 Regards, Christos Christos Kannas Researcher Ph.D Student Mob (UK): +44 (0) 7447700937 Mob (Cyprus): +357 99530608 [image: View Christos Kannas's profile on LinkedIn] <http://cy.linkedin.com/in/christoskannas> On 7 October 20

[Rdkit-discuss] Shape Similarity

2009-03-23 Thread Christos Kannas
Hi Greg, I want to use RDKit to quantify Shape Similarity between molecules and have tried the following: from rdkit.Chem import AllChem mol1 = AllChem.MolFromSmiles("C(=O)(C(c1ccc(cc1)CC(C)C)C)NO") AllChem.CanonicalizeMol(mol1) AllChem.EmbedMolecule(mol1) AllChem.UFFOptimizeMolec

Re: [Rdkit-discuss] Shape Similarity

2009-03-23 Thread Christos Kannas
: ckan...@noesisinformatics.com Cc: rdkit-discuss@lists.sourceforge.net Subject: Re: [Rdkit-discuss] Shape Similarity Dear Christos, 2009/3/23 Christos Kannas : > > I want to use RDKit to quantify Shape Similarity between molecules and have > tried the following: > > from rdkit.Chem im