Remove nucleotide ambiguities from a file