generate csv of all genotypes as an intermediate format before phase file.