Memory, CPU and disk usage efficient script for calculating LD between SNPs in a region for selected samples in a block gzipped haps file.