Introduction to sequence analysis