Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Created January 7, 2015 15:36
Show Gist options
  • Save terrycojones/2a597c1facffbca5bdd7 to your computer and use it in GitHub Desktop.
Save terrycojones/2a597c1facffbca5bdd7 to your computer and use it in GitHub Desktop.
python -m cProfile -o /tmp/new.prof bin/find-matches.py --database light.db --fastaFile query.fa > query.out
#!/usr/bin/env python
import sys
from pstats import Stats
p = Stats(sys.argv[1])
#p.strip_dirs().sort_stats('cumulative').print_stats()
p.sort_stats('cumulative').print_stats()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment