Data and code availability
The stool frequency GWAS meta-analysis summary statistics have been deposited in the GWAS Catalog (https://www.ebi.ac.uk/gwas/) with the study accession ID GCST90002250. Stool frequency PGS is deposited in the PGS Catalog (https://www.pgscatalog.org/), under an ID associated with the publication. Publicly available analysis software and code were used as described in the method details.