```{eval-rst} .. _scaffolds: ``` # Scaffolds `pdbeccdutils` helps to search for scaffolds of small molecules in PDB using RDKit. Presently, the following scaffold identification methods from RDKit are supported: `MurckoScaffold`, `MurckoGeneric`, `Brics` ```python from pdbeccdutils.core import ccd_reader from pdbeccdutils.core.models import ScaffoldingMethod from rdkit.Chem import Draw component = ccd_reader.read_pdb_cif_file('CVV.cif').component scaffolds = component.get_scaffolds(scaffolding_method=ScaffoldingMethod.Brics) img = Draw.MolsToGridImage(scaffolds, legends = [f"scaffold {i}" for i in range(1, len(scaffolds)+1)]) img ```