a script to remove indels before changing ancestral alleles