Accomodate special case of '.' for dumb_consensus

Convert ‘.’ into ‘%’ in input strings using regular expression