Re: [Open Babel] compiling openbabel3 on Ubuntu 18.04

2020-04-02 Thread Thomas
el import openbabel" instead, I get a different error: "ImportError: cannot import name 'openbabel'" Il giorno gio 2 apr 2020 alle ore 12:19 Thomas ha scritto: > Hi there, > I'm trying to compile the latest openbabel 3 on my Ubunu 18.04 machine > (at present only openbabel 2

[Open Babel] building openbabel-3.0.0 with python 3 bindings on Ubuntu 18.04

2020-04-02 Thread Thomas
I've managed to build openbabel 3 with bindings to python 3 on a local install. Everything went smooth. This is my cmake command: cmake ../openbabel-3.0.0 -DCMAKE_INSTALL_PREFIX=~/WORKSPACE/OpenBabel/openbabel-3.0.0_INSTALL -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON Still, after setting the PYTHONPATH:

Re: [Open Babel] Explicit H as property

2023-02-22 Thread Thomas
. Thank you Il giorno mer 22 feb 2023 alle ore 11:12 Andrew Dalke < da...@dalkescientific.com> ha scritto: > On Feb 21, 2023, at 19:23, Thomas wrote: > > Is it possible to get SMILES with explicit hydrogens as a "property" of > another atom? > > For example from the

Re: [Open Babel] Avoid sanitization

2023-02-21 Thread Thomas
-:"O=C(NCCN(C)C)c12C(=O)c3c3(Oc12)" -s > "c12Cc3c3(Oc12)" -osmi -aa > O=C(NCCN(C)C)c12C(=O)c3c3Oc12 > > Regards, > Noel > > > > On Fri, 17 Feb 2023 at 18:50, Thomas wrote: > >> Thank you Noel. >> I wanted to get the canoni

[Open Babel] Explicit H as property

2023-02-21 Thread Thomas
I am including OpenBabel as an alternative chemical library in a software that uses RDKit, but I'm missing some functions. Is it possible to get SMILES with explicit hydrogens as a "property" of another atom? For example from the SMILES "CC" I'd like to get '[CH3][CH3]' instead of

[Open Babel] Avoid sanitization

2023-02-17 Thread Thomas
are the addition of Hs if I generate the molecule from SMILES fragments (partial SMILES) Thank you Thomas ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Re: [Open Babel] Avoid sanitization

2023-02-17 Thread Thomas
={'c':True}) 'CN(CCNC(=O)c1cccn2c1nc1c1c2=O)C\t\n' Furthermore, can you explain me this: mol = pybel.readstring('smi', "O=C(NCCN(C)C)c12C(=O)c3c3(Oc12)") sma = pybel.Smarts("c12Cc3c3(Oc12)") sma.obsmarts.Match(mol.OBMol, True) False Thank you again Thomas Il g

[Open Babel] Is there a way to get babel to believe *only* CONECT records in input PDB

2011-07-28 Thread Thomas Womack
records, but that's not what I want. Yours sincerely, Thomas Womack (Global Phasing) -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100

[Open Babel] Naming auto-added hydrogens

2012-01-10 Thread Thomas Womack
I'm using babel as part of a process for producing dictionaries for crystallographic refinement software. The formats for such dictionaries refer to atoms by their names, and so it's very slightly annoying that the output from babel hydrogenation calls all the added hydrogens 'H'. Is there a

[Open Babel] mol2 problem

2012-01-23 Thread Thomas Womack
On 23 Jan 2012, at 12:29, Douglas Houston wrote: Hi all, I wonder if anyone can help me work out what's going on here. I'm trying to convert a PDB file of ADP (from structure 3ATV) to mol2 format and add hydrogens. The first step seems to work fine: babel -ipdb 3ATV_ADP.pdb -omol2

Re: [Open Babel] 3d coordinate generation with 'nan' coordinates

