Skip to contents

Find matches to a given molecule using a SMARTs pattern.

Usage

match_smarts(smarts, mol, limit = 10)

Arguments

smarts

a SMARTS string

mol

a CDK IAtomContainer or a java.util.Arraylist of them

limit

limit of the number of matches

Value

a hashset of atoms and bonds