Text: Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids

A very good set of lecture notes from Ron Shamir at Tel Aviv University can be found here. Chapters 2 and 5 are especially relevant.