[Open Babel] 2D or 3D

2012-04-23 Thread Jochen Schreiber
Hello guys,

i need a fast answer.

Is the similarity search in babel 2D or 3D?

Greetz,

Jochen Schreiber

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


Re: [Open Babel] 2D or 3D

2012-04-23 Thread Maciek Wójcikowski
Fingerprints are 1D therefore similarity search is 1D. To
my knowledge there is no shape similarity search in OB.

Pozdrawiam,  |  Best regards,
Maciek Wójcikowski
mac...@wojcikowski.pl


W dniu 23 kwietnia 2012 09:20 użytkownik Jochen Schreiber <
joc...@googlemail.com> napisał:

> Hello guys,
>
> i need a fast answer.
>
> Is the similarity search in babel 2D or 3D?
>
> Greetz,
>
> Jochen Schreiber
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


[Open Babel] Energy Minimization of complex of two molecules

2012-04-23 Thread Чугунов Антон
 Dear Open Babel users, I'm writing a script to reconstruct a complex of two peptides. I employ OB python interface and also Pybel to make necessary transformations of both peptides, but finally I have to perform energy minimization of the whole complex to avoid bumping of side chains.It seems to be possible, since when I load two molecules from one PDB file, OB can optimize them. But here I don't know how to combine two molecules into one object that I could apply energy-minimization routine for the system.Can you help, please?PS. Let's say, molecules are defined as the following:H1 = pybel.readfile('pdb', 'pep1.pdb').next()H2 = pybel.readfile('pdb', 'pep2.pdb').next() 

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


Re: [Open Babel] Energy Minimization of complex of two molecules

2012-04-23 Thread Maciek Wójcikowski
Have you tried "H1 + H2"? Actually this wasn't working for me in perl, but
it's supposed to be working in Python.

Pozdrawiam,  |  Best regards,
Maciek Wójcikowski
mac...@wojcikowski.pl


W dniu 23 kwietnia 2012 13:52 użytkownik Чугунов Антон
napisał:

>
> Dear Open Babel users,
> I'm writing a script to reconstruct a complex of two peptides. I employ OB
> python interface and also Pybel to make necessary transformations of both
> peptides, but finally I have to perform energy minimization of the whole
> complex to avoid bumping of side chains.
> It seems to be possible, since when I load two molecules from one PDB
> file, OB can optimize them. But here I don't know how to combine two
> molecules into one object that I could apply energy-minimization routine
> for the system.
> Can you help, please?
>
> PS. Let's say, molecules are defined as the following:
> H1 = pybel.readfile('pdb', 'pep1.pdb').next()
> H2 = pybel.readfile('pdb', 'pep2.pdb').next()
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
>
> ___
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>
>
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


Re: [Open Babel] 2D or 3D

2012-04-23 Thread Geoffrey Hutchison
> Fingerprints are 1D therefore similarity search is 1D. To my knowledge there 
> is no shape similarity search in OB.

The Spectrophore techniques are shape dependent.
http://openbabel.org/docs/current/Fingerprints/spectrophore.html

-Geoff
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


[Open Babel] Tautomer issue

2012-04-23 Thread Jörg Kurt Wegner
Hi all,

I am trying to get my head around the tautomer function. Here a few issues,
could you help me getting into touch with Tim, or someone else being able
to help with the tautomerization functionality?

First, the canonical tautomer function is less tautomeric than I would wish
for.
The following molecules are not normalized correctly, I get two different
tautomeric versions. Test file and debugging log files are attached.
In both cases I would expect: CC(=O)Cc1c1


Second, the full enumeration is just not working. In the case of NOT
defining "-c" I would expect to get all possible tautomers as defined by
the Functor class
class Functor : public OpenBabel::TautomerFunctor
but I just get one structure all the time? Any clues what goes wrong?

Cheers
/.Joerg
-- 
Web ,
Twitter,
LinkedIn ,
FOAF,
FaceBook ,
Google+
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Other
  7: Hybridized
  8: Acceptor
  9: Other
