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

How to I get the embeddings for a list of sequences? #30

Open
ajrferrari opened this issue May 4, 2023 · 2 comments
Open

How to I get the embeddings for a list of sequences? #30

ajrferrari opened this issue May 4, 2023 · 2 comments

Comments

@ajrferrari
Copy link

ajrferrari commented May 4, 2023

Hi, sorry if this is obvious from what is available on the code or at the jupyter notebook, but I could work out through it.

How do I get the embeddings from thousands of protein sequences efficiently? I saw there is a function ".get_rep(self, seq)" that returns the vector of interest for one sequence, but it's very inefficient to iterate over that for thousands of sequences.

Thanks,
Állan

@RaphaelBouvet
Copy link

You can use the jax reimplementation of unirep, it is faster than the original implementation
https://github.com/ElArkk/jax-unirep

@jlotthammer
Copy link

@RaphaelBouvet are the JAX sequence embeddings equivalent to the original model?

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

3 participants