Closed Neo-xbx-00 closed 4 months ago
Hi, I'd like to use bcftools to filter my SNP dataset, and I wonder how bcftools remove samples with large fraction of missing site?
If I understand the query correctly, it is asking how to remove sites with large number of missing genotypes.
Something like this should work:
bcftools view -e 'F_PASS(GT=="mis") > 0.9'
Hi, I'd like to use bcftools to filter my SNP dataset, and I wonder how bcftools remove samples with large fraction of missing site?