merging multiple chromosomes in a single file
1
0
Entering edit mode
2.2 years ago
bigfoot ▴ 10

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 • 2.0k views
ADD COMMENT
2
Entering edit mode
2.2 years ago

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.

ADD COMMENT

Login before adding your answer.

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