sdf2smiles: 'SDFset' to 'character' Convert 'SDFset' to SMILES...

Description Usage Arguments Value Author(s) References Examples

Description

Accepts compounds in an SDFset container and returns the corresponding SMILES (Simplified Molecular Input Line Entry Specification) strings as SMIset object. If ChemineOB is available then OpenBabel for the format conversion. Otherwise the compound is submitted to the ChemMine Tools web service for conversion with the Open Babel Open Source Chemistry Toolbox. If the input object contains multiple items, only the first is converted.

Usage

1
	sdf2smiles(sdf)

Arguments

sdf

A SDFset object which containing the given compounds

Value

character

for details see ?"character"

Author(s)

Tyler Backman, Kevin Horan

References

Chemmine web service: http://chemmine.ucr.edu

Open Babel: http://openbabel.org

SMILES Format: http://en.wikipedia.org/wiki/Chemical_file_format#SMILES

Examples

1
2
3
4
5
6
7
8
## Not run: 
## get a sample compound
data(sdfsample); sdfset <- sdfsample[1]
## convert to smiles
(smiles <- sdf2smiles(sdfset))
as.character(smiles)

## End(Not run)

girke-lab/ChemmineR-release documentation built on May 17, 2019, 5:26 a.m.