Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some question for RdkitGridFeaturizer.featurize input #3971

Open
ErikZhang-9762 opened this issue May 11, 2024 · 1 comment
Open

some question for RdkitGridFeaturizer.featurize input #3971

ErikZhang-9762 opened this issue May 11, 2024 · 1 comment

Comments

@ErikZhang-9762
Copy link

ErikZhang-9762 commented May 11, 2024

❓ Questions & Help

I would like to use RdkitGridFeaturizer to characterise protein-small molecule complexes,

But I have some questions about the inputs to RdkitGridFeaturizer.featurize

Can I use the file paths of protein and ligand as inputs?

for example:
import deepchem as dc
featurizer = dc.feat.RdkitGridFeaturizer()
lig = 'ligand.sdf'
pro = 'protein.pdb'
featurizer.featurize([(lig, pro)])
output:
Failed to featurize datapoint 0.

What should I do?
Any help offered is appreciated!

@ErikZhang-9762
Copy link
Author

I solved the problem.

The reason is that openmm and pdbfixer are not installed.

deepchem.utils.rdkit_utils.load_complex failed, but no any hints.

The following command fixes it:

mamba -c conda-forge openmm pdbfixer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant