You can also use a swarm or a bloom for bacteria, particularly when referring to a large and dense population.