done a script to filter haplotype and done generating filtered haplotype