rdkit.Chem.Scaffolds.rdScaffoldNetwork module¶
Module containing functions for creating a Scaffold Network
- class rdkit.Chem.Scaffolds.rdScaffoldNetwork.EdgeType(*values)¶
Bases:
Enum- Fragment = 1¶
- Generic = 2¶
- GenericBond = 3¶
- Initialize = 5¶
- RemoveAttachment = 4¶
- class rdkit.Chem.Scaffolds.rdScaffoldNetwork.NetworkEdge¶
Bases:
object- property beginIdx¶
index of the begin node in node list
- property endIdx¶
index of the end node in node list
- property type¶
type of the edge
- class rdkit.Chem.Scaffolds.rdScaffoldNetwork.ScaffoldNetwork(self)¶
- class rdkit.Chem.Scaffolds.rdScaffoldNetwork.ScaffoldNetwork(self, pkl: bytes)
- class rdkit.Chem.Scaffolds.rdScaffoldNetwork.ScaffoldNetwork(self, pkl: str)
Bases:
objectOverloaded function.
__init__(self) -> None
Default constructor
__init__(self, pkl: bytes) -> None__init__(self, pkl: str) -> None
- property counts¶
the number of times each node was encountered while building the network.
- property edges¶
the sequence of network edges
- property molCounts¶
the number of moleclues each node was found in.
- property nodes¶
the sequence of SMILES defining the nodes
- class rdkit.Chem.Scaffolds.rdScaffoldNetwork.ScaffoldNetworkParams(self)¶
- class rdkit.Chem.Scaffolds.rdScaffoldNetwork.ScaffoldNetworkParams(self, bondBreakerSmartsList: collections.abc.Sequence[str])
Bases:
objectOverloaded function.
__init__(self) -> None
Default constructor
__init__(self, bondBreakerSmartsList: collections.abc.Sequence[str]) -> None
Constructor taking a list of Reaction SMARTS for the fragmentation reactions
- property collectMolCounts¶
keep track of the number of molecules each scaffold was found in
- property flattenChirality¶
remove chirality and bond stereo when flattening
- property flattenIsotopes¶
remove isotopes when flattening
- property flattenKeepLargest¶
keep only the largest fragment when doing flattening
- property includeGenericBondScaffolds¶
include scaffolds with all bonds replaced by single bonds
- property includeGenericScaffolds¶
include scaffolds with all atoms replaced by dummies
- property includeNames¶
Include molecules names of the input molecules
- property includeScaffoldsWithAttachments¶
Include the version of the scaffold with attachment points
- property includeScaffoldsWithoutAttachments¶
remove attachment points from scaffolds and include the result
- property keepOnlyFirstFragment¶
keep only the first fragment from the bond breaking rule
- property pruneBeforeFragmenting¶
Do a pruning/flattening step before starting fragmenting