Entering edit mode
21 months ago
anasjamshed
▴
140
I have a file named trio_example.vcf and it contains 3 samples I am trying to follow the command to split the male and female sample out as I assume that all males are 0/1 and all females are 0/0.
bcftools view -f PASS -i 'GT~"0/0.*0/1.*0/1.*0/1.*0/1"' trio_example.vcf
But it does not work?After samples I want to use intersect command