Created
December 12, 2011 20:31
-
-
Save kozo2/1468953 to your computer and use it in GitHub Desktop.
PyPy time test using Uniprot data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Bio import SeqIO | |
uniprot = SeqIO.index("uniprot_sprot.dat", "swiss") | |
handle = open("selected.dat", "w") | |
for acc in ["P33487", "P19801", "P13689", "Q8JZQ5", "Q9TRC7"]: | |
handle.write(uniprot.get_raw(acc)) | |
handle.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment