Skip to contents

Parse molecules from SDF/MOL text block.

Usage

parse_sdf(string)

Arguments

string

A SDF/MOL text block string.

Examples

if (FALSE) { # is_installed_rdkit()
str_single <- readr::read_file(tidychem_example("single.mol"))
str_multiple <- readr::read_file(tidychem_example("5ht3ligs.sdf"))

parse_sdf(str_single)
parse_sdf(str_multiple)
}