Skip to content

Commit

Permalink
do not use aromatic interactions is pose scoring and examples
Browse files Browse the repository at this point in the history
(they require sanitized molecules to work correctly)
  • Loading branch information
marta-sd committed Nov 2, 2017
1 parent 8ffc36f commit 1ae9bc9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions deepchem/dock/pose_scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ def __init__(self, model, feat="grid"):
if feat == "grid":
self.featurizer = RdkitGridFeaturizer(
voxel_width=16.0,
feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
"salt_bridge"],
# TODO: add pi_stack and cation_pi to feature_types (it's not trivial
# because they require sanitized molecules)
# feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
# "salt_bridge"],
feature_types=["ecfp", "splif", "hbond", "salt_bridge"],
ecfp_power=9,
splif_power=9,
parallel=True,
flatten=True)
else:
raise ValueError("feat not defined.")
Expand Down
8 changes: 5 additions & 3 deletions examples/pdbbind/pdbbind_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ def featurize_pdbbind(data_dir=None, feat="grid", subset="core"):
if feat == "grid":
featurizer = dc.feat.RdkitGridFeaturizer(
voxel_width=16.0,
feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
"salt_bridge"],
# TODO: add pi_stack and cation_pi to feature_types (it's not trivial
# because they require sanitized molecules)
# feature_types=["ecfp", "splif", "hbond", "pi_stack", "cation_pi",
# "salt_bridge"],
feature_types=["ecfp", "splif", "hbond", "salt_bridge"],
ecfp_power=9,
splif_power=9,
parallel=True,
flatten=True)
elif feat == "coord":
neighbor_cutoff = 4
Expand Down

0 comments on commit 1ae9bc9

Please sign in to comment.