It worked. I used the command
bcftools convert --hapsample --vcf-ids file.vcf -o output
Thanks.
• 1 views
•
link
I have a phased genotype VCF file(i.e haplotype in vcf format). I am interested only in the haplotypes that are there in phased vcf file. Please help or suggest some other way to do it.
Hello siddazra,
does bcftools convert with the --hapsample option do what you want?
Other solution is mention in this thread.
fin swimmer
Log in to answer this question.
what kind of output do you need ?
I want it in standard haplotype format (.hap)