discusses approximate and exact tests for GO enrichment/depletion, the associated p-value computations, and Table 1 contains over 20 GO tools packages.
Bioinformatics 2007 23(4):401-407
http://bioinformatics.oxfordjournals.org/cgi/content/full/23/4/401