SNP binning script