convertFormat: Convert Formats

Description Usage Arguments Value Author(s) References See Also Examples

Description

Converts compound data from one format to another.

Usage

1
convertFormat(from, to, source)

Arguments

from

The format that source is in. This should be a string supported by OpenBabel.

to

The format to convert source to.

source

The initial compound format, as a string. The format of the string should be identical to the file format of the same name. Tabs and newlines may be represented with \t and \n, repsectivly.

Value

Returns the compound given in source in the format specified by to.

Author(s)

Kevin Horan

References

OpenBabel http://openbabel.org

See Also

convertFormatFile

Examples

1
	sdfStr = convertFormat("SMI","SDF","CC(=O)OC1=CC=CC=C1C(=O)O\ttest_name")

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