bgen files split by chromosome
0
0
Entering edit mode
3.2 years ago
ravibot ▴ 10

Hello,

I currently have bgen files split by chromosome and would like to combine them into one file so I could run QC in plink. Does anyone have any suggestions on how to do this?

Thanks in advance!

plink bgen qc snp genome • 1.4k views
ADD COMMENT
1
Entering edit mode

For now, you can use plink2 to convert the per-chromosome .bgen files to BCF, use bcftools concat to concatenate the BCFs, and then feed that concatenated BCF to plink2.

plink2 will soon have a --pmerge-list command that'll get the job done faster.

ADD REPLY

Login before adding your answer.

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