Molecular analysis of arsenic detoxification mechanisms in unculturable bacteria by functional metagenomics