gcorso/DiffDock

Installation issue

SaveenaSolanki opened this issue · 4 comments

After creating environment and all the dependencies the final command line python3 -m inference.py --config default_inference_args.yaml --protein_ligand_csv data/protein_ligand_example_csv.csv --out_dir results/user_predictions_small

give error terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)

any solution for this ?

one more thing if we have multiple ligand for single PDB how to smoothly run for those?

It'd be nice to get a full traceback, not just the last error that you've encountered.

We changed the name of the example CSV and forgot to update the README, that has now been updated. The correct command is:

python3 -m inference --config default_inference_args.yaml --protein_ligand_csv data/protein_ligand_example.csv --out_dir results/user_predictions_small

For multiple ligands, you could create a CSV with the same PDB repeated across multiple rows and different ligand files. If you mean multiple ligands at the same time, you'd need to combine them into one SDF file.

ok. what why it was killed it was working before the update and then after not anymore, I was not sure, I almost gave up. I will reinstall the things