BALSA allows multiple matrices and gap parameters to be input, returning the posterior distribution over all selected parameters, P(Θ, Λ │ R(1), R(2)). Four matrix gap parameter pairs, BLOSUM matrix/λo/λe, were chosen based on their performance on sample data: (i) 45/–12/–1, (ii) 50/–12/–2, (iii) 62/–10/–1 and (iv) 62/–12/–1. This histogram of the exact posterior distribution probabilities demonstrates that the selection of scoring matrix and gap parameters is highly dependent upon the given sequences.