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

BindingDB: Amino acid sequences and y_pred values #165

Open
jchen634 opened this issue Jul 4, 2023 · 2 comments
Open

BindingDB: Amino acid sequences and y_pred values #165

jchen634 opened this issue Jul 4, 2023 · 2 comments

Comments

@jchen634
Copy link

jchen634 commented Jul 4, 2023

Dear DeepPurpose team,

Thank you so much for providing this powerful tool! I am new to this field and would like to ask some basic questions if you don't mind.
Here, I am trying to predict the binding affinity between the small compound of interest and the short peptide sequence using the Transformer+CNN_BindingDB model.

While, even if I change the input of the amino acid sequence to either very long >100 a.a. or very short, just one amino acid, the y_pred value is always around 5.3~5.7, which is not a significant difference. The output is pKd, correct? If yes, then the bin
Also, I have changed the y value, but it does not affect the y_pred at all. Is it normal, and what is the function of y here?

Thank you in advance.
image

@kexinhuang12345
Copy link
Owner

Hi thanks for the question, I think it is likely that random sequence is OOD for the bindingdb dataset, so it just gives me some random/average pK score. yeah, y is for when the ground truth is available to calculate metrics. It will not change the predictions. by the way, in the screenshot, you are using DeepDTA model which is CNN+CNN.

@jchen634
Copy link
Author

jchen634 commented Jul 5, 2023

Hi Kexin,

Thank you so much for the explanation and clarification.
I just copied the code from DEMO/Transformer+CNN_BindingDB.ipynb, and added the last cell for prediction. I am sorry if I used it wrong.
https://github.com/kexinhuang12345/DeepPurpose/blob/master/DEMO/Transformer%2BCNN_BindingDB.ipynb

I was wondering if you have any suggestions on the prediction of the binding between small compounds and peptides, since most of the models I found are for proteins.

Many Thanks,
JC

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

2 participants