Skip to content

Instantly share code, notes, and snippets.

@kozo2
Created December 12, 2011 20:31
Show Gist options
  • Save kozo2/1468953 to your computer and use it in GitHub Desktop.
Save kozo2/1468953 to your computer and use it in GitHub Desktop.
PyPy time test using Uniprot data
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