This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Plink. How to create small .ped file from big .ped file?

Hello, let's say I have a huge ped/map file from 2500 individuals and I would like to create a smaller .ped file for 50 specific individuals. How to do it?. I have a list.txt file with the IDs of the 50 individuals. Many thanks

plink

1 answer

plink --file [input filename prefix] --keep list.txt --recode --out [output filename prefix]

Log in to answer this question.