The consensus sequence records the most frequent base in each column.

highlighted = computed this step

Pick the most frequent base per column

The consensus string chooses the most frequent base in each aligned column, breaking ties by alphabet order.

consensus=column-wise maximum\text{consensus}=\text{column-wise maximum}
Consensus by columnEach consensus base is the most frequent base in its column.PositionConsensus baseFrequency1A12C3/43G14T3/4

The consensus is ACGT

For these aligned instances, the consensus string is ACGT.

consensus=ACGT\text{consensus}=\text{ACGT}
Consensus by columnEach consensus base is the most frequent base in its column.PositionConsensus baseFrequency1A12C3/43G14T3/4