GlpC gene is responsible for biofilm formation and defense against phagocytes and imparts tolerance to pH and organic solvents in Proteus vulgaris.