chapmanb/bcbio-nextgen — pull request #660 by jwm (2014-11-13 15:43:43+00:00)
Title: Import pybedtools only when it's used

pybedtools does something on initialization that takes ~2.5s, which makes bcbio_vm.py noticably slow for simple operations, like getting command line usage.

Along with 18601cec that I already pushed to bcbio-nextgen-vm, this patch cuts bcbio_vm.py execution time for simple operations from ~5s to ~2.5s.