Returns the dice row based on fingeprints passed
A wrapper for joblib.Parallel to allow custom progress bars.
Returns the tanimoto row based on fingeprints passed
Rreturn the SmallMol objects grouped in the cluster. It can also return the details of the clusters computed.
smallmol_list (list) – The list of moleculekit.smallmol.smallmol.SmallMol objects
method (str) – The cluster methods. Can be [‘maccs’, ‘pathFingerprints’, ‘atomsFingerprints’, ‘torsionsFingerprints’, ‘circularFingerprints’, ‘shape’, ‘mcs’]
distThresholds (float) – The disance cutoff for the clusters Default: 0.2
returnDetails (bool) – If True, the cluster details are also returned Default: True
removeHs (bool) – If True, the hydrogens are not considered Default: True
clusters (list) – List of lists, That contains the SmallMol objects grouped based on the cluster belongings
details (list) – A list with all the cluster details
Returns the maximum common substructure and two list of lists. The first one contains for each molecules the atom indexes that are part of the MCS, the second list contains the indexes that are not part of the MCS.
mcs_mol (rdkit.Chem.rdchem.Mol) – The MCS molecule
atom_mcs_list (list) – A list of lists containing the atom indexes that are part of the MCS
atom_no_mcs_list (list) – A list of lists containing the atom indexes that are not part of the MCS