added recodeGenotypes which maps numerical genotypes to ref/alt nucelotides