prepHaplotFiles function

Extracts haplotype from alignment reads.