Handling degenerate nucleotides