Shannon's entropy is a quantitative measure of uncertainty in a data set.In most instances it is possible to calculate the entropy scores for a multiple sequence alignment(MSA). What i would like to understand is how to take care of the gaps and how to perform a correction in case of gaps in the MSA. Does it matter?(i think it does) how do you interpret the scores in the presence of gaps?
with the function from Valdar, you can also take in account the stereochemical nature of amino acids.