Added more support for sam->cmp.h5 pipeline.
Fixed a bug in affine alignment of fasta sequences.