• The bacterial genes involved in stress response showed significant enrichment after exposure to TCS.• High enrichment of metal resistome in the gut microbiota, which is related to a reduced effectiveness of infection treatment. The gene discussed is TCOF1; the disease is infection.