BAGEL: a computational framework for identifying essential genes from pooled library screens