In our study, the factors associated with bacterial infection were ascites (P=0.017, OR=4.56), hepatic encephalopathy (P=0.032; OR=3.58), diffuse abdominal pain (P=0.017; OR=2.87), a prothrombin level below 25% (P=0.002; OR=9.67) and a high Meld score (P=0.038; OR=0.93). The gene discussed is F2; the disease is Ascites.