Here, we show that in an in vitro model of cystic fibrosis (CF) containing the polymers extracellular DNA (eDNA) and mucin, O-specific antigen is a major factor determining the formation of two distinct aggregate assembly types of Pseudomonas aeruginosa due to alterations in cell surface hydrophobicity. This evidence concerns the gene MUC5AC and cystic fibrosis.