Nucleotide fasta files sometimes encode ambiguous bases simply with an 'N'.
Many downstream tools support this but don't support the full set of IUPAC ambiguity codes
The unix tool tr can be used to get rid of these.
tr 'RYSWKMBDHV' 'N' < input.fasta