AndMastro / protein-ligand-GNN

This repository contains the code for the work on protein-ligand interaction with GNNs and XAI
GNU General Public License v3.0
33 stars 4 forks source link

Request for the scripts of generating graph.json file #3

Closed xuelianl closed 6 months ago

xuelianl commented 7 months ago

Hello, Thank you so much for this public available repo. I want to train or test these models on my structures. However, there is no script for generating the input files (i.e., the protein, ligand, and interaction_graph.json) for training or testing. Could you kindly provide the scripts to generate these files? Thanks! Li

AndMastro commented 6 months ago

Thank you for reaching out! The input files provided in the link in the readme were downloaded from the mentioned link and not generated by us. The processing done for the generation of such files can be found in the paper by the authors of the data: https://pubs.acs.org/doi/abs/10.1021/acs.jmedchem.2c00487.

Once you have your own data in the same format, you can use them with our code 😁

xuelianl commented 6 months ago

Once you have your own data in the same format, you can use them with our code

Indeed, I have encoded my data in the same format, and it runs successfully. However, I have noticed some variations in details such as the number of edges and nodes, and I am uncertain about the potential impact on performance. Nevertheless, I sincerely appreciate your response!