Check this out. Phred's tutorial