Bond Types:
  0: Unassigned
  1: Unassigned
  2: Unassigned
  3: Unassigned
  4: Unassigned
  5: Unassigned
  6: Assigned
  7: Assigned
  8: Unassigned
  9: Assigned
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Other
  7: Hybridized
  8: Unassigned
  9: Other
EnumerateRecursive
  Assigned 8 Acceptor
-> Rule 5: Assign 7-8 Double
-> Rule 5: Assign 5-0 Double
-> Rule 5: Assign 1-2 Double
-> Rule 4: Assign 2-3 Single
-> Rule 4: Assign 4-5 Single
-> Rule 5: Assign 3-4 Double
  --> LeafNode reached...
Change?
8 
A 
8 
A 
  Backtrack... 8
CC(=O)Cc1c1 
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Hybridized
  7: Hybridized
  8: Donor
  9: Other
Bond Types:
  0: Unassigned
  1: Unassigned
  2: Unassigned
  3: Unassigned
  4: Unassigned
  5: Unassigned
  6: Unassigned
  7: Unassigned
  8: Unassigned
  9: Assigned
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Hybridized
  7: Hybridized
  8: Unassigned
  9: Other
EnumerateRecursive
  Assigned 8 Donor
-> Rule 1: Assign 7-8 Single
-> Rule 5: Assign 6-7 Double
-> Rule 4: Assign 0-6 Single
-> Rule 5: Assign 5-0 Double
-> Rule 5: Assign 1-2 Double
-> Rule 4: Assign 2-3 Single
-> Rule 4: Assign 4-5 Single
-> Rule 5: Assign 3-4 Double
  --> LeafNode reached...
Change?
8 
D 
  Change 8 to Acceptor
-> Rule 5: Assign 1-2 Double
-> Rule 5: Assign 7-8 Double
-> Rule 4: Assign 2-3 Single
-> Rule 4: Assign 6-7 Single
-> Rule 5: Assign 3-4 Double
-> Rule 5: Assign 0-6 Double
-> Rule 4: Assign 5-0 Single
-> Rule 4: Assign 4-5 Single
invalid Acceptor/Hybridized 1
8 
A 
  Backtrack... 8
CC(=Cc1c1)O 


test4.sdf
Description: Binary data
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Other
  7: Hybridized
  8: Acceptor
  9: Other
Bond Types:
  0: Unassigned
  1: Unassigned
  2: Unassigned
  3: Unassigned
  4: Unassigned
  5: Unassigned
  6: Assigned
  7: Assigned
  8: Unassigned
  9: Assigned
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Other
  7: Hybridized
  8: Unassigned
  9: Other
EnumerateRecursive
  Assigned 8 Acceptor
-> Rule 5: Assign 7-8 Double
-> Rule 5: Assign 5-0 Double
-> Rule 5: Assign 1-2 Double
-> Rule 4: Assign 2-3 Single
-> Rule 4: Assign 4-5 Single
-> Rule 5: Assign 3-4 Double
  --> LeafNode reached...
CC(=O)Cc1c1 
Change?
8 
A 
8 
A 
  Backtrack... 8
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Hybridized
  7: Hybridized
  8: Donor
  9: Other
Bond Types:
  0: Unassigned
  1: Unassigned
  2: Unassigned
  3: Unassigned
  4: Unassigned
  5: Unassigned
  6: Unassigned
  7: Unassigned
  8: Unassigned
  9: Assigned
Atom Types:
  0: Hybridized
  1: Hybridized
  2: Hybridized
  3: Hybridized
  4: Hybridized
  5: Hybridized
  6: Hybridized
  7: Hybridized
  8: Unassigned
  9: Other
EnumerateRecursive
  Assigned 8 Donor
-> Rule 1: Assign 7-8 Single
-> Rule 5: Assign 6-7 Double
-> Rule 4: Assign 0-6 Single
-> Rule 5: Assign 5-0 Double
-> Rule 5: Assign 1-2 Double
-> Rule 4: Assign 2-3 Single
-> Rule 4: Assign 4-5 Single
-> Rule 5: Assign 3-4 Double
  --> LeafNode reached...
