Hello,
I am trying to merge multiple bed bim fam files (each chromosome has separate file) into one file.
plink --allow-no-sex --bfile XX.chr1 --merge-list mylist.txt --make-bed --out XX.ch1-22
This does not work.
mylist.txt contains:
XX.chr2.bed XX.chr2.bim XX.chr2.fam
XX.chr3.bed XX.chr3.bim XX.chr3.fam
XX.chr4.bed XX.chr4.bim XX.chr4.fam
...
XX.chr22.bed XX.chr22.bim XX.chr22.fam
Thank you in advance!
Is plink giving you an error? Otherwise, please define "does not work".
Yes, it says that "cannot open the file XX.chr2.fam". What would you think is wrong?
Does that file exist?
Yes. I changed the txt file to csv file, but it still says "Error: Failed to open XX.chr2.fam."
Message is as below... What would you think is wrong??
@khn How did you solve this problem? I am also new to plink. I am facing the same problem. How can we merge multiple binary files of different chromosomes using plink?
I have a similar trouble, but it seems to be different.
After conduct of command described in this page,
were generated, and no
XX.ch1-22-merge.bed
XX.ch1-22-merge.bim
.Is there any solutions?