Skip to content

Commit

Permalink
updated functions that use RdkitGridFeaturizer
Browse files Browse the repository at this point in the history
  • Loading branch information
marta-sd committed Nov 2, 2017
1 parent 7b1f650 commit 2347bb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions deepchem/dock/pose_scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,8 @@ def __init__(self, model, feat="grid"):
if feat == "grid":
self.featurizer = RdkitGridFeaturizer(
voxel_width=16.0,
feature_types="voxel_combined",
# TODO(rbharath, enf): Figure out why pi_stack is slow and cation_pi
# causes segfaults.
#voxel_feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
#"salt_bridge"], ecfp_power=9, splif_power=9,
voxel_feature_types=["ecfp", "splif", "hbond", "salt_bridge"],
feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
"salt_bridge"],
ecfp_power=9,
splif_power=9,
parallel=True,
Expand Down
8 changes: 2 additions & 6 deletions examples/pdbbind/pdbbind_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,8 @@ def featurize_pdbbind(data_dir=None, feat="grid", subset="core"):
if feat == "grid":
featurizer = dc.feat.RdkitGridFeaturizer(
voxel_width=16.0,
feature_types="voxel_combined",
# TODO(rbharath, enf, leswing): Figure out why pi_stack and cation_pi
# reduce validation performance
# voxel_feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
# "salt_bridge"], ecfp_power=9, splif_power=9,
voxel_feature_types=["ecfp", "splif", "hbond", "salt_bridge"],
feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
"salt_bridge"],
ecfp_power=9,
splif_power=9,
parallel=True,
Expand Down

0 comments on commit 2347bb5

Please sign in to comment.