Clever solution, although this would miss any "private doubletons" in the dataset.
remove private alleles from a vcf file
Hello
is there an inbuild way to remove singletons from a vcf file? I would just really need to use vcf tools to just exclude them from the vcf file and than recode it into a new vcf file without the singleton variants.
The problem is that --singletons only uses the positions fo the singletons
• 5,269 views
•
link
2 answers
vcflib has a tool called vcffilter that can be used to do what you are asking.
• 0 views
•
link
Log in to answer this question.
Could you use the output of --singletons as an input file for vcftools --positions option?