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

Get gene embedding for gene similarity using TransformerGO #1

Open
hoangthienan95 opened this issue Apr 14, 2022 · 1 comment
Open

Comments

@hoangthienan95
Copy link

Hi there,

Thank you for the really interesting paper and model. I'm working through the paper and repo, so I apologize if the answer to my question is really obvious and I have missed it. I have a custom gene-to-GO annotations. How can I use TransformerGO to get an embedding of genes based on their GO annotation to do analysis on gene similarity based on GO annotations? Which resource should I look at first?

Thank you!

@Ieremie
Copy link
Owner

Ieremie commented Sep 10, 2022

I'm so sorry, I'm seeing this just now.

What you want to do is to first embed the GO terms using the node2vec framework. If you are using a new version of the Gene Ontology graph you might want to train node2vec again.

You can then use one of the trained models to do the predictions or train a new one on the new embeddings.

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