Featurize
Class to convert SMILES to Morgan fingerprints
FeaturizeResult(items, skipped=dict())
¶
Dataclass holding the results of a featurization pass.
MorganFeaturizer(radius=2, fp_size=2048)
¶
Class to convert SMILES to Morgan fingerprints.
| PARAMETER | DESCRIPTION |
|---|---|
radius
|
Morgan radius to use . Default is 2 which is ECFP4.
TYPE:
|
fp_size
|
Fingerprint length in bits.
TYPE:
|
fp_size = fp_size
¶
radius = radius
¶
featurize(raw)
¶
Featurize a batch of SMILES keyed by their compound id.
| PARAMETER | DESCRIPTION |
|---|---|
raw
|
dictionary of compound id as key and their SMILES as value.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
FeaturizeResult
|
A |