This is a test version of Biostars. For the public version, visit https://www.biostars.org.
merging multiple chromosomes in a single file

I have multiple separated chromosomes (1-22+X) in .pgen .bim .fam extensions (PLINK2 binary). How could I merge all chromosomes in a single .pgen .bim .fam file?

plink gwas prs snp

1 answer

This isn't built into plink2 yet (which is why it is still in alpha testing; --pmerge is the last major function that needs to be completed before beta testing can begin).

A reasonable workaround for now is to export to VCF, use "bcftools concat", and then re-import.

Log in to answer this question.