Merging more than two files with plink
I am trying to merge seven bed/bim/fam files in plink using the following code: Plink —bfile chr2 —merge-list all_files.txt —make-bed —out merged
The (all_files.txt): chr3.bed chr3.bim chr3.fam chr9.bed chr9.bim chr9.fam chr12.bed chr12.bim chr12.fam chr15.bed chr15.bim chr15.fam chr16.bed chr16.bim chr16.fam chr17.bed chr17.bim chr17.fam
However, it gives me this error: unrecognized flag (—merge-list). Any help please?
• 1,181 views
•
link
1 answer
- Please post the full .log file (including the version string) when asking a question like this, rather than just the final error message.
- My guess is that you are running an old plink 2.0 build. Either update your build (in which case it will at least print a different error message instructing you to use --pmerge-list), or use plink 1.9 for this operation.
• 0 views
•
link
Log in to answer this question.