bcftools filtering only 10% missing genotype
Hello everyone,
I would like to keep only 90% of my missing genotype on all my samples. I used this option of bcftools :
bcftools view -g ^miss variants.vcf.gz -Oz -o filtered_variants.vcf.gz
When I use this option my variant it's deleted for all the samples. I know it's possible to use regular expressions in bcftools, but I'm a little confused.
Thank you very much.
• 15,335 views
•
link
1 answer
bcftools view -i 'F_MISSING<0.1' in.vcf
• 0 views
•
link
Log in to answer this question.
I've edited your post to a Question. The post type Tool is to advertise a new tool, not to ask questions about using tools.
Thank you Emily ! My mistake