This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Merging bfiles

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

1 answer

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

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

Log in to answer this question.