do basic QC (min call rate, exclude monomorphic/rare variants)
create job submission script using job array
incorporate allele flipping