In the present study, we performed genetic association studies in two different cohorts of susceptible patients [cystic fibrosis (CF) patients and recipients of hematopoietic stem cell transplantation (HSCT)], and identified IDO1 polymorphisms that associate with the risk of infection in both cohorts. This evidence concerns the gene IDO1 and cystic fibrosis.