added flag for ambiguous base storage
flag allows replace ambiguous bases control