Mathematics of Genome Analysis