simplified example1:  removed unused haplotypes and haplotype_filter
flag