bed_to_gen.pl: Converts between a single bed to zipped .gen and .sample files for each chromosome, ready for imputation