Toward molecular trait-based ecology through integration of biogeochemical, geographical and metagenomic data