Merging bfiles
1
0
Entering edit mode
21 hours 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?

merge fam plink bfile bed • 111 views
ADD COMMENT
0
Entering edit mode
5 hours 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

Login before adding your answer.

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