Re: [Open Babel] (no subject)

2017-05-22 Thread Miro Moman
Quick and dirty workaround: Convert it to .xyz (removing the Hs if needed) then compute the atom types from that file and see what happens... On 22 May 2017 19:24, "Marcos Villarreal" wrote: > Hello, > > For an application we are developing, we would like to get an atom typing > independent of t

Re: [Open Babel] tutorials on small molecule energy minimization and substructure searching

2016-08-30 Thread Miro Moman
In addition to Fredrik advise, you may also want to take a look at: http://openbabel.org/wiki/Obminimize As for fingerprints, I have found Filter-It to be more efficient than OB: http://silicos-it.be.s3-website-eu-west-1.amazonaws.com/software/software.html -- Edelmiro Moman, PhD Department of

Re: [Open Babel] Open Babel 2.3 unable to filter batch SDF files on basis of logP and ROTATABLE_BOND

2016-08-05 Thread Miro Moman
The descriptor "ROTATABLE_BONDS" is used as an example in the online documentation but not actually implemented in the code. The easiest solution would be this: https://sourceforge.net/p/openbabel/mailman/message/30659149/ Add the following item to /"OBABEL_INSTALLATION_DIRECTORY"/data/plugindef

Re: [Open Babel] Command line help for protonation

2016-08-05 Thread Miro Moman
Hi Stuart, I have you tried removing the space between the "-p" flag and the value, like "-p7.4"? Best, Miro -- Edelmiro Moman, PhD Department of Molecular Medicine Royal College of Surgeons in Ireland POSTAL ADDRESS: L5.08 Trinity Biomedical Sciences Institute - TBSI Trinity College Dublin

Re: [Open Babel] Cannot understand the element label Du.

2016-07-26 Thread Miro Moman
It is probably unrelated and not the case any more but in the past I have had issues with line breaks format with certain files from the PDB. So I needed to use dos2unix (in your case it would be unix2dos). Another similar problems had to do with exotic (like old Windows) character encodings (I do

[Open Babel] Problem adding hydrogens to HETATM

2012-08-24 Thread Miro Moman
Hello, I have several PDB files containing protein-ligand complexes. The protein atoms are in the ATOM record and the ligand atoms in the HETATM record. However, when I add hydrogens with Open Babel 2.3.1 all the added hydrogens, including those belonging to the ligand, appear as ATOM. The res

Re: [Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-16 Thread Miro Moman
('_openbabel', fp, pathname, description) >> ImportError: dynamic module does not define init function (init_openbabel) >> >> On 09/15/2011 12:16 PM, Noel O'Boyle wrote: >>> One Python is 2.6, the other is 2.7. You need to decide which you want >>> t

Re: [Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-16 Thread Miro Moman
oes not define init function (init_openbabel) >> >> On 09/15/2011 12:16 PM, Noel O'Boyle wrote: >>> One Python is 2.6, the other is 2.7. You need to decide which you want >>> to use as you can't compile against 2.7 and then use the 2.6 one. Can >>> you c

Re: [Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-15 Thread Miro Moman
; they point to the version you want to use (and then "touch > openbabel-python.i" and recompile)? > > - Noel > > On 15 September 2011 11:05, Miro Moman wrote: >> Debian 6.0.2 64-bit. >> >> Yes, I have OpenBabel installed globally using apt-get because ther

Re: [Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-15 Thread Miro Moman
helper() File "/home/mirix/python/lib/python2.7/site-packages/openbabel.py", line 166, in swig_import_helper _mod = imp.load_module('_openbabel', fp, pathname, description) ImportError: dynamic module does not define init function (init_openbabel) >>> [

Re: [Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-15 Thread Miro Moman
So, I do not understand what is wrong. Is this a bug? On 09/14/2011 02:50 PM, Geoff Hutchison wrote: >> How do I know if Swig is actually being used? > The development version doesn't include any scripting modules, so if it's > even attempting to compile/link, then it's using swig. > > -Geoff -

Re: [Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-14 Thread Miro Moman
ngs on your computer. I > recommend you install both Open Babel and its bindings locally, set > the appropriate environment variables (e.g. LD_LIBRARY_PATH, > PYTHONPATH and so forth, and try again). > > - Noel > > On 13 September 2011 20:24, Miro Moman wrote: >> I have c

Re: [Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-14 Thread Miro Moman
t; PYTHONPATH and so forth, and try again). > > - Noel > > On 13 September 2011 20:24, Miro Moman wrote: >> I have compiled the latest development version of OpenBabel with python >> bindings (Swig 2.0.0 and Eigen2). However, when I try to run the python >> scr

[Open Babel] ImportError: dynamic module does not define init function (init_openbabel)

2011-09-13 Thread Miro Moman
I have compiled the latest development version of OpenBabel with python bindings (Swig 2.0.0 and Eigen2). However, when I try to run the python script from https://gist.github.com/974477, I get the following error: python dockedpose.py Traceback (most recent call last): File "dockedpose.py", lin