Cofnod E-bost: Quantifying environmental adaptation of metabolic pathways in metagenomics