New lecture notes on sequence analysis