ah.. plink2!
• 0 views
•
link
Is it possible to reorder samples in a PLINK dataset, per an order specified in a second file?
I've tried the --keep and --recode options, but they don't do it
plink --bfile [original fileset] --indiv-sort f [file describing new order] --make-bed --out [new prefix]
(More discussion at https://www.cog-genomics.org/plink2/data#indiv_sort .)
ah.. plink2!
Log in to answer this question.
Interesting to know why would you need them to be ordered?
Some programs like PREST-plus need the data to be sorted by FID/IID to run properly.