find consensus sequence