In-house Java code calling the respective CDK and OCL libraries and python scripts based on RDKit were used for the substructure calculations . To ensure that the substructure atom-by-atom-search (ABAS) graph based subroutines were implemented correctly, the code was tested using the query and SMILES set mentioned in the RDKit manual. The SMILES structure used to test the