Big Chemical Encyclopedia

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

Articles Figures Tables About

Function FROWNS

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]

FROWNS python modules are used to show a second way in which the core functions might be implemented. The following plpythonu code extends PostgreSQL with most of the core functions described in Chapter 7. The isosmiles and keksmiles functions are not included here because of limitations of FROWNS. [Pg.192]

Create Or Replace Function frowns.valid(smi Text) Returns Boolean As EOPY ... [Pg.192]

Create Or Replace Function frowns.smiles to molfile(smi Text, name Text, coords Numeric ] [] ) Returns Text As EOPY from frowns import Smiles... [Pg.192]

Create Type frowns. named j roperty As (name Text, value Text) Create Or Replace Function frowns.molfile properties(molfile Text) Returns Setof f rowns. named j roperty As EOPY from frowns import MDL import StringlO... [Pg.194]

Create or Replace FUNCTION frowns.contains(Bit, Bit) Returns Boolean As EOSQL ... [Pg.196]

Create Or Replace Function frowns,molfile mol(molfile Text) Returns... [Pg.196]

Assume that the code above is stored in a file named frowns-core.sql. In order to install these functions into a database named mydb, the following linux command would be used. [Pg.197]


See other pages where Function FROWNS is mentioned: [Pg.117]    [Pg.291]    [Pg.79]    [Pg.85]    [Pg.119]    [Pg.119]    [Pg.120]    [Pg.131]    [Pg.191]    [Pg.196]    [Pg.205]   
See also in sourсe #XX -- [ Pg.191 ]




SEARCH



FROWNS

FROWNS matches function

© 2024 chempedia.info