Merging bfiles
1
0
Entering edit mode
4 weeks ago
aj123 ▴ 120

Hello,

Is there a way to combine two separate sets of bfiles (.bed, .bim and .fam in each set), so that all of the individuals are in a one set of files?

fam plink bfile bed • 289 views
ADD COMMENT
0
Entering edit mode
4 weeks ago
bk11 ★ 3.0k

If you have common set of SNPs between your two set of bfiles (PLINK files), you can use plink --bmerge command to merge them as follows:

plink --bfile first_data --bmerge second_data.bed second_data.bim second_data.fam --allow-no-sex --make-bed --out merged_data
ADD COMMENT
0
Entering edit mode

but it looks like i have SNPs that are not common....what to do in this case?

ADD REPLY

Login before adding your answer.

Traffic: 1548 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