Look at Adam's script to see where go term enrichment step can be sped up. https://rt.sanger.ac.uk/Ticket/Display.html?id=632737