C/C(=C\c1c1)/O  
Change?
8 
D 
  Change 8 to Acceptor
-> Rule 5: Assign 1-2 Double
-> Rule 5: Assign 7-8 Double
-> Rule 4: Assign 2-3 Single
-> Rule 4: Assign 6-7 Single
-> Rule 5: Assi

[Open Babel] libopenbabel.so versions

2012-04-23 Thread Craig James
I'm (finally) moving to the latest version of OpenBabel.  I discovered
that after compiling, the .so version number is still
libopenbabel.so.4 -- the same name as OpenBabel 2.2.x.  By my
understanding of .so libraries, this means OpenBabel 2.3.1 is 100% ABI
compatible with code compiled against OpenBabel 2.2.x.

Is that right?  (If that's true, it's great news.)

Thanks,
Craig

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


Re: [Open Babel] libopenbabel.so versions

2012-04-23 Thread Michael Banck
Hi,

On Mon, Apr 23, 2012 at 02:11:05PM -0700, Craig James wrote:
> I'm (finally) moving to the latest version of OpenBabel.  I discovered
> that after compiling, the .so version number is still
> libopenbabel.so.4 -- the same name as OpenBabel 2.2.x.  By my
> understanding of .so libraries, this means OpenBabel 2.3.1 is 100% ABI
> compatible with code compiled against OpenBabel 2.2.x.
> 
> Is that right?  (If that's true, it's great news.)

IIRC 2.2.x had libopenbabel.so.3 as SONAME, see e.g.

http://packages.debian.org/search?keywords=libopenbabel3


Cheers,

Michael

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


Re: [Open Babel] libopenbabel.so versions

2012-04-23 Thread Craig James
On Mon, Apr 23, 2012 at 3:20 PM, Michael Banck  wrote:
>> I'm (finally) moving to the latest version of OpenBabel.  I discovered
>> that after compiling, the .so version number is still
>> libopenbabel.so.4 -- the same name as OpenBabel 2.2.x.  By my
>> understanding of .so libraries, this means OpenBabel 2.3.1 is 100% ABI
>> compatible with code compiled against OpenBabel 2.2.x.
>>
>> Is that right?  (If that's true, it's great news.)
>
> IIRC 2.2.x had libopenbabel.so.3 as SONAME, see e.g.
>
> http://packages.debian.org/search?keywords=libopenbabel3

Thanks for the link ... so why is it that my version of OpenBabel
2.2.x uses libopenbabel.4.0.0?  It was a developer's release, not a
stable version.  I guess the .so version must have changed a long time
before the official 2.3.x release.

Thanks,
Craig

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss


Re: [Open Babel] libopenbabel.so versions

2012-04-23 Thread Michael Banck
On Mon, Apr 23, 2012 at 03:26:22PM -0700, Craig James wrote:
> On Mon, Apr 23, 2012 at 3:20 PM, Michael Banck  wrote:
> >> I'm (finally) moving to the latest version of OpenBabel.  I discovered
> >> that after compiling, the .so version number is still
> >> libopenbabel.so.4 -- the same name as OpenBabel 2.2.x.  By my
> >> understanding of .so libraries, this means OpenBabel 2.3.1 is 100% ABI
> >> compatible with code compiled against OpenBabel 2.2.x.
> >>
> >> Is that right?  (If that's true, it's great news.)
> >
> > IIRC 2.2.x had libopenbabel.so.3 as SONAME, see e.g.
> >
> > http://packages.debian.org/search?keywords=libopenbabel3
> 
> Thanks for the link ... so why is it that my version of OpenBabel
> 2.2.x uses libopenbabel.4.0.0?  It was a developer's release, not a
> stable version.  I guess the .so version must have changed a long time
> before the official 2.3.x release.

That's it probably.  I believe it is customary to bump the SONAME once
the actual API break occurs.

OpenBabel does not use the odd/even numbering scheme to designate
developer and stable versions, so this complicates things slightly as
the bump has to happen at some point before the major version is
changed/released.


Michael

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss