Big Chemical Encyclopedia

Chemical substances, components, reactions, process design ...

Articles Figures Tables About

OpenBabel cansmiles function

Create Or Replace Function openbabel.cansmiles(smi Text) Returns Text As EOPY import openbabel obc = openbabel.OBConversion() mol = openbabel.OBMol() obc.SetlnAndOutFormats("smi", "can") if obc.Readstring(mol, smi) mol.SetTitle("")... [Pg.198]

The column structure.id is a unique integer relating the structure, sdf and property tables. The sdf.molfile column contains the molfile for each structure as defined by the vendor. The structure.name and structure.cansmiles columns contain the name and canonical smiles parsed and computed from the molfile. The structure.coord column will contain an array of atomic coordinates. The structure, atom column will contain an array of atom numbers from the file in canonical order to correspond to the atom order in the canonical SMILES. The OpenBabel/plpythonu extension functions molfile mol and molfile properties will be used to parse the vendor SDF molfiles and populate these tables. The molfile column of the sdf table is first populated from the SDF file, using the following perl script. [Pg.126]

Notice that the individual elements of the composite data type value returned by the openbabel.molf ile mol function must be used. Lor example, (openbabel.molfile mol (molf ile)). cansmiles... [Pg.128]

This Appendix contains structured query language (SQL) functions and tables too large or complex for the explanatory nature of the earlier chapters. These functions and tables are practical, rather than explanatory. They all follow PostgreSQL syntax. Some of them require the core functions described in Chapter 7 of this book, for example, match, cansmiles, and count matches. Those functions are available in the CHORD product from gNova, Inc. This Appendix also contains a PerlMol implementation, a FROWNS implementation, and an OpenBabel implementation of the core functions for PostgreSQL. [Pg.173]


See other pages where OpenBabel cansmiles function is mentioned: [Pg.128]   
See also in sourсe #XX -- [ Pg.198 ]




SEARCH



Cansmiles function

Function OpenBabel

OpenBabel

© 2024 chempedia.info