How to make bed file for existing bim and fam file
1
0
Entering edit mode
7.6 years ago
Mazza ▴ 40

Hi every one. I had 22 different sets of bfiles each for each chromosome. I needed to aggregate them so I sued "cat" command for all .bim files and I created the aggregated .bim file. Then just use one of the .fam files since all of them are the same. But I do not know how to create the .bed file from the .fam and .bim file that I have since to create raw data I need them all.

Please help me with this since I really am in problem.

bed bim fam plink • 5.0k views
ADD COMMENT
3
Entering edit mode
7.6 years ago

Use plink with the --merge-list option.

plink --bfile Input-chr1 --merge-list List.txt --make-bed --out New-Output

List.txt :

Input-chr2.bed Input-chr2.bim Input-chr2.fam

Input-chr3.bed Input-chr3.bim Input-chr3.fam

...

ADD COMMENT

Login before adding your answer.

Traffic: 1768 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6