XuhanLiu / DrugEx

Deep learning toolkit for Drug Design with Pareto-based Multi-Objective optimization in Polypharmacology
MIT License
189 stars 66 forks source link

No such file or directory: 'data/LIGAND_RAW.tsv' #23

Open amiloudij opened 1 year ago

amiloudij commented 1 year ago

how to handle that?

martin-sicho commented 1 year ago

Hi, unfortunately the file is missing from the repository it seems. However, note that there is now an improved and self-contained version of DrugEx available here: https://github.com/CDDLeiden/DrugEx If you are still looking for this file specifically, I can also provide it.

@XuhanLiu Do you think you could link to the new repository also in the README.md? Perhaps something along the lines: "This project was now upgraded to an installable package with tutorials and test data. You can find it here: https://github.com/CDDLeiden/DrugEx" Many thanks!

amiloudij commented 1 year ago

Can you provide it to me. I am trying to re do it fom scratch and provide bew algorithms may be. I am preparing a thesis. Thank you

martin-sicho commented 1 year ago

@amiloudij We have versions of some old files here. The names are a bit mangled, but you should be able to find the file you are looking for in the data folder. You just need to rename it.

amiloudij commented 1 year ago

'data/ligand_mf_brics.txt ERROR....no such file or directory

amiloudij commented 1 year ago

@amiloudij We have versions of some old files here. The names are a bit mangled, but you should be able to find the file you are looking for in the data folder. You just need to rename it.

'data/ligand_mf_brics.txt ERROR....no such file or directory

martin-sicho commented 1 year ago

This file should get generated if the processing of LIGAND_RAW.txt went fine. Can you check the files you have in data? You can follow the code here to check what to look for: https://github.com/XuhanLiu/DrugEx/blob/master/dataset.py

It is possible there is an error in the names of the files here: https://github.com/XuhanLiu/DrugEx/blob/master/train_graph.py So you might need to edit them.

amiloudij commented 1 year ago

I dont have the file voc_ atom.txt

martin-sicho commented 1 year ago

This one should be fine to use as well: https://github.com/CDDLeiden/DrugEx/blob/master/testing/clitest/data/voc_graph.txt

martin-sicho commented 1 year ago

By the way, if you are planning to add new algorithms and do not need to reproduce the experiments from the original paper exactly, I would really recommend the new packaged version again. It is more user friendly and also extensible. If you are willing to contribute your implementation to open source, we would love to help you get started with it as well.

amiloudij commented 1 year ago

I see that you are using a file named voc_atom.txt in the code and we dont have it in the repo.

martin-sicho commented 1 year ago

I see that you are using a file named voc_atom.txt in the code and we dont have it in the repo.

You can see the one I mention here:

This one should be fine to use as well: https://github.com/CDDLeiden/DrugEx/blob/master/testing/clitest/data/voc_graph.txt

Just rename it.

amiloudij commented 1 year ago

@martin-sicho Yes I want to contribute with you. What kind of help can you help me?

martin-sicho commented 1 year ago

I you want to use the updated repo, you can get all basic information with the tutorial: https://github.com/CDDLeiden/DrugEx/tree/master/tutorial We are still improving and updating it, but if you want to use the graph-based transformer or the RNN, you should be covered for most applications. The Python API already offers some customization, but if you want to modify the models a very specific way or add your own, let us know on the issue tracker and we can suggest how to approach it. For more info there is a README and documentation.