2012-05-08 Thread Thomas Womack
On 5 May 2012, at 13:40, Ferenc Szalai wrote: Hi, I attached a structure in 2d mol file. If I try to generate 3d coordinates for this structure ether using obgen or the pybel interface I get result with invalid coordinates ('nan') and a lot of warning messages which are stats the something

[Open Babel] mol2 files with charged atoms

2012-05-09 Thread Thomas Womack
The CSD has a fair number of structures with a big charged aromatic moiety and a counter-ion, things like the attached TUDTES.mol2 Using SVN 4747, I'm not seeing charges when I convert to SMILES - I get OCCn1c(=O)n(C)c2c(c1=O)n(C)cn2C.I out of obprop, where I would expect

[Open Babel] install of open babel for pymol under window 10 - BABEL_DATADIR issues??

2016-07-13 Thread Thomas Ryckmans
ib\PmwBase.py", line 1747, in __call__ return apply(self.func, args) File "C:\Users\Thomas\AppData\Roaming\pymol\startup\optimize.py", line 52, in set_conf_search conf_search(selection, forcefield, conf_method, nsteps1, conformers, lowest_conf) File "C:\Users\T

Re: [Open Babel] install of open babel for pymol under window 10 - BABEL_DATADIR issues??

2016-09-12 Thread Thomas Ryckmans
Hi Eric I contacted Osvaldo cc d on this (he wrote Optimize) and he kindly offered some help - but I never managed to get optimize to run Am traveling now but will have a look again next week Best Thomas On Saturday, 10 September 2016, eolmon <eric_ol...@brown.edu> wrote: > Dear Thomas,

[Open Babel] 4th Advanced in silico Drug Design workshop in Olomouc

2018-11-07 Thread Thomas Evangelidis
chemoinformatic tasks and win prizes. http://fch.upol.cz/en/research/conferences-workshops/4add/ Please feel free to share this information to those who can be interested in participation in such event. Thank you. With kind regards, Thomas Evangelidis

[Open Babel] sdf to mol2 converter issue with aromatics

2018-09-25 Thread Thomas Evangelidis
44 94 1 96 97 45 95 1 98 46 47 ar 99 46 96 1 100 47 48 ar 101 47 97 1 102 48 98 1 @SUBSTRUCTURE 1 UNK 1 GROUP 0 0 ROOT -- == Dr Thomas E

[Open Babel] multi-molecule sdf is converted to multi-MODEL pdbqt

2019-06-04 Thread Thomas Evangelidis
How can I instruct OpenBabel to write a multi-molecule pdbqt file? I am not sure if the flag '--canonical' has any effect. I have heard that sometimes it fixes some random change in the atom order especially in structures with a high number of rotatable bonds and many symmetric groups. I thank you in

[Open Babel] ImportError: cannot import name 'OBElementTable' from 'openbabel' (unknown location)

2019-04-20 Thread Thomas Evangelidis
' is missing. Was this table really removed, and if yes, how can I adapt my code below to work with the latest version? I thank you in advance. Thomas from openbabel.openbabel import OBElementTable > > # ELEMENT TABLE TO DETERMINE VDW AND COVALENT BONDS > et = OBElementTable() > # CONVERT ELE

[Open Babel] problem with Eigen2 while compiling on Mac Lion

2011-11-14 Thread Hassan Thomas Mamdani
Hi I tried to compile Open Babel on my Mac so I could have the Python bindings, but I'm running into problems with Eigen2. When I compile without reference to Eigen, the configuration completes without errors, but when I include the –DEIGEN2_INCLUDE_DIR I get the following error: … --

Re: [Open Babel] problem with Eigen2 while compiling on Mac Lion

2011-11-14 Thread Hassan Thomas Mamdani
courriel, effacer l'original sans en conserver de copie et ne pas en dévoiler le contenu ni utiliser l¹information pour quelque fin que ce soit. On 14/11/2011 16:12, Geoffrey Hutchison ge...@geoffhutchison.net wrote: On Nov 14, 2011, at 4:14 AM, Hassan Thomas Mamdani wrote: CMake Error at cmake