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 can I get the pkl file? #17

Open
ibr1996 opened this issue Jan 12, 2021 · 4 comments
Open

How can I get the pkl file? #17

ibr1996 opened this issue Jan 12, 2021 · 4 comments

Comments

@ibr1996
Copy link

ibr1996 commented Jan 12, 2021

Hi, in order to run a prediction for other target using the alphafold.sh script, I need as input a pkl file, how can I get it?

@LeopoldWizard
Copy link

You can look for your aminoacid sequence in any protein repository (such as UniProt) to get a FASTA format file such as: https://www.uniprot.org/uniprot/P07724.fasta. Download and write it to a file named "protein_name.seq". Then that is the ".seq" file you need as input for alphafold.sh to generate a ".pkl" file, which is the input for alphafold.py, not for alphafold.sh.

@ibr1996
Copy link
Author

ibr1996 commented Jan 22, 2021

Thanks for your reply, but, the script feature.sh just give me a .npy file, no .pkl o .tfrec file is generated, but it seems like the alphafold script accept a .npy file

@yuxulingche
Copy link

I have the same doubt, I want to know how to generate .pkl and .tfrec file, thanks.

@elephantpanda
Copy link

elephantpanda commented Nov 2, 2023

You can look for your aminoacid sequence in any protein repository (such as UniProt) to get a FASTA format file such as: https://www.uniprot.org/uniprot/P07724.fasta. Download and write it to a file named "protein_name.seq". Then that is the ".seq" file you need as input for alphafold.sh to generate a ".pkl" file, which is the input for alphafold.py, not for alphafold.sh.

Hi @LeopoldWizard I am currently implementing this in Unity. What I am lacking is a few very small examples of the order about 64-100 amino acids. I am looking for someone who has managed to generate any pkl files. Or even have a Google Colab running that can run the feature.sh file to generate more examples. I have got everything else working, it's just generating the pkl files which has me stumped. Any help would be welcome thanks!

My colab code so far: https://colab.research.google.com/drive/16cFl10rETmCXTdeq91sdqE81IROiEQQY?usp=sharing

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

4 participants