On 28/03/2008, lunchbox99 <
[hidden email]> wrote:
> Thanks Noel. Perhaps I should also declare my relative newbie status when it
> comes to matters InChi related. I usually use canonical smiles.
>
> I am aware that mobile H treatment is deliberate and the default behavior to
> presumably facilitate comparisons between tautomers from various sources. I
> am using openbabel via the python wrappers to write a structural profiler
> script for a sample registration tool. The InChi code is being tested as a
> structure storage mechanism for a database of ~200k samples (real samples,
> not virtual). I will also store canonical smiles to provide a backup
> solution if the InChi proves problematic.
>
> If the stored InChi structure is read from the database and viewed,
> chemists/biologists will not understand why the structures are "wrong"...
> they would expect amides to look like amides, not imino-alcohols. If
> openbabel does not support fixed-H InChi, maybe I will just stick with
> cansmiles for structure viewing and only use InChi internally to facilitate
> duplicate checking.
This may be a good solution. My understanding of InChI is that they
are intended for creating a unique string for each molecule. In other
words, they are not ready meant to be read and interpreted. It may be
possible to use OpenBabel to generate the various tautomers
corresponding to a particular structure though. Also, if storage space
is a problem, and you are not going to be reading the InChI, you may
want to use InChiKeys instead.
HTH
> mc
>
>
>
> -----Original Message-----
> From: Noel O'Boyle [mailto:
[hidden email]]
> Sent: Friday, 28 March 2008 6:52 AM
> To:
[hidden email]
> Cc:
[hidden email]; Chris Morley
> Subject: Re: [OpenBabel-scripting] InChi generation options
>
> Just to clarify, I assume that you are aware that the current
> behaviour is the correct default. Different tautomers of the same
> molecule should have the same InChI. That is one of the core ideas of
> the InChI.
>
> Noel
>
> On 27/03/2008, Noel O'Boyle <
[hidden email]> wrote:
> > pybel just uses the default options of each format. But even OpenBabel
> > currently doesn't seem to have the option you are looking for:
> > "InChI format\n"
> > "IUPAC/NIST molecular identifier\n"
> > "Write options, e.g. -xat\n"
> > " X <Option string> List of InChI options:\n"
> > " t add molecule name\n"
> > " a output auxilliary information\n"
> > " K output InChIKey\n"
> > " u output only unique molecules\n"
> > " U output only unique molecules and sort them\n"
> > " e compare first molecule to others\n"
> > " w don't warn on undef stereo or charge rearrangement\n\n"
> >
> > I am not very familiar with InChI beyond the basics. Perhaps Geoff or
> > Chris can comment on whether this option could be added.
> >
> >
> > Noel
> >
> >
> > On 27/03/2008,
[hidden email] <
[hidden email]> wrote:
> > > I am trying to generate InChi codes using pybel like this:
> > >
> > > descriptor={}
> > > descriptor['INCHI']=mol.write('INCHI')
> > >
> > > While running, the output window reports an InChi warning that protons
> have been added or
> > > removed. When I examine the structures, the InChi generation has
> produced a new tautomeric form
> > > for many molecules eg amides as imine-alcohols. The corresponding
> smiles representation using
> > > mol.write('CAN') works as expected ie the same tautomer as the input
> structure.
> > >
> > > I am aware that InChi allows the generation of mobile H atom and fixed
> H atom models - can I pass
> > > something to mol.write('INCHI') to generate a fixed-H atom
> representation?
> > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > >
>
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace> > > _______________________________________________
> > > OpenBabel-scripting mailing list
> > >
[hidden email]
> > >
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting> > >
> >
>
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
OpenBabel-scripting mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting