Quantcast

Problems on InChI to IKnChIkey conversions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problems on InChI to IKnChIkey conversions

Peter Fischer
Hello,
I experience problems on conversion from InChI to InChIkey when using e.g. the InChIs below as input. No result is yielded.
On contrast their conversion to molfile or SMILES does not pose any problems.
If I do a conversion InChI -> SMILES -> InChI a slightly different InChI cut off at the /f-layer is produced, which then converts to InChIkey without problems. This workaround cycle process is no solution as I have rather long batched lists.
I would prefer a workaround, that the InchI are preprocessed to remove the /f-layers, where required before converting to Openbabel. The problem is, that for most molecules the /f-layer is not problematic and I do not have any handle to date to track the problematic ones before processing.
Are there any switches in Openbabel to get this going (I am using V4.1. on Windows, but the problem seems not to be dependent on system)?
Somehow the tautomer layer seems to be incorrect in the examples here, but some of the given InchIs can be found on googling at different places, so such errors are not that rare.
Any ideas?
InChI=1/H2O4S/c1-5(2,3)4/h(H2,1,2,3,4)/p-2/fO4S/q-2
InChI=1S/H3N.H3P/h2*1H3/p+1/fH4N.H3P/h1H;/q+1;    [NH4+].P    ammonium phosphine
InChI=1S/HIO4.Na/c2-1(3,4)5;/h(H,2,3,4,5);/q;+1/p-1/fIO4.Na/q-1;m    [O-][I](=O)(=O)=O.[Na+]    Sodium periodate
InChI=1S/H3O4P/c1-5(2,3)4/h(H3,1,2,3,4)/p-3/fO4P/q-3    [O-]P(=O)([O-])[O-]    Phosphate
InChI=1S/H2O4S/c1-5(2,3)4/h(H2,1,2,3,4)/f/h1-2H    OS(=O)(=O)O    Sulfuric acid
InChI=1S/H2O4S/c1-5(2,3)4/h(H2,1,2,3,4)/p-2/fO4S/q-2    [O-]S(=O)(=O)[O-]    sulfate
InChI=1S/HI/h1H/p-1/fI/h1h/q-1    [I-]    iodide
InChI=1S/H3O4P/c1-5(2,3)4/h(H3,1,2,3,4)/p-2/fHO4P/h1H/q-2    [O-]P(=O)(O)[O-]    hydrogen phosphate
InChI=1S/H3N.H3O4P.Zn/c;1-5(2,3)4;/h1H3;(H3,1,2,3,4);/q;;+2/p-2/fH4N.O4P.Zn/h1H;;/q+1;-3;m    [O-]P(=O)([O-])[O-].[NH4+].[Zn+2]    ammonium zinc phosphate
InChI=1S/H3N.H3O4P/c;1-5(2,3)4/h1H3;(H3,1,2,3,4)/fH4N.H2O4P/h1H;1-2H/q+1;-1    [O-]P(=O)(O)O.[NH4+]    monoammonium phosphate
InChI=1S/H3O4P/c1-5(2,3)4/h(H3,1,2,3,4)/f/h1-3H    OP(=O)(O)O    phosphoric acid
InChI=1S/H3O3PS/c1-4(2,3)5/h(H3,1,2,3,5)/p-3/fO3PS/q-3    [O-]P(=O)([S-])[O-]    phosphorothioate

------------------------------------------------------------------------------

_______________________________________________
OpenBabel-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Loading...