Binary search function (FBS) |
Searches target item in the given list. Implemented to ensure no duplicate macrocycles are generated |
Descriptor computing function (FDC) |
Computes six molecular descriptors for the input compound via RDKit library: Molecular Weight—MW, Hydrophobicity—SlogP, Hydrogen Bond Acceptors—HBA, Hydrogen Bond Donors—HBD, Topological Polar Surface Area—TPSA, and Rotatable Bonds—NRB |
Length pair function (FLP) |
Generates all possible common and rare SM length arrangements based on total number of SMs allowed in the program. This method is reliant on parameters 1, 2, 3, 4, 5, 6 and 7 in the building rules. The length pairs returned are sorted based on ascending number of either common or rare structural motifs (7th parameter). Default prioritizes CSMs, i.e. length pairs are sorted based on ascending lengths of rare SMs, thereby prioritizing CSMs in the macrocycles. In each length pair, the number of CSMs are noted as LC and RSMs as LR. Their sum provides the total number of SMs per macrocycle |
Combination function (FC) |
Generates all different combinations of SMs per input length |