alphafold_pytorch icon indicating copy to clipboard operation
alphafold_pytorch copied to clipboard

How can I get the pkl file?

Open ibr1996 opened this issue 4 years ago • 4 comments

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?

ibr1996 avatar Jan 12 '21 17:01 ibr1996

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.

LeopoldWizard avatar Jan 21 '21 15:01 LeopoldWizard

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

ibr1996 avatar Jan 22 '21 16:01 ibr1996

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

yuxulingche avatar Oct 09 '21 10:10 yuxulingche

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

elephantpanda avatar Nov 02 '23 04:11 elephantpanda