VCFtools filter missing genotypes conditional on a factor (population, species, etc.)
I wonder if it's possible to filter missing genotype values with VCFtools conditional on a factor. As you can see on VCFtools website:
GENOTYPE VALUE FILTERING
--max-missing <float>
But I have a file that contains individuals coming from different populations. I would like to filter missing genotypes per population. As you can see in this image, the titles circled in red are the individuals. The last 3 letters (ful and for) are the species name. I would like this top be my conditional factor.
If VCFtools is not able to do this, how can I execute this?

• 2,656 views
•
link
0 answers
No answers yet.
Log in to answer this question.