Entering edit mode
7.9 years ago
beausoleilmo
▴
600
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?