Closed
Description
Hi,
I have a concern using some filtering expressions with bcftools view (version 1.9). Let say I have 5 individuals and one is missing : GT 0/0 ./. 0/1 0/0 0/0
.
I want to filter based on missingness >=20% so the the example above should be filtered.
When I use the F_MISSING :
bcftools view -e "F_MISSING>=0.2" test.vcf
: the site is not filtered
bcftools view -e "F_MISSING=>1/5" test.vcf
: the site is filtered
It is the same using F_PASS :
bcftools view -e 'F_PASS(GT=="mis")>=0.2' test.vcf
: the site is not filtered
bcftools view -e 'F_PASS(GT=="mis")>=1/5' test.vcf
: the site is filtered
I wonder why 0.2 and 1/5 have not the same behaviour.
Best,
Metadata
Metadata
Assignees
Labels
No labels
Activity