Bacterial community assembly based on functional genes rather than species