How do I perform MAF analysis for each family separately in PLINK?

119 Views Asked by At

I have a ped and a map file with 90 populations, and I wish to perform a MAF filter on each of those populations separately, using PLINK. The final output could be individual outputs for each family or in the best scenario, a dataset with the variants remaining (or excluded) from each of the families.

Should I first split the map and ped files in 90 other map and ped files (one for each family) and then execute the PLINK command for each of the populations? Or is there a way for PLINK to do both of these steps at once?

Thanks in advance!

1

There are 1 best solutions below

0
Alana On

Solved: using the commands --freq --family, created the table just like I needed. Now I just have to filter it based on the column "MAF".