Big Chemical Encyclopedia

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

Articles Figures Tables About

Smiles to bonds function

The smiles to symbols and smile to bonds functions return arrays of values. In the sample output above, the smiles to bonds output has been truncated for easier viewing. Some client programs may expect this information as separate rows, as if they were records in a file. These arrays may be cast into that form by using a plpgsql function that returns elements of an array as rows. This is shown in the next section. [Pg.131]

If SMILES is used to store molecular structures in a relational database management system(RDBMS), it may be necessary to extract the symbol and bond information for some client programs that expect a connection table. The smiles to symbol and smiles to bonds function shown in the next sections allow the symbol and bond information in a SMILES to be extracted as an array. Some client programs may prefer to process this information in rows, as if they were records in a file. The following plpgsql functions can be used to present the array elements as rows. Two functions are shown ctable (connection table) and symbol coords. The symbol coords function requires an array of coordinates in addition to the symbols. [Pg.173]

Although SMILES is an entirely equivalent way of storing a connection table of atoms and bonds, it is sometimes desirable to create a traditional connection table, for example, when an external program requires it. The extension functions smiles to symbols and smiles to bonds accept a SMILES string and produce an array of either symbols or bonds. These are discussed in a later section of this chapter. Several implementations of these functions are shown in the Appendix. [Pg.125]

Create Or Replace Function frowns.smiles to bonds(smi Text) Returns... [Pg.192]

Create Or Replace Function openbabel.smiles to bonds(smi Text) Returns Integer ] As EOPY import openbabel obc = openbabel.OBConversionO mol = openbabel.OBMol() obc.SetlnAndOutFormats("smi", "mol") if obc.Readstring(mol, smi) bonds = []... [Pg.199]

It would be possible to create tables using columns to store the atomic symbols and bond information found in molecular structure files, reflecting the column style format of the file itself. Instead, a SMILES representation of this valence bond information is preferred. SMILES is a compact text string containing the same information as the columns of atom symbols and bonds. It can also be used directly in the search functions described in earlier chapters. It is desirable to parse the molecular properties in molecular structure files in order to store them in data columns for possible searching... [Pg.124]


See other pages where Smiles to bonds function is mentioned: [Pg.131]    [Pg.324]    [Pg.324]    [Pg.342]    [Pg.534]    [Pg.212]    [Pg.82]    [Pg.6]    [Pg.220]    [Pg.158]    [Pg.212]    [Pg.6]    [Pg.168]    [Pg.235]    [Pg.89]    [Pg.195]    [Pg.259]    [Pg.597]   


SEARCH



Bond functions

© 2024 chempedia.info