The selected gene list contained duplicate ids. I'm pretty sure this is the problem. The Category + GOstats code should detect such input errors and give a sensible error message. I will add such checking very soon. + seth