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

ESM log_likelihood protein stability equivalent in ProteoGAN? #1

Open
avilella opened this issue Jul 8, 2022 · 3 comments
Open

ESM log_likelihood protein stability equivalent in ProteoGAN? #1

avilella opened this issue Jul 8, 2022 · 3 comments

Comments

@avilella
Copy link

avilella commented Jul 8, 2022

Hi, is there a way to calculate ESM's log_likelihood protein stability equivalent in ProteoGAN? Thx in advance.

@timkucera
Copy link
Owner

Hi Albert. Likelihoods are not easily accessible in GANs, and to my knowledge there is no equivalent that has been linked to stability yet. I could imagine that the discriminator output correlates with stability.
But in principle you can of course use ESM's likelihoods on the generated sequences from ProteoGAN.

@avilella
Copy link
Author

I've searched for "discriminator" in the code, and I wonder if there could be a script in this repo that acts similarly to the ESM's log_likelihood script, e.g.:

python3 proteogan/calc_discriminator.py <protein_sequence>

or similar. Would that be possible?

@timkucera
Copy link
Owner

I've added a script here. Note that this uses the pretrained model weights from ProteoGAN, and as such the scores very much depend on the GO term labels. I highly recommend to retrain the model if you have different or no labels.

I should stress again that a correlation between stability and discriminator output has in no way been tested or verified. Nevertheless I'm curious, let me know if you find something interesting